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
#!/usr/bin/env python | |
import csv | |
import sys | |
import os.path | |
#filename1 = csv with all the important rows (inputfile) | |
#filename2 = csv that sorts filename1 by groups (sortby) | |
#filename3 = alternate filename, by default it is filename1 appended with '-output.csv' (output_file) | |
if len(sys.argv) <= 2: |
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
" VAM for plugin management | |
" after setting this up | |
function! ActivateVAM() | |
let addons_base = expand('$HOME') . '/vim-addons' | |
let addons_manager = addons_base . '/vim-addon-manager' | |
execute 'set runtimepath+=' . addons_manager | |
if finddir(addons_base, '') == '' | |
call mkdir(addons_base, '') | |
endif |
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
var tempLink = document.createElement("link"); | |
var hugDiv = document.createElement("div"); | |
var columns = 5; | |
tempLink.href = "http://link/to/hug.css"; | |
tempLink.type = "text/css"; | |
hugDiv.id = "hug" | |
leftDiv = document.createElement("div"); |
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
// TwitterPreview | |
- (void) webViewDidStartLoad:(KUIWebView *) webView { | |
} | |
- (void) webViewDidFinishPageLoad(KUIWebView *) webView { | |
} | |
- (void) webViewDidFinishLoad(KUIWebView *) webView { | |
} |
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
### binding part | |
public Something extends Activity { | |
public void analyticsBind(){ | |
Log.d(TAG, "bindToAnalyticsService()"); | |
Intent i = new Intent(); | |
i.setClassName("com.gimme.service", "com.gimme.service.SomeService"); | |
bindService(i, mAnalyticsConnection, Context.BIND_AUTO_CREATE); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<remote name="github" fetch="git://github.com/"/> | |
<!--<project name="intermediaterepresentation/android_kernel_htc_endeavor" path="kernel/htc/endeavor" remote="github" />--> | |
<!--<project name="intermediaterepresentation/android_device_htc_endeavor" path="device/htc/endeavoru" remote="github" />--> | |
<!--<project name="intermediaterepresentation/android_device_htc_endeavor" path="device/htc/endeavoru" remote="github" />--> | |
<project name="TripNRaVeR/tripndroid-endeavoru-2.6.39.4" path="kernel/htc/endeavor" remote="github" revision="refs/heads/master"/> | |
<project name="TripNRaVeR/android_device_htc_endeavoru" path="device/htc/endeavoru" remote="github" revision="refs/heads/jellybean"/> | |
<project name="TripNRaVeR/android_vendor_htc_endeavoru" path="vendor/htc/endeavoru" remote="github" revision="refs/heads/jellybean"/> | |
</manifest> |
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'm on Ubuntu 12.04 | |
repo init -u git://github.com/CyanogenMod/android.git -b jellybean && repo sync | |
source build/envsetup.sh | |
breakfast cm_maguro-userdebug | |
time make CC=gcc-4.4 CXX=g++-4.4 -j1 | |
... | |
Note: Recompile with -Xlint:deprecation for details. | |
target Symbolic: icache (out/target/product/maguro/symbols/system/bin/icache) |
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
Import includes file: out/target/product/mako/obj/UTILITY_EXECUTABLES/static_busybox_intermediates/import_includes | |
make: *** No rule to make target `out/target/product/mako/obj/STATIC_LIBRARIES/libext4_utils_intermediates/export_includes', needed by `out/target/product/mako/obj/UTILITY_EXECUTABLES/utility_make_ext4fs_intermediates/import_includes'. Stop. | |
make: *** Waiting for unfinished jobs.... | |
Export includes file: external/busybox/Android.mk -- out/target/product/mako/obj/UTILITY_EXECUTABLES/static_busybox_intermediates/export_includes |
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
lsb_release -a | |
# No LSB modules are available. | |
# Distributor ID: Ubuntu | |
# Description: Ubuntu 12.04.1 LTS | |
# Release: 12.04 | |
# Codename: precise | |
uname -a | |
# Linux un 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux |
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
lunch | |
You're building on Linux | |
Breakfast menu... pick a combo: | |
1. mini_armv7a_neon-userdebug | |
2. mini_armv7a-userdebug | |
3. htc_endeavoru-userdebug | |
4. htc_endeavoru-eng | |
5. full_maguro-userdebug | |
6. cm_quincyatt-eng |
OlderNewer