This file contains hidden or 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
| proc urllog:clock_scan {datestring} { | |
| set regpat {([-+]{1}[0-9]{1,4})} | |
| set offset_string "0 seconds" | |
| if {[regexp $regpat $datestring -> offset]} { | |
| regsub $regpat $datestring {} datestring | |
| set offset_hours 0 | |
| set offset_minutes 0 | |
| set offset_length [string length $offset] | |
| scan $offset %d offset | |
| set offset_sign [expr { ($offset > 0) ? "ago" : "" }] |
This file contains hidden or 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 -ur ciso-1.0.0/ciso.c ciso-1.0.2/ciso.c | |
| --- ciso-1.0.0/ciso.c 2006-11-03 12:53:29.000000000 -0800 | |
| +++ ciso-1.0.2/ciso.c 2013-11-17 16:07:47.000000000 -0800 | |
| @@ -22,6 +22,7 @@ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| +#include <string.h> | |
| #include <zlib.h> /* /usr(/local)/include/zlib.h */ | |
| #include <zconf.h> |
This file contains hidden or 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 -urN higan_v094-source/nall/dl.hpp higan/nall/dl.hpp | |
| --- higan_v094-source/nall/dl.hpp 2014-01-20 17:30:18.000000000 -0800 | |
| +++ higan/nall/dl.hpp 2014-01-20 18:17:41.000000000 -0800 | |
| @@ -60,9 +60,15 @@ | |
| handle = 0; | |
| } | |
| #elif defined(PLATFORM_MACOSX) | |
| +static void junk_function() {} | |
| inline bool library::open(const string& name, const string& path) { | |
| if(handle) close(); |
This file contains hidden or 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
| #define X 1 | |
| #pragma push_macro("X") | |
| #undef X | |
| #define X -1 | |
| #pragma pop_macro("X") | |
| int a[X]; | |
| int main(void) | |
| { |
This file contains hidden or 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
| Microsoft (R) Profile Guided Optimization Manager 11.00.50727.1 | |
| Copyright (C) Microsoft Corporation. All rights reserved. | |
| PGD File: foo_input_usf.pgd 02/16/2014 17:50:10 | |
| Module Count: 1 Function Count: 3021 Arc Count: 3280 Value Count: 191 | |
| Static instructions: 39839 Basic blocks: 9220 Average BB size: 4.3 | |
| Dynamic instructions: 1295151200270 | |
| entry static dynamic % run |
This file contains hidden or 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
| int GetFrequenceValue(int input) | |
| { | |
| if ( !input ) return 0; | |
| if ( LinearFrqTab != 1 ) | |
| { | |
| return input / FrequenceDivFactor; | |
| } | |
| else | |
| { |
This file contains hidden or 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
| #include <stdint.h> | |
| #define EMU_COMPILE | |
| #define EMU_LITTLE_ENDIAN | |
| #include "PsxCore/Core/psx.h" | |
| #include "PsxCore/Core/bios.h" | |
| #include "PsxCore/Core/iop.h" | |
| #include "PsxCore/Core/r3000.h" |
This file contains hidden or 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
| #define _USE_MATH_DEFINES | |
| #include "iirfilters.h" | |
| #include <math.h> | |
| #ifndef M_PI | |
| #define M_PI 3.1415926535897932384626433832795 | |
| #endif | |
| IIRFilter::IIRFilter() |
This file contains hidden or 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/sh | |
| FUCKING_THING_TO_SIGN=$1 | |
| FUCKING_SIGNED=0 | |
| while [ $FUCKING_SIGNED -eq 0 ]; do | |
| codesign -s 'Developer ID Application' --deep --force "$FUCKING_THING_TO_SIGN" | |
| spctl -a "$FUCKING_THING_TO_SIGN" && FUCKING_SIGNED=1 | |
| done |
This file contains hidden or 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
| @echo off | |
| setlocal enableextensions enabledelayedexpansion | |
| set dir=%1 | |
| set dir=!dir:\=/! | |
| git remote rm origin | |
| git filter-branch --tag-name-filter cat --prune-empty --subdirectory-filter "%dir%" HEAD | |
| git reset --hard |