Skip to content

Instantly share code, notes, and snippets.

View jestan's full-sized avatar

Jestan Nirojan jestan

View GitHub Profile
@jestan
jestan / JVM Reading List.md
Last active August 29, 2015 14:13
JVM Reading List
@jestan
jestan / tokumx.conf
Created August 29, 2014 09:42
tokumx.conf
# tokumx.conf
#
# This configuration file contains most of the useful options and their
# defaults for TokuMX. For the full set of all available options, see
# the Users' Guide available at
# http://www.tokutek.com/products/downloads/tokumx-ce-downloads/
########################################################################
# PROCESS OPTIONS
@jestan
jestan / M2M IoT Operating Systems
Created June 4, 2014 12:08
M2M/IoT Operating Systems
Raspbian:
http://www.raspbian.org/
Contiki:
https://github.com/contiki-os/contiki
Open WRT:
Paho: provides client implementations of the MQTT protocol
Mihini: is an embedded Lua runtime providing HW abstraction and other services
Koneki: provides tools for embedded Lua developers
Scada: is a complete Java/OSGi-based SCADA system
Kura: is a Java/OSGi-based M2M container for gateways
@jestan
jestan / gist:743ec135eff832f35187
Created May 19, 2014 08:39
Find corrupted jar archives from local repos
find ~/.ivy2 ~/.m2 ~/.sbt -name "*.jar" -exec unzip -qqt {} \;
@jestan
jestan / gist:8637532
Created January 26, 2014 18:57
Android x86 Emulator on Linux

1. Launch a x86 kvm emulator

    ./emulator*x86 -avd <device-name> -qemu -m <memory> -enable-kvm

2. Install An APK on the emulator

    adb install <apk-file-name>.apk

3. Uninstall a package from the emulator

@jestan
jestan / gist:8279177
Last active January 2, 2016 08:49
Maven release:perform in one step
mvn -Darguments="-DskipTests=true" -B -Dtag=v1-0-b6 release:clean release:prepare release:perform -DreleaseVersion=1.0.6 -DdevelopmentVersion=1.0.7-SNAPSHOT
@jestan
jestan / gist:8252506
Created January 4, 2014 06:51
Create Gatling maven project from archetype
mvn archetype:generate -DarchetypeRepository=http://repository.excilys.com/content/groups/public -DarchetypeGroupId=com.excilys.ebi.gatling.highcharts -DarchetypeArtifactId=gatling-highcharts-maven-archetype -DarchetypeVersion=1.5.3
@jestan
jestan / osv-deployment-error
Created September 22, 2013 19:07
Deployment error on osv-v0.01.qcow2
acpi 0 apic 0
acpi 1 apic 1
APIC base fee00000
Loader Copyright 2013 Cloudius Systems
locale works
VFS: mounting ramfs at /
VFS: mounting devfs at /dev
ACPI: RSDP 0xfd950 00014 (v00 BOCHS )ACPI: RSDT 0x7fffd740 00034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)ACPI: FACP 0x7fffff80 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)ACPI: DSDT 0x7fffd9b0 02589 (v01 BXPC BXDSDT 00000001 INTL 20100528)ACPI: FACS 0x7fffff40 00040ACPI: SSDT 0x7fffd8b0 000FF (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001)ACPI: APIC 0x7fffd7c0 0007A (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)ACPI: HPET 0x7fffd780 00038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001)RAM disk at 0x3ed0c000 (4096K bytes)
Initializing network stack...
Done!
@jestan
jestan / gist:6319076
Created August 23, 2013 12:58
Linux Network Diagnostics
# PING is all about host reachability
1. Test the reachability
> ping <destination>
2. Test packet losses with large packets
> ping <destination> -s <packet size>