ssh-keygen -f <filename>
cat <filename>.pub >> ~/.ssh/authorized_keys
cd ~/Downloads/ | |
pwd | |
rm -rf dart | |
rm darteditor-macos-x64.zip | |
curl -O http://storage.googleapis.com/dart-archive/channels/stable/release/latest/editor/darteditor-macos-x64.zip | |
unzip darteditor-macos-x64.zip | |
ls dart* | |
cd /usr/local | |
pwd | |
ls dart |
Download Dart
Copy dart to /usr/local/dart
unzip darteditor-macos-x64.zip
cp -R path/to/unzipped/dart /usr/local/dart
{ | |
"end": { | |
"dateTime": "2014-02-27T20:00:00", | |
"timeZone": "EST" | |
}, | |
"start": { | |
"dateTime": "2014-02-27T19:00:00", | |
"timeZone": "EST" | |
}, | |
"summary": "test", |
cd /usr/local/dart/chromium | |
sudo chmod +x download_contentshell.sh | |
sudo ./download_contentshell.sh | |
sudo unzip content_shell-macos-ia32-release.zip |
import 'dart:io'; | |
import 'dart:math'; | |
void main() { | |
String line = stdin.readLineSync(); | |
var e = line.split(' ').map((i) => int.parse(i)).toList(); | |
var lx = e[0]; | |
var ly = e[1]; |
#!/usr/bin/env python | |
__author__ = 'Charles Hooper <charles.hooper@dotcloud.com>' | |
import socket, ssl | |
socket.setdefaulttimeout(3) | |
class EasySSLWrap(object): | |
"""Connect over TCP+SSL using a context manager. | |
Usage: |