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
await $`ls`('-l', '--color') | |
.pipe($`grep`('run')) | |
.writeTo('/tmp/a') |
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
watch "ps a -o ruser,comm,tty,stat | grep pts/4 | grep + | grep -v grep" |
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 slice = unthis(Array.prototype.slice) | |
console.log(slice(0, -1, [1,2,3])); | |
// <- [1,2] |
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
npm config set init-author-name="Andrea Parodi" | |
npm config set init-author-email="[email protected]" | |
npm config set init-license="MIT" | |
npm config set init-version="0.0.0" | |
alias ny='npm init -y' |
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
sudo apt-get dist-upgrade | |
sudo apt-get update | |
sudo apt-get install build-essential git | |
sudo add-apt-repository ppa:george-edison55/cmake-3.x | |
sudo apt-get update | |
sudo apt-get install cmake | |
sudo apt-get install pkg-config | |
sudo apt-get install gtk+-3.0 | |
git clone https://github.com/parro-it/libui.git |
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
<!doctype html> | |
<html> | |
<head> | |
<title>example</title> | |
<script> | |
const inputMenu = require('electron-input-menu'); | |
const context = require('electron-contextmenu-middleware'); |
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
❯ defaults read -g AppleInterfaceStyle | |
Dark | |
~/Desktop/repos/electron-hack master* | |
❯ defaults read -g AppleInterfaceStyle | |
2015-11-10 17:35:25.937 defaults[38705:232950] | |
The domain/default pair of (kCFPreferencesAnyApplication, AppleInterfaceStyle) does not exist |
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
li { | |
display: inline-block; | |
min-width: 150px; | |
border: 1px solid red; | |
border-top-left-radius: 14px 21px; | |
border-top-right-radius: 14px 21px; | |
margin: 0; | |
padding-left: 15px; | |
font-family: sans-serif; | |
background-color: #F18282; |
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
hello |
NewerOlder