This file contains hidden or 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
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| type Student struct { | |
| Name string `json:"name"` | |
| Age int `json:"age"` |
This file contains hidden or 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
| new-session | |
| unbind C-b | |
| set -g prefix C-a | |
| bind-key C-a last-window | |
| set -g status off | |
| bind | split-window -h | |
| bind \ split-window -h | |
| bind - split-window -v | |
| bind _ split-window -v |
This file contains hidden or 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 readline = require('readline') | |
| const rl = readline.createInterface({ | |
| input: process.stdin, | |
| output: process.stdout, | |
| terminal: false // this is key | |
| }) | |
| rl.on('line',line=>{console.log(line)}) |
This file contains hidden or 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 ~/repos/private | |
| mkdir vscode | |
| cd vscode | |
| mv ~/Library/Application\ Support/Code/User/settings.json . | |
| cd .. | |
| git add -A . | |
| git commit -a -m "added vscode settings" | |
| git push | |
| cd ~/Library/Application\ Support/Code/User/ | |
| ln -s ~/repos/private/vscode/settings.json |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import skilstak.colors as c | |
| import os | |
| import pwd | |
| import shutil | |
| codeanywhere = [ | |
| "65.52.184.164", | |
| "52.161.27.120", |
This file contains hidden or 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
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "time" | |
| ) | |
| type Some struct { |
This file contains hidden or 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
| import ( | |
| "crypto/rand" | |
| //"encoding/hex" | |
| "encoding/base64" | |
| "io" | |
| ) | |
| type Id []byte | |
| type Something struct { |
This file contains hidden or 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
| def hello(name='world'): | |
| print("Hello {}".format(name)) |
NewerOlder