Skip to content

Instantly share code, notes, and snippets.

@nodje
nodje / ettercap-compile-problem
Last active January 3, 2016 23:39
ettercap compile osx 10.9.1
Scanning dependencies of target bundled-libnet-1.1.6-Release
[ 0%] Creating directories for 'bundled-libnet-1.1.6-Release'
[ 1%] Performing download step (verify and extract) for 'bundled-libnet-1.1.6-Release'
-- verifying file...
file='/Users/nodje/project/ext/ettercap/bundled_deps/libnet/libnet-1.1.6.tar.gz'
-- verifying file... warning: did not verify file - no URL_HASH specified?
-- extracting...
src='/Users/nodje/project/ext/ettercap/bundled_deps/libnet/libnet-1.1.6.tar.gz'
dst='/Users/nodje/project/ext/ettercap/build/bundled_deps/libnet/bundled-libnet-1.1.6-Release/build'
-- extracting... [tar xfz]
@nodje
nodje / gist:6373558
Created August 29, 2013 02:08
Ngrok crash when started from cygwin terminal
$ ./ngrok.exe 80
panic: The handle is invalid.
goroutine 1 [running]:
github.com/nsf/termbox-go.get_term_size(0x250, 0x11b3a5a0, 0x434597)
/home/travis/build/inconshreveable/ngrok/src/github.com/nsf/termbox-go/termbox_windows.go:289 +0x5c
github.com/nsf/termbox-go.update_size_maybe()
/home/travis/build/inconshreveable/ngrok/src/github.com/nsf/termbox-go/termbox_windows.go:304 +0x27
github.com/nsf/termbox-go.Flush(0x11bb0660, 0x0)
/home/travis/build/inconshreveable/ngrok/src/github.com/nsf/termbox-go/api_windows.go:82 +0x21
@nodje
nodje / owncloud client 1.3.0 crash on 10.8.4
Last active December 20, 2015 20:38
owncloud client 1.3.0&1.4.0beta1 crash on 10.8.4 - com.owncloud.desktopclient[4626]) <Warning>: Job appears to have crashed: Segmentation fault: 11
Process: owncloud [1883]
Path: /Applications/owncloud-1.4.0-beta1.app/Contents/MacOS/owncloud
Identifier: com.owncloud.desktopclient
Version: 1.4.0beta1 (1.4.0beta1)
Code Type: X86-64 (Native)
Parent Process: launchd [361]
User ID: 501
Date/Time: 2013-08-09 12:52:57.187 +0800
OS Version: Mac OS X 10.8.4 (12E55)
@nodje
nodje / sudo_dtruss_-n_gcodeview
Last active December 16, 2015 05:39
sudo dtruss -n gcodeview
54308/0x1a94be: mmap(0x10810E000, 0x35000, 0x5, 0x12, 0x3, 0x38000) = 0x810E000 0
54308/0x1a94be: mmap(0x108143000, 0x2000, 0x3, 0x12, 0x3, 0x6D000) = 0x8143000 0
54308/0x1a94be: mmap(0x108145000, 0x7490, 0x1, 0x12, 0x3, 0x6F000) = 0x8145000 0
54308/0x1a94be: fcntl(0x3, 0x2C, 0x7FFF57BA6AA8) = 0 0
54308/0x1a94be: close(0x3) = 0 0
54308/0x1a94be: stat64("/opt/local/lib/libfreetype.6.dylib\0", 0x7FFF57BA8880, 0x7FFF57BA9780) = 0 0
54308/0x1a94be: open("/opt/local/lib/libfreetype.6.dylib\0", 0x0, 0x0) = 3 0
54308/0x1a94be: pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
54308/0x1a94be: pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x85000) = 4096 0
54308/0x1a94be: mmap(0x108153000, 0x85000, 0x5, 0x12, 0x3, 0x85000) = 0x8153000 0
@nodje
nodje / ABS.ini
Created April 8, 2013 04:34
My Cura ini file for ABS
[profile]
filament_diameter = 1.75
nozzle_size = 0.5
wall_thickness = 1.0
layer_height = 0.2
retraction_enable = True
solid_layer_thickness = 0.6
fill_density = 20
print_speed = 50
print_temperature = 230