This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Hello World!"; | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "UnitTest++.h" | |
int main() | |
{ | |
return UnitTest::RunAllTests(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private class MyCursorAdapter extends SimpleCursorAdapter { | |
public MyCursorAdapter(Context context, int layout, Cursor c,String[] from, int[] to) { | |
super(context, layout, c, from, to); | |
} | |
@Override | |
public View newView(Context context, Cursor cursor, ViewGroup parent) { | |
View view = super.newView(context, cursor, parent); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resources res = getResources(); | |
res.getString(R.string.nameOfString); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <gtk/gtk.h> | |
int main( int argc, | |
char *argv[] ) | |
{ | |
GtkWidget *window; | |
gtk_init (&argc, &argv); | |
window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(INCLUDE_DIR include) | |
set(SOURCE_DIR src) | |
set(LIBRARY_DIR lib) | |
set(RESOURCE_DIR res) | |
set(USERINTERFACE_DIR uis) | |
set(TARGET_DIR bin) | |
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/${TARGET_DIR} ) | |
set(SKYPE_API skypeapi) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(i) Login... { "username": "android", "password": "********", "deviceModel": "android-generic", "version": "5", "includeUrls": true } | |
{"stat":"ok","result":{"syncTime":"387e9c469dd8a7ef416b0b5aef6f9583","deviceProperties":{"videoAdRefreshInterval":900,"videoAdUniqueInterval":0,"adRefreshInterval":5,"videoAdStartInterval":180},"partnerAuthToken":"VAcAdZD2ylc5+bDglsZ400315HA63B1nFA","partnerId":"42","stationSkipUnit":"hour","urls":{"autoComplete":"http://autocomplete.pandora.com/search"},"stationSkipLimit":6}} | |
{ "loginType": "user", "username": "********@gmail.com", "password": "********", "partnerAuthToken": "************", "syncTime": 1338990170 } | |
{"stat":"ok","result":{"stationCreationAdUrl":"http://ad.doubleclick.net/adx/pand.android/prod.createstation;ag=27;gnd=1;zip=99950;genre=0;model=;app=;OS=;dma=747;clean=0;logon=__LOGON__;tile=1;msa=;st=AK;co=02110;et=2;mc=0;aa=0;hisp=0;hhi=0;u=l*7p543pu2ncw7k!ag*27!gnd*1!zip*99950!dma*747!clean*0!logon*__LOGON__!st*AK!co*02110!et*2!mc*0!aa*0!hisp*0!hhi*0!genre*0;sz= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_xft yes | |
xftfont 123:size=8 | |
xftalpha 0.1 | |
update_interval 1 | |
total_run_times 0 | |
own_window yes | |
own_window_transparent yes | |
own_window_type override | |
own_window_class conky | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CROSS_COMPILE="arm-linux-androideabi" | |
export CC="${CROSS_COMPILE}-gcc" | |
export CXX="${CROSS_COMPILE}-g++" | |
export NDK="${HOME}/Tools/android-ndk-r9" | |
export SYSROOT="$NDK/platforms/android-14/arch-arm" | |
export PATH="$PATH:$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin" | |
export CPPFLAGS="--sysroot=${SYSROOT}" | |
export CFLAGS="--sysroot=${SYSROOT} -I." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
OlderNewer