Hope you like this top menu. The goal is to be super minimal in the HTML and the same for the CSS. The CSS is a bit messy but I think you can understand it.
- javascript:alert(1)
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
#!/bin/bash | |
HOSTNAME="apollo" | |
USERNAME="paretech" | |
TIMEZONE="US/Eastern" | |
LANGUAGE="en_US.UTF-8" | |
DRIVE=/dev/sda | |
MOUNT_PATH=/mnt | |
USERSHELL=/bin/bash |
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
#!/bin/sh | |
# Arch Linux Bootstrap Script | |
# | |
# See comments below for running | |
# | |
# Partition all of main drive | |
echo "n | |
p |
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
########################################## | |
# ofer shaham (c) | |
# 5-2014 | |
# to: towards more generic usage | |
# from: a forked gist | |
########################################## | |
#dd command + pipe the progress using: pv | |
#depend_package: dd pv | |
########################################## | |
set -o nounset |
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
#!/bin/bash | |
#depend: xsel pv | |
intro(){ | |
echo 'Dependencies:' | |
cat $0 | grep depend | grep -v grep | |
echo Press any key to continue | |
read | |
} | |
proxy(){ | |
args=( $@ ) |
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
#!/bin/bash | |
#author: ofer shaham | |
#plugin: gmail-group | |
#about: whatsup clone | |
#version: 2 | |
#date: 4.5.2014 | |
#depend: gxmessage libnotify-bin gmail-notify | |
#help: utilize shared gmail to act like the mobile application - whatsup | |
#url_gist: https://gist.github.com/brownman/9019632 | |
#check: ps -ef | grep gmail-notify | grep -v grep |
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
#!/bin/bash | |
#http://www.cyberciti.biz/faq/linux-unix-formatting-dates-for-display/ | |
dir_dropbox=~/Dropbox | |
dir_voices=$dir_dropbox/VOICES | |
if [ ! -d $dir_voices ];then | |
echo "can't locate your dropbox folder" | |
fi | |
action=${1-run} |
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
#!/bin/bash -x | |
work="$1" | |
port=2000 | |
host='0.0.0.0' | |
cmd1='cowsay' | |
if [ "$work" = 'server' ];then |
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
var stepTime = 1; | |
var col = undefined; | |
var Cell = Backbone.Model.extend({ | |
x: -1, | |
y: -1, | |
alive: false, | |
nextAlive: false, | |
initialize: function() { |
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
class TracksController < ApplicationController | |
def index | |
signed_in_user | |
end | |
def new | |
@track = Track.new | |
end | |
def create |