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 python | |
| import os | |
| import sys | |
| import platform | |
| import shutil | |
| import cPickle | |
| if platform.system() in ('Windows', 'Microsoft'): |
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 * as React from "react"; | |
| import { observable, action, autorun } from 'mobx'; | |
| import { Promise } from 'es6-promise'; | |
| import { FlatButton } from 'material-ui'; | |
| import { StoreManager } from './StoreManager'; | |
| export class ModalStore { | |
| storeManager: StoreManager | |
| @observable public isOpen: boolean = false; | |
| @observable public actions = []; |
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 ( | |
| "bufio" | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "fmt" | |
| "io" | |
| "io/ioutil" |
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 ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "os" |
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
| sudo iptables -A OUTPUT -m owner ! --uid-owner root -d 169.254.169.254 -j DROP |
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 /tmp | |
| rm hello.cmd | |
| rm http.cmd | |
| ssh cmd.io :delete hello | |
| ssh cmd.io :delete http | |
| source ~/.profile.d/demo | |
| clear | |
| [wait 2]# Let's build two quick commands with Cmd.io! | |
| # First,[wait] a simple command that says hello. |
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
| FROM python:2.7.13-slim | |
| COPY . /app/ | |
| WORKDIR /app | |
| ENTRYPOINT ["python", "connectbug.py"] |
OlderNewer