Skip to content

Instantly share code, notes, and snippets.

APP_SRC = "code.c";
APP_SRC = "CMUCam2.c";
APP_SRC = "MessageInterface.c";
APP_SRC = "FSIO.c";
APP_SRC = "SD.c";
APP_SRC = "SSD1926_JPEG.c";
APP_SRC = "SSD1926_SDCard.c";
APP_SRC = "gui/GDD_Resource.c";
APP_SRC = "gui/GDD_Screens.c";
APP_SRC = "gui/GDD_X_Event_Handler.c";
/*************GRAPHICS DRIVERS******************/
APP_SRC = "../Microchip/Graphics/Drivers/drvTFT001.c";
APP_SRC = "../Microchip/Graphics/Drivers/drvTFT002.c";
APP_SRC = "../Microchip/Graphics/Drivers/HIT1270.c";
APP_SRC = "../Microchip/Graphics/Drivers/HX8347.c";
APP_SRC = "../Microchip/Graphics/Drivers/mchpGfxDrv.c";
APP_SRC = "../Microchip/Graphics/Drivers/mchpGfxLCC.c";
APP_SRC = "../Microchip/Graphics/Drivers/SH1101A_SSD1303.c";
APP_SRC = "../Microchip/Graphics/Drivers/SSD1339.c";
CFLAGS="-I/home/nkigen/microchip-application-libraries-v2013-02-15-linux/Microchip/Include";
CFLAGS="-I/home/nkigen/microchip-application-libraries-v2013-02-15-linux/Board_Support_Package";
CFLAGS="-I/home/nkigen/microchip-application-libraries-v2013-02-15-linux/Microchip/Include/Graphics";
CFLAGS="-I/home/nkigen/microchip-application-libraries-v2013-02-15-linux/test";
CFLAGS="-I/home/nkigen/microchip-application-libraries-v2013-02-15-linux/test/gui";
CFLAGS="-I/home/nkigen/microchip-application-libraries-v2013-02-15-linux/Graphics/Primitive_Layer";
LDFLAGS="-Wl,--defsym=_min_heap_size=40000";
LDFLAGS="-Wl,--defsym=_min_stack_size=2500";
@nkigen
nkigen / FlickRoundAppState.java
Created May 4, 2014 21:41
Class extending Android's Application class
package com.app.flickround.common;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.apache.http.impl.conn.DefaultClientConnection;
import com.app.flickround.data.FlickrLocationPreferenceManager;
import com.app.flickround.flickr.FlickrPhotoDetails;
@nkigen
nkigen / AndroidManifest.xml
Created May 4, 2014 21:46
FlickRound Manifest File
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.app.flickround"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="19" />

When I started erlang, I had a hard time thinking of ideas for projects to improve my skills. Now I have way too many ideas to possibly implement Myself. Since I actually want these projects to exist so I can use them (everlasting glory coming secondary to some handy tools) I have written them up here. Feel free to try them out. I'm open to questions and suggestions.

swagger for erlang

swagger is a JSON spec for REST APIs. Once you have written a spec in swagger, it can generate documentation (demo) and REST handlers.

An erlang swagger library should take swagger specs and generate cowboy_rest handlers for them.

Difficulty: low

@nkigen
nkigen / .bash_alias
Created October 14, 2014 09:19
My .bash_alias file
alias clc='clear'
alias myscilab='/home/nkigen/scilab-5.4.1/bin/scilab'
alias nexttool='sudo /home/nkigen/NXT/NextTool/NeXTTool /COM=usb'
alias go='xdg-open'
alias ispin='/usr/local/bin/ispin.tcl'
alias astudio='/home/nkigen/android-studio/bin/studio.sh'
alias eclipse='/home/nkigen/eclipse2/eclipse/eclipse'
alias jade_gui='java -cp /home/nkigen/development/jade/jade/lib/jade.jar jade.Boot -gui'
alias NuSMV='/home/nkigen/nusmv/bin/NuSMV'
alias mypane='tmux select-pane -t'
http://stackoverflow.com/questions/24428027/can-i-setup-robolectric-in-its-own-module
https://github.com/evant/android-studio-unit-test-plugin
https://github.com/JCAndKSolutions/android-unit-test
@nkigen
nkigen / gist:bb09fc30ccdd9f76999b
Created October 23, 2014 10:40
Erlang Resources
http://videlalvaro.github.io/2014/02/why-you-should-learn-erlang.html