This file contains 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
<html> | |
<head> | |
<title>First Haml Page</title> | |
<meta charset='UTF-8' /> | |
<style type='text/CSS'> | |
/* testing :sass */ | |
.funky_text { | |
color: red; | |
font-weight: bold; } | |
This file contains 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
// Lab Lab 8a (Calculator8) | |
// Programmer: Oleg Utkin | |
// Editor(s) used: Xcode | |
// Compliler(s) used: Xcode | |
// | |
#include <iostream> | |
#ifndef NULL | |
#define NULL reinterpret_cast<void *>(0) |
This file contains 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
/** | |
* Calculate the amount of Negative pressure needed for a given size of an enclosed area. | |
* @authr Phoenix560. | |
* November 2012 | |
*/ | |
#include <iostream> | |
#include <cmath> | |
using namespace std; |
This file contains 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
^ # start of the line | |
http(s)? # http or https | |
:\/\/ # :// | |
(www\.)? # maybe www subdomain | |
[^\s]* # no spaces allowed | |
$ # end of the line |
This file contains 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
// Use this for nOtch2k | |
term_.prefs_.set('background-color', "#202020"); | |
term_.prefs_.set('foreground-color', "#a0a0a0"); | |
term_.prefs_.set('color-palette-overrides', [ | |
'#383838', | |
'#a95551', | |
'#606060', | |
'#a98051', | |
'#657d3e', |
This file contains 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 EventLoop | |
class AlreadyRunning < StandardError; end | |
class CantTerminate < StandardError; end | |
def start | |
raise AlreadyRunning, "Event loop is already running" if @event_loop | |
@event_loop = Thread.new do | |
Thread.current[:events] = [] |
This file contains 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
dag = log --graph --date=local --format='format:%C(yellow)%h%C(reset) %C(blue)%cn <%ce>%C(reset) %C(magenta)%cd%C(reset)%C(auto)%d%C(reset)%n%s' --date-order |
This file contains 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
failed=0 | |
if [[ -z `command -v node` ]]; then | |
printf `tput setaf 1` 1>&2 | |
echo "ERROR: You need to install NodeJS" 1>&2 | |
printf `tput sgr0` 1>&2 | |
echo "You can get instructions here" 1>&2 | |
printf `tput setaf 2` 1>&2 | |
echo " http://nodejs.org" 1>&2 | |
printf `tput sgr0` 1>&2 |
This file contains 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
# Prompt Settings ============================================================= | |
T_LEFT=(' ' | |
'$(sp)' | |
'$(add [ ls_dirs ])' # Directory list | |
'$(add $(sp) vcs_status)' # Status of version controll | |
# '$(add $(sp) rvm_ver)' # Active version of ruby | |
# '$(add $(sp) nvm_ver)' # Active version of node | |
'>' | |
) |
This file contains 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 | |
############################################### | |
# INStALL: curl -L https://goo.gl/XzaObE | bash | |
############################################### | |
ZSHELL_LOC=/bin/zsh | |
main() { | |
Log0 "Installing Packages" | |
MAIN_PACKAGES=("git" "zsh" "vim" "exuberant-ctags") |
OlderNewer