create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| const Tp = imports.gi.TelepathyGLib; | |
| function message_received_cb(channel, msg) | |
| { | |
| print ("message recived : " + msg.to_text()); | |
| channel.ack_message_async(msg, function fake (a, b, c){}); | |
| var buble = document.getElementById("chatbox"); | |
| buble.innerHTML = buble.innerHTML + String("<p class=\"lemon\">" + msg.to_text() + "</p>"); |
| #!/bin/sh | |
| # 初期設定 | |
| WORK=$HOME/Builds/build-essential | |
| PREFIX=$HOME/local | |
| export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
| # ソースコードのダウンロード | |
| if [ ! -d $WORK/src ] ; then | |
| mkdir src |
| /* | |
| * get screenshot PNG from web page | |
| * | |
| * build: | |
| * FLAGS=`pkg-config --cflags --libs gtk+-x11-2.0 glib-2.0 webkit-1.0` | |
| * gcc -Wall $FLAGS getscreenshot.c -o getscreenshot | |
| * | |
| * usage: | |
| * /usr/bin/xvfb-run -s "-screen 0 1024x768x24" ./getscreenshot test.html | |
| * |
| /* | |
| * get screenshot PNG from web page | |
| * | |
| * build: | |
| * FLAGS=`pkg-config --cflags --libs gtk+-x11-2.0 glib-2.0 webkit-1.0` | |
| * gcc -Wall $FLAGS getscreenshot.c -o getscreenshot | |
| * | |
| * usage: | |
| * /usr/bin/xvfb-run -s "-screen 0 1024x768x24" ./getscreenshot test.html | |
| * |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| astyle_args="--indent=spaces=2 --style=linux --add-brackets \ | |
| · --indent-labels --pad-header --pad-oper --unpad-paren \ | |
| · --keep-one-line-blocks --convert-tabs \ | |
| · --indent-preprocessor --align-pointer=name" |
by Keith Rosenberg (netpoetica)
Note: do this in some sort of project/ directory that makes sense. depot_tools are going to need to be in your path, so you may want to install them somewhere you are comfortable with.
git clone https://github.com/v8/v8.git
| #! /bin/bash | |
| set -e | |
| trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
| trap 'echo FAILED COMMAND: $previous_command' EXIT | |
| #------------------------------------------------------------------------------------------- | |
| # This script will download packages for, configure, build and install a GCC cross-compiler. | |
| # Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
| # If you get an error and need to resume the script from some point in the middle, | |
| # just delete/comment the preceding lines before running it again. |
| #!/bin/python | |
| import os | |
| from boto.s3.connection import S3Connection | |
| import subprocess | |
| from datetime import datetime, date | |
| import argparse | |
| import tempfile | |
| import json | |
| parser = argparse.ArgumentParser(description="Downloads logs from S3, and parses them with goaccess.") |