Skip to content

Instantly share code, notes, and snippets.

View sophiebits's full-sized avatar

Sophie Alpert sophiebits

View GitHub Profile
@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;
+
require "rack"
app = lambda do |env|
request = Rack::Request.new(env)
if request.get?
[
200,
{"Content-Type" => "text/html"},
<<-HTML
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
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,
--- 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);
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/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);
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^
begin 644 chuck-sarah-2.png
MB5!.1PT*&@H````-24A$4@``!0````+0"`(```!`'TH!```.2VE#0U!)0T,@
M4')O9FEL90``>`&MEW<XU6_<Q^^S[9DM*TG(CNR]]['W.,<>'8Z548B((K-!
M1A22G9U10C:9E1"2E4A)A.>HGW[//[_K^>>YO]>Y[M>YS_O^W/?W^SGW]?Y^
M`*!\Y8C#>4$!`-X^_GYH#64."TLK#M0;`/GG@CIB\#@E0T-=@N0_VO8X04MH
M(^>.8OV'Z+^&*?P("P(`$2`(3KC^8<4C=OK#)D<<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