View Removed-obsolete-evolutionary-code--Updated-comments-Still-has-issue-with-set1307--.patch
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
From 9e1f9863de10adae61fd6db86381858010c2719f Mon Sep 17 00:00:00 2001 | |
From: Spencer Owen <spencer@Spencer-Owens-MacBook-Pro.local> | |
Date: Tue, 19 Oct 2010 13:21:05 -0600 | |
Subject: [PATCH] Removed obsolete evolutionary code. Updated comments | |
Still has issue with set1307() | |
--- | |
TimeSquared.pde | 225 ++++++++++++++++-------------------------------------- | |
1 files changed, 67 insertions(+), 158 deletions(-) |
View Removed-obsolete-evolutionary-code--Updated-comments-Still-has-issue-with-set1307--.patch
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
From 9e1f9863de10adae61fd6db86381858010c2719f Mon Sep 17 00:00:00 2001 | |
From: Spencer Owen <spencer@Spencer-Owens-MacBook-Pro.local> | |
Date: Tue, 19 Oct 2010 13:21:05 -0600 | |
Subject: [PATCH] Removed obsolete evolutionary code. Updated comments | |
Still has issue with set1307() | |
--- | |
TimeSquared.pde | 225 ++++++++++++++++-------------------------------------- | |
1 files changed, 67 insertions(+), 158 deletions(-) |
View notWorking
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
import json | |
import urllib2 | |
url="http://data.mtgox.com/api/2/BTCUSD/money/ticker" | |
jsonURL=urllib2.urlopen(url) | |
jsonObject=json.load(jsonURL) | |
currentValue = jsonObject['data']['high']['display'] |
View gist:5988534
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
git push origin upstream/4.2.3 | |
Everything up-to-date | |
spencers-macbook-pro:torque spencerowen$ git branch -r | |
origin/2.5-dev | |
origin/2.5.12 | |
origin/4.1-dev | |
origin/4.1.0 | |
origin/4.1.4 | |
origin/4.1.4-1648 | |
origin/4.1.5 |
View gist:6033006
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
Process: Bria 3 [603] | |
Path: /Applications/Bria 3.app/Contents/MacOS/Bria 3 | |
Identifier: com.CounterPath_Corporation.Bria-3 | |
Version: 3.5.3 (70600) | |
Code Type: X86 (Native) | |
Parent Process: launchd [258] | |
User ID: 501 | |
Date/Time: 2013-07-18 14:54:19.225 -0600 | |
OS Version: Mac OS X 10.8.4 (12E55) |
View install.sh
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 | |
echo " | |
alias 'pfind'='ps aux |grep ' | |
alias 'mhome'='cd /opt/moab/currentMoab && ls' | |
alias 'thome'='cd /var/spool/torque/currentTorque && ls' | |
" > /etc/profile.d/spencer.sh |
View diff-gitlab-init-scripts
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
root@gitlab:/home/git/gitlab# diff -bu /tmp/gitlab6-0 /tmp/gitlab6-1 > /tmp/git-ini-diff | |
root@gitlab:/home/git/gitlab# cat /tmp/git-ini-diff | |
--- /tmp/gitlab6-0 2013-09-28 21:55:12.927451102 +0000 | |
+++ /tmp/gitlab6-1 2013-09-28 21:54:55.500428709 +0000 | |
@@ -1,7 +1,8 @@ | |
-#! /bin/bash | |
+#! /bin/sh | |
# GITLAB |
View gist:7060928
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
#Here are the nginx settings without ssl | |
server { | |
listen *:80 default_server; | |
server_name <%= @gitlab_domain %>; | |
server_tokens off; | |
root /nowhere; | |
rewrite ^ https://$server_name$request_uri permanent; | |
#Here are the nginx settings with ssl | |
server { |
View gist:7092511
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
A working configuration pulled from a puppet manifest. | |
The syntax is in puppet declaration language. Don't copy the syntax, simply refer to the values. | |
ldap_enabled => true, | |
ldap_host => 'microsoft.com', | |
ldap_base => 'DC=com', | |
ldap_port => '636', #Make sure firewall is open | |
ldap_uid => 'sAMAccountName', #LDAP = 'uid', AD = 'sAMAccountName' |
View math.txt
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
[ 1 + 1 + 1 ] ! = 6 | |
2 + 2 + 2 = 6 | |
4 + 4 - sqrt(4) = 6 | |
5 / 5 + 5 = 6 | |
6 + 6 - 6 = 6 | |
7 - (7 / 7) = 6 | |
sqrt( 9 ) * sqrt( 9 ) - sqrt ( 9 ) = 6 | |
And the tough ones are | |
0 : [ Cos ( 0° ) + Cos ( 0°) + Cos ( 0° ) ]! = 6 |
OlderNewer