This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Disable Emojis | |
Description: Disable Wordpress emoji functionality | |
Version: 1.0.0 | |
Author: Lars Graubner | |
Author URI: https://larsgraubner.com | |
License: MIT License | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Disable Emojis | |
Description: Disable Wordpress emoji functionality | |
Version: 1.0.0 | |
Author: Lars Graubner | |
Author URI: https://larsgraubner.com | |
License: MIT License | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# append to /etc/dhcpcd.conf | |
# after edit: | |
# sudo /etc/init.d/networking restart | |
interface eth0 | |
static ip_address=192.168.2.201/24 | |
static routers=192.168.2.1 | |
static domain_name_servers=192.168.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Node ### | |
# Logs | |
logs | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
# Optional npm cache directory | |
.npm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
button:not([type]) { | |
border: 5px solid red !important; | |
} | |
img:not([alt]) { | |
border: 5px solid red !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All from Ramin Djawadi (Film Music) | |
Noisia Radio | |
The Social Network (Soundtrack) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.location.search.slice(1).split('&').reduce(function(o,n){n=n.split('=');o[n[0]]=n[1];return o},{}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | |
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> | |
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> | |
<link rel="manifest" href="/manifest.json"> | |
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> | |
<meta name="theme-color" content="#ffffff"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webpackConfig = { | |
entry: './app/index.js', | |
output: { | |
filename: 'bundle.js', | |
path: path.resolve(__dirname, 'dist') | |
}, | |
module: { | |
rules: [ | |
{ | |
test: /\.css$/, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// generate virtual nodes | |
function h(nodeName, attributes, ...args) { | |
// create children array | |
const children = args.length ? [].concat(...args) : null; | |
// return node | |
return { nodeName, attributes, children }; | |
} | |
function render(vnode) { | |
// create text node |