fn + shift + delete
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
pip3 install requests | |
python3 query_quay_builds.py | |
echo $? |
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 AWS = require('aws-sdk'); | |
const provider = new AWS.MetadataService(); | |
provider.loadCredentials((err, data) => { | |
if (err) { | |
process.exitCode = 1; | |
return console.error(err); | |
} | |
console.log(data); |
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
pmset sleepnow |
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
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
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
cd ~/Library/Preferences && sudo find com.apple.finder.plist* -exec rm {} \; && killall Finder | |
# http://apple.stackexchange.com/a/210469/78722 |
I hereby claim:
- I am gswalden on github.
- I am gsw (https://keybase.io/gsw) on keybase.
- I have a public key whose fingerprint is 9E24 C6E8 E1B5 1289 34EC 1244 F316 16B7 FEDE 947F
To claim this, I am signing this object:
Use npm ls
to find it in the tree.
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
SELECT table_schema "Data Base Name", | |
sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB", | |
sum( data_free )/ 1024 / 1024 "Free Space in MB" | |
FROM information_schema.TABLES | |
GROUP BY table_schema; |
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
* { | |
box-sizing: border-box | |
} | |
.box { | |
position: relative; | |
width: 100%; | |
max-width: 1020px; | |
margin: 0 auto; | |
padding: 0 15px; | |
box-sizing: border-box |
NewerOlder