apt-get update
apt-get upgrade
apt-get install build-essential
#!/usr/bin/env python | |
import sys | |
class Lexer: | |
NUM, ID, IF, ELSE, WHILE, DO, LBRA, RBRA, LPAR, RPAR, PLUS, MINUS, LESS, \ | |
EQUAL, SEMICOLON, EOF = range(16) | |
SYMBOLS = { '{': LBRA, '}': RBRA, '=': EQUAL, ';': SEMICOLON, '(': LPAR, |
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
#!/bin/bash | |
# | |
# chkconfig: 235 10 90 | |
# description: TeamCity startup script | |
# | |
TEAMCITY_USER=teamcity | |
TEAMCITY_DIR=/home/teamcity/TeamCity/ | |
TEAMCITY_SERVER=bin/teamcity-server.sh |
# http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
A pretty sweet and pure CSS3 iOS 7 UISwitch.
A Pen by Christian Petersen on CodePen.
Working CSS3 analog clock, using CSS animations and shapes, without any images or JavaScript.
This is now available on GitHub @ https://github.com/iliadraznin/CSS3clock