Skip to content

Instantly share code, notes, and snippets.

@nodje
nodje / gist:9a0ec68cec0f1063a9ce
Created September 25, 2014 09:39
vagrant mhn/scripts install logs
cd mhn/scripts
root@mhn-server:/opt/mhn/scripts# ./install_hpfeeds.sh ; ./install_mnemosyne.sh ; ./install_honeymap.sh
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Ign http://security.ubuntu.com precise-security InRelease
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:3 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
@nodje
nodje / gist:c31be140e7122f7154b0
Created September 25, 2014 09:41
vagrant mhn/scripts install logs with proxy
root@mhn-server:/opt/mhn/scripts# echo $http_proxy
http://192.168.0.2:8118
root@mhn-server:/opt/mhn/scripts# ./install_hpfeeds.sh ; ./install_mnemosyne.sh ; ./install_honeymap.sh
Ign http://security.ubuntu.com precise-security InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Ign http://us.archive.ubuntu.com precise-updates InRelease
Get:2 http://security.ubuntu.com precise-security Release [50.7 kB]
Ign http://us.archive.ubuntu.com precise-backports InRelease
Get:3 http://us.archive.ubuntu.com precise Release.gpg [198 B]
@nodje
nodje / gist:d4339e0f6cac35e21bf5
Created June 11, 2015 08:02
TeamCity 9.0.4 +with jonnyzzz node.js plugin
Build 'pthipster :: UI tests' #7
Started 'Thu Jun 11 15:10:11 CST 2015' on 'Default Agent' by 'admin'
Finished 'Thu Jun 11 15:14:11 CST 2015' with status 'FAILURE Exit code 3'
TeamCity URL http://192.168.18.118:8111/viewLog.html?buildId=150&buildTypeId=Pthipster_UiTests
TeamCity server version is 9.0.4 (build 32407)
[15:10:11]i: TeamCity server version is 9.0.4 (build 32407)
[15:10:11]E: bt6 (4m)
[15:10:11] : Checking for changes (running for 4m)
[15:10:11] : Collecting changes in 1 VCS root
@nodje
nodje / gist:415da719810bcaecc02d
Created September 17, 2015 07:49
logback init logging
//application startup logback.xml formatted log
...
2015-09-17 13:31:49.056 INFO 22580 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
//logback-access init log starts with a different pattern
13:31:49,711 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set
13:31:49,714 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
13:31:49,715 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
13:31:49,715 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [querydiff]
13:31:49,752 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.boolex.JaninoEventEvaluator] for [evaluator] property
13:31:49,774 |-INFO in ch.qos.logback.core.joran.action.
@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
@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 / 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 / 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 / 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 / ettercap_compile_error
Created January 23, 2014 05:45
Compile error
[ 67%] Building C object src/CMakeFiles/ettercap.dir/ec_main.c.o
Linking C executable ettercap
Undefined symbols for architecture x86_64:
"_g_build_filename", referenced from:
_gtkui_conf_read in libec_interfaces.a(ec_gtk_conf.c.o)
"_g_cclosure_new", referenced from:
_gtkui_init in libec_interfaces.a(ec_gtk.c.o)
_gtkui_page_attach_shortcut in libec_interfaces.a(ec_gtk.c.o)
"_g_file_test", referenced from:
_gtkui_init in libec_interfaces.a(ec_gtk.c.o)