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
<!-- | |
To install me, go to Language, User Defined language, Define your language. | |
Then, click the "Import..." button and browse to where you saved this file. | |
Pro-tip: you can also paste the Raw link from this Gist into the file name box and it'll download the file automatically. | |
Disclaimer: this file may be wrong or otherwise not to your liking. Also, FIRRTL changes from time to time; this was written for FIRRTL 1.3.0 | |
--> | |
<NotepadPlus> | |
<UserLang name="FIRRTL" ext="fir" udlVersion="2.1"> | |
<Settings> |
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
// ==UserScript== | |
// @name WDYT auto-save | |
// @namespace http://tampermonkey.net/ | |
// @match https://www.applyweb.com/eval/new/student | |
// @require https://code.jquery.com/jquery.js | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use WWW::Mechanize; | |
use List::MoreUtils qw/:all/; | |
use JSON qw/encode_json/; | |
use constant PISA_URL => "https://pisa.ucsc.edu/class_search/index.php"; |
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
// ==UserScript== | |
// @name Portal Events finder | |
// @namespace http://www.bevroren.com/ | |
// @version 0.1 | |
// @description Transfers events from the portal page to google calendar | |
// @author Thomas Nijssen | |
// @match https://ais-cs.ucsc.edu/psc/csprd/EMPLOYEE/PSFT_CSPRD/c/SA_LEARNER_SERVICES.SSR_SSENRL_LIST.GBL* | |
// @match https://ais-cs.ucsc.edu/psc/csprd/EMPLOYEE/HRMS/c/SA_LEARNER_SERVICES.SSR_SSENRL_LIST.GBL* | |
// @match https://my.ucsc.edu/psc/csprd/EMPLOYEE/PSFT_CSPRD/c/SA_LEARNER_SERVICES.SSR_SSENRL_LIST.GBL* | |
// @match https://my.ucsc.edu/psc/csprd/EMPLOYEE/HRMS/c/SA_LEARNER_SERVICES.SSR_SSENRL_LIST.GBL* |
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
diff -crB eee/everything/Everything/NodeBase.pm everything/Everything/NodeBase.pm | |
*** eee/everything/Everything/NodeBase.pm 2001-02-18 16:15:40.000000000 -0800 | |
--- everything/Everything/NodeBase.pm 2015-04-19 18:44:34.785225611 -0700 | |
*************** | |
*** 1314,1320 **** | |
return -1 if($this->tableExists($table)); | |
$result = $this->{dbh}->do("create table $table ($tableid int(11)" . | |
! " DEFAULT '0' NOT NULL, PRIMARY KEY($tableid))"); | |
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
diff -crB apache1/mod_perl-1.31/src/modules/perl/Constants.xs mod_perl-1.31/src/modules/perl/Constants.xs | |
*** apache1/mod_perl-1.31/src/modules/perl/Constants.xs 2003-03-13 20:39:39.000000000 -0800 | |
--- mod_perl-1.31/src/modules/perl/Constants.xs 2015-04-19 22:49:07.370809012 -0700 | |
*************** | |
*** 20,26 **** | |
SvPVX(caller), sub, SvPVX(pclass), sub); | |
#endif | |
gv = gv_fetchpv(form("%_::%s", caller, sub), TRUE, SVt_PVCV); | |
! GvCV(gv) = perl_get_cv(form("%_::%s", pclass, sub), TRUE); | |
GvIMPORTED_CV_on(gv); |
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
diff -crB apache1/apache_1.3.9/src/main/http_protocol.c apache_1.3.9/src/main/http_protocol.c | |
*** apache1/apache_1.3.9/src/main/http_protocol.c 1999-08-14 02:21:19.000000000 -0700 | |
--- apache_1.3.9/src/main/http_protocol.c 2015-04-12 19:08:54.437509643 -0700 | |
*************** | |
*** 659,665 **** | |
* then the actual input line exceeded the buffer length, | |
* and it would be a good idea for the caller to puke 400 or 414. | |
*/ | |
! static int getline(char *s, int n, BUFF *in, int fold) | |
{ |