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
Index: src/graph_partitioning/internal-timer.h | |
=================================================================== | |
--- src/graph_partitioning/internal-timer.h (revision 187) | |
+++ src/graph_partitioning/internal-timer.h (working copy) | |
@@ -30,7 +30,7 @@ | |
static struct timespec tic_ts; | |
#define USE_CLOCK_GETTIME | |
#else | |
-#warn "Falling back to gettimeofday ()." | |
+#warning "Falling back to gettimeofday ()." |
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 --git a/src/nsterm.m b/src/nsterm.m | |
index 025486d..bb362a6 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -1414,7 +1414,7 @@ ns_get_color (const char *name, NSColor **col) | |
if (r >= 0.0) | |
{ | |
- *col = [NSColor colorWithCalibratedRed: r green: g blue: b alpha: 1.0]; | |
+ *col = [NSColor colorWithDeviceRed: r green: g blue: b alpha: 1.0]; |
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 --git a/src/unexmacosx.c b/src/unexmacosx.c | |
index df4c0da..e5254de 100644 | |
--- a/src/unexmacosx.c | |
+++ b/src/unexmacosx.c | |
@@ -822,6 +822,7 @@ copy_data_segment (struct load_command *lc) | |
} | |
else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0 | |
|| strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0 | |
+ || strncmp (sectp->sectname, "__got", 16) == 0 | |
|| strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0 |
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
# Script to process background data (.ibs files) generated by the Optotrak 3020 system | |
# Carmine Paolino <carmine@paolino.me> | |
require 'csv' | |
num_pattern = /[+-]?\d*\.?\d+/ | |
allowed_frenquencies = [ 1, 2.5, 4 ] | |
trials = [] | |
class ListableAccessors |
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
on safari_is_ready(docNum, interval) | |
repeat | |
tell application "Safari" | |
try | |
do JavaScript "document.readyState" in document docNum | |
set readyState to result | |
set finishedLoading to (source of document docNum contains "</html>") | |
if finishedLoading and readyState is "Complete" then exit repeat | |
end try | |
end tell |
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
on parse_input_string(theString) | |
set AppleScript's text item delimiters to " " | |
set theFromAmount to text item 1 of theString as text | |
if length of text items of theString is greater than 1 then | |
set theFromCurrency to text item 2 of theString as text | |
set theToCurrency to text item -1 of theString as text | |
set currenciesGiven to true | |
else | |
set theFromCurrency to "USD" | |
set theToCurrency to "EUR" |
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
on replace_chars(this_text, search_string, replacement_string) | |
set AppleScript's text item delimiters to the search_string | |
set the item_list to every text item of this_text | |
set AppleScript's text item delimiters to the replacement_string | |
set this_text to the item_list as string | |
set AppleScript's text item delimiters to "" | |
return this_text | |
end replace_chars | |
set myTrack to "" |
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
on number_to_string(this_number) | |
set this_number to this_number as string | |
if this_number contains "E+" then | |
set x to the offset of "," in this_number | |
set y to the offset of "+" in this_number | |
set z to the offset of "E" in this_number | |
set the decimal_adjust to characters (y - (length of this_number)) thru ¬ | |
-1 of this_number as string as number | |
if x is not 0 then | |
set the first_part to characters 1 thru (x - 1) of this_number as string |
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
commit 3762f3baeef518496d8c04b9d44836bc7ec85c81 | |
Author: gperciva <gperciva@0e98fd9d-079e-457f-9c5c-d482923f975d> | |
Date: Fri Feb 1 00:30:39 2013 +0000 | |
Improve doc building | |
git-svn-id: svn+ssh://svn.code.sf.net/p/marsyas/code/trunk@5076 0e98fd9d-079e-457f-9c5c-d482923f975d | |
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.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
"""Download Dash User Docsets and install them in Zeal""" | |
import configparser | |
import json | |
import tarfile | |
import urllib.request | |
from pathlib import Path | |
from sys import platform | |
import easygui |