I hereby claim:
- I am afaur on github.
- I am afaur (https://keybase.io/afaur) on keybase.
- I have a public key ASAAVllue4XWA1NQvnqNVV5Ex5_X6vBqWTHsUGHl-Y6_Ogo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Make sure top left corner is positioned before running | |
// What the command means: | |
// `\e[8; Height;Width t` | |
printf '\e[8;55;213t' |
For smaller form factor keyboard. | |
To retain the forward delete (117) | |
I map my right hand side alt/opt key to be forward delete. | |
To have more convient control key access I swap caps with control. |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>CSS SPA</title> | |
<style> | |
#content > #blog:not(:target) + #contact:not(:target) + #home, | |
#content > div:target { | |
display: block; | |
} | |
#content div:not(:target) { |
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>FINDER_OR_SYSPREF</appname> | |
<equal>com.apple.finder</equal> | |
<equal>com.apple.systempreferences</equal> | |
<equal>com.apple.Preview</equal> | |
</appdef> | |
<item> | |
<name>HJKL Mode</name> |
Visual Studio Code | |
- Terminal Integration | |
- Big benefit as your able to create multiple sessions and supports color. | |
- Plugins | |
Visual Studio Code Settings Sync | |
- Sync Settings, Snippets, launch, keybindings files and extensions Across Multiple Machines using Github GIST. | |
File Peek |
<?php | |
$search_by_keys = array( | |
'foo', | |
'bar', | |
'baz' | |
); | |
$replace_with_keys = array( | |
'meow', |
process.stdin.setEncoding('utf8') | |
var chunks = [] | |
process.stdin.on('readable', function () { | |
var chunk = process.stdin.read() | |
chunks.push(chunk) | |
}) | |
process.stdin.on('end', function () { | |
var input = chunks.join('') |
marketing: | |
submit to electron | |
hacker news | |
electron weekly | |
javascript weekly | |
react weekly | |
product hunt | |
alternative to |
// site: http://www.beaufortonline.com/building-and-construction-terms-dictionary/ | |
// Get element with class '.nine' | |
var items = document.querySelector('.nine').getElementsByTagName('p'); | |
// Find total amount of 'p' elements inside of tag with class '.nine' | |
var total = items.length; | |
// Collect terms and definitions | |
var terms = {} |