In Praise of Falling Short
There is a provocation buried inside every AI-generated song: that what we thought we were chasing in music was never actually what we wanted. The AI does everything correctly....
Filter by Category
There is a provocation buried inside every AI-generated song: that what we thought we were chasing in music was never actually what we wanted. The AI does everything correctly....
Members of founding teams have different roles to play. Still, regardless of their area of expertise, every entrepreneur will one day find themselves in that desperate position...
The only thing Nigerians can all agree on is that the country has many many problems. Most of these problems have simple solutions, but they are hard to solve because Nigerians as...
The crypto market is a wild place, and given how young the industry is and how I’m about 5 years into it, I can claim veteran status and opine somewhat authoritatively. I have...
If you grew up in Nigeria or spent any extended time anywhere there, you’ll eventually be desensitized to absurdities. Following the abduction of the Chibok girls 8 years ago, I...
A primary role of Central Banks is managing the value of their local currencies. Depending on the specific dynamics of the economy, the Bank might be interested in strengthening,...
It is easy to conclude that certain countries or their nationals are intrinsically corrupt. After all, the word “corruption” has become meaningless to most Nigerians...
I’m still reeling from the circumstances leading to the #EndSARS protests and all the unfortunate developments since. The protests have been followed by reports of intimidation,...
Almost in cycles, there’s always a conversation on Twitter about sports betting. The most recent is one by a person who lost £447,880 over 12 years. These conversations are...
A long time ago, Martin Seligman, an American Psychologist, conducted a very interesting experiment. I’ll describe a simplified version: Two groups of dogs were placed in...
Hydra includes our ‘Ecko Blocks’ plugin, which introduces additional features to the Code core Gutenberg block. These features include language specific syntax highlighting, multiple color schemes, line numbers, and support for popular languages (complete list can be found below).
// This is an example of the 'Light' color scheme
function wp_get_time(){
if(get_theme_mod('layout_use_custom_date_format', false)){
the_date();
}else{
the_time('jS F Y ');
}
}
// This is an example of the 'Dark' color scheme.
function wp_get_time(){
if(get_theme_mod('layout_use_custom_date_format', false)){
the_date();
}else{
the_time('jS F Y ');
}
}
// This is an example of the 'High Contrast' color scheme.
function wp_get_time(){
if(get_theme_mod('layout_use_custom_date_format', false)){
the_date();
}else{
the_time('jS F Y ');
}
}
If you wish to display line numbers along with a Code block this an be enabled via the included options. Below is an example Code block using line numbers with the Dark color scheme.
const http = require('http');
const hostname = '127.0.0.1';
const port = 3000;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
res.end('Hello World\n');
});
server.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
Below is a preview of some of the above languages being highlighted.
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
.wrapper{
max-width: 1400px;
width: 100%;
@media (max-width: 1470px) {
padding: 0 2.5%;
}
}
def openFile(path):
file = open(path, "r")
content = file.read()
file.close()
return content
def self.consume_front(str, size)
str[0..size] = ''
str.lstrip!
end
ls -la /home
function ivy_get_time(){
if(get_theme_mod('layout_use_custom_date_format', false)){
the_date();
}else{
the_time('jS F Y ');
}
}
Be notified when a new post is up!