Skip to content

Instantly share code, notes, and snippets.

View sophiebits's full-sized avatar

Sophie Alpert sophiebits

View GitHub Profile
begin 644 chuck-sarah.png
MB5!.1PT*&@H````-24A$4@```/````"T"`8```"JG*'H````"7!(67,```L3
M```+$P$`FIP8```@`$E$051X`>R]:7,D1Y*FZ4`$;B!/YL&CBE75U3,](KLC
M^VU__?Z#%=DO(_-A9G:V>[H.%I-))C-Q(P#L^ZC9ZZYA\``">8)D6J;#+C4U
M-3554[O<8^7__-__Y;(;<2LK*Y%[email protected]?[)2BN/-Y\\C71VM!9B2<7DY
M`!"^N#PO"%8N.N*7BA>?<'D`V'^S'_'9^9G*#+@*=>0?=Z=GJN4"^@K*"A8U
MNU9J<W@(=-U!3:_4%`2?__XB.&`9,+'TK].F-8R/N[?>=;M;7??DWD:WL[W9
M[6ZOA3Q/.PF.W(4*9OF.1/U9F?12XZ1;^1<@EKM8G2]V6=.A..2]Q@GC[#?%
MYI%\CGWFP*^9`U9F?/3BXMUT\9.P:A6KY6=9"CP29=_A97&\#5RN@Q%H-IO%
MJ`CS>=ZW,TIW]/O&_QG?A^6`^^^Z6NA;K!CR(W$*YYE:B=WMOYY!+$VEE<C^
--- a/h/WPIlib/CInterfaces/CGyro.h
+++ b/h/WPIlib/CInterfaces/CGyro.h
@@ -7,7 +7,7 @@
#ifndef C_GYRO_H
#define C_GYRO_H
-#include <VxWorks.h>
+#include <vxWorks.h>
void InitGyro(UINT32 slot, UINT32 channel);
WIND_BASE=/usr/local/wind
WIND_USR=$(WIND_BASE)/target/usr
export WIND_BASE WIND_USR
CXX=/usr/local/bin/powerpc-wrs-vxworks-g++
INCLUDES=-isystem $(WIND_USR)/h -isystem $(WIND_USR)/h/c++ -I$(WIND_BASE)/target/h #-I$(WIND_BASE)/target/h/wrn/coreip
DEFINES=-D_WRS_KERNEL -DCPU=PPC603
CFLAGS=$(INCLUDES) $(DEFINES) -g -mlongcall
all: SimpleTemplate.o
--- a/gcc-4.3.2/gcc/gcov-io.c
+++ b/gcc-4.3.2/gcc/gcov-io.c
@@ -83,7 +83,7 @@
#endif
#if GCOV_LOCKED
if (mode > 0)
- fd = open (name, O_RDWR);
+ fd = open (name, O_RDWR, 0666);
else
fd = open (name, O_RDWR | O_CREAT, 0666);
Index: src/offset.js
===================================================================
--- src/offset.js (revision 6020)
+++ src/offset.js (working copy)
@@ -50,7 +50,7 @@
jQuery.offset = {
initialize: function() {
if ( this.initialized ) return;
- var body = document.body, container = document.createElement('div'), innerDiv, checkDiv, table, rules, prop, bodyMarginTop = body.style.marginTop,
+ var body = document.body, container = document.createElement('div'), innerDiv, checkDiv, table, td, rules, prop, bodyMarginTop = body.style.marginTop,
From e6b562555196947752ccced8434d93523d4bebde Mon Sep 17 00:00:00 2001
From: Ben Alpert <[email protected]>
Date: Fri, 5 Dec 2008 22:50:49 -0700
Subject: [PATCH] remove double path init in drawCircleInRect:
---
PBGitRevisionCell.m | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/PBGitRevisionCell.m b/PBGitRevisionCell.m
require "rack"
app = lambda do |env|
request = Rack::Request.new(env)
if request.get?
[
200,
{"Content-Type" => "text/html"},
<<-HTML
@sophiebits
sophiebits / gist:7861
Created August 28, 2008 23:49
allow better YUI compression
--- a/jquery-1.2.6.js
+++ b/jquery-1.2.6.js
@@ -27,8 +27,9 @@
@@ -10,6 +10,9 @@
* $Rev: 5685 $
*/
+// Allow munging window's name.
+var window = this;
+