Skip to content

Instantly share code, notes, and snippets.

View iandol's full-sized avatar
👾
typing away...

Ian Max Andolina iandol

👾
typing away...
  • Institute of Neuroscience, Chinese Academy of Sciences
  • Shanghai
  • 07:55 (UTC +08:00)
View GitHub Profile
┌┬─iana @ pro11 in ~/Code/homebrew-1 (mmd●)
└┴─❧ brew install -v multimarkdown
==> Downloading https://github.com/fletcher/peg-multimarkdown/tarball/3.1b1
File already downloaded in /Users/iana/Library/Caches/Homebrew
/usr/bin/tar xf /Users/iana/Library/Caches/Homebrew/multimarkdown-3.tgz
==> make
make
CC=gcc make -C peg-0.1.4
/usr/bin/llvm-gcc -c `pkg-config --cflags glib-2.0` -O3 -march=core2 -msse4 -w -pipe -o markdown_output.o markdown_output.c
/usr/bin/llvm-gcc -c `pkg-config --cflags glib-2.0` -O3 -march=core2 -msse4 -w -pipe -o markdown_lib.o markdown_lib.c
@iandol
iandol / Lion 32bit kext
Created November 23, 2011 14:49
Verbosity 10 logs with/without kext
PTB-INFO: Connection to Psychtoolbox kernel support driver (Revision 0) established. Will use the driver...
PTB-DEBUG: In PsychCaptureScreen(): After display capture for screen 1 (Old CGDisplayId 0x5b81c5c1). Reenumerating all displays...
PTB-DEBUG: In PsychCaptureScreen(): After display capture for screen 1 (New CGDisplayId 0x5b81c5c1). Reenumeration done.
PTB-INFO: This is Psychtoolbox-3 for Apple OS X, under Matlab (Version 3.0.9 - Build date: Oct 20 2011).
PTB-INFO: Type 'PsychtoolboxVersion' for more detailed version information.
PTB-INFO: Most parts of the Psychtoolbox distribution are licensed to you under terms of the MIT License, with
PTB-INFO: some restrictions. See file 'License.txt' in the Psychtoolbox root folder for the exact licensing conditions.
@iandol
iandol / brew --config
Created May 18, 2012 15:00
config.log
HOMEBREW_VERSION: 0.9
HEAD: 4bf08f2081ef4b512b23c684411faf372aafc860
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit nehalem
OS X: 10.7.4
Kernel Architecture: x86_64
Xcode: 4.3.2
GCC-4.0: N/A
GCC-4.2: build 5666
@iandol
iandol / cool
Created May 21, 2012 09:05
PlayMoviesDemoOSX cool+serious log
>> PlayMoviesDemoOSX
Serious or cool? Type s or c [s/c]? c
PTB-INFO: This is Psychtoolbox-3 for Apple OS X, under Matlab 64-Bit (Version 3.0.10 - Build date: May 20 2012).
PTB-INFO: Type 'PsychtoolboxVersion' for more detailed version information.
PTB-INFO: Most parts of the Psychtoolbox distribution are licensed to you under terms of the MIT License, with
PTB-INFO: some restrictions. See file 'License.txt' in the Psychtoolbox root folder for the exact licensing conditions.
PTB-INFO: Using desktop compositor for onscreen window creation...
@iandol
iandol / a. brew doctor
Created May 21, 2012 19:44
brew install gst-ffmpeg -- Lion 10.7.4
┌┬─ian @ Hobbes in ~
└┴─❧ brew doctor
Your system is raring to brew.
┌┬─ian @ Hobbes in ~
└┴─❧ sudo xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
┌┬─ian @ Hobbes in ~
└┴─❧ brew install -vd gst-ffmpeg
==> Downloading http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.13.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gst-ffmpeg-0.10.13.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/gst-ffmpeg-0.10.13.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/gst-ffmpeg/0.10.13 --disable-dependency-tracking
./configure --prefix=/usr/local/Cellar/gst-ffmpeg/0.10.13 --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
@iandol
iandol / currenttrack.scpt
Created June 20, 2012 16:59
Current iTunes Track in Growl
tell application "Growl"
-- Make a list of all the notification types
-- that this script will ever send:
set the allNotificationsList to {"iTunes Playing Track"}
-- Make a list of the notifications
-- that will be enabled by default.
-- Those not enabled by default can be enabled later
-- in the 'Applications' tab of the growl prefpane.
set the enabledNotificationsList to {"iTunes Playing Track"}
-- Register our script with growl.
@iandol
iandol / verbosity 10 log
Created August 14, 2012 15:39
Syncronisation Error, OS X 10.6.8 + PTB 3.0.10 + dual non-mirrored display
>> Screen('Preference', 'Verbosity', 10); %errors and warnings
PTB-INFO: Connection to Psychtoolbox kernel support driver instance #0 (Revision 0) established.
>> VBLSyncTest
PTB-DEBUG: In PsychCaptureScreen(): After display capture for screen 1 (Old CGDisplayId 0xb41e5b4). Reenumerating all displays...
PTB-DEBUG: In PsychCaptureScreen(): After display capture for screen 1 (New CGDisplayId 0xb41e5b4). Reenumeration done.
PTB-INFO: This is Psychtoolbox-3 for Apple OS X, under Matlab 64-Bit (Version 3.0.10 - Build date: Aug 7 2012).
PTB-INFO: Type 'PsychtoolboxVersion' for more detailed version information.
PTB-INFO: Most parts of the Psychtoolbox distribution are licensed to you under terms of the MIT License, with
@iandol
iandol / gist:3784993
Created September 25, 2012 23:04
extract PTB kernel driver
╒═ian @ Diogenes in ~/Code/Psychtoolbox-3/Psychtoolbox/PsychHardware (master)
╘═◎ unzip PsychtoolboxKernelDriver64Bit.kext.zip -d ~/Desktop/
Archive: PsychtoolboxKernelDriver64Bit.kext.zip
creating: /Users/ian/Desktop/PsychtoolboxKernelDriver.kext/
creating: /Users/ian/Desktop/PsychtoolboxKernelDriver.kext/Contents/
inflating: /Users/ian/Desktop/PsychtoolboxKernelDriver.kext/Contents/Info.plist
creating: /Users/ian/Desktop/PsychtoolboxKernelDriver.kext/Contents/MacOS/
inflating: /Users/ian/Desktop/PsychtoolboxKernelDriver.kext/Contents/MacOS/PsychtoolboxKernelDriver
@iandol
iandol / gist:4151623
Created November 27, 2012 00:30
Retina MBP Verbosity 10 VBLSyncTest output
>> clear all
>> Screen('Preference', 'Verbosity', 10);
PTB-INFO: Connection to Psychtoolbox kernel support driver instance #0 (Revision 0) established.
PTB-INFO: Connection to Psychtoolbox kernel support driver instance #1 (Revision 0) established.
>> VBLSyncTest
ans =
0