I hereby claim:
- I am saurabhlakhera on github.
- I am saurabhlakhera (https://keybase.io/saurabhlakhera) on keybase.
- I have a public key ASD3IW3dyUoR6DIwLVMSAn59GFcdo4Kef4X-KY2JYgWh6wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| @AutoValue.Builder | |
| public abstract static class Builder { | |
| public abstract List<String> list(); | |
| public abstract Builder setList(List<String> list); | |
| abstract ListContainer autoBuild(); | |
| public ListContainer build() { | |
| setList(ImmutableList.copyOf(list())); |
| public static String[] getStorageDirectories() { | |
| // Final set of paths | |
| final Set<String> rv = new HashSet<String>(); | |
| // Primary physical SD-CARD (not emulated) | |
| final String rawExternalStorage = System.getenv("EXTERNAL_STORAGE"); | |
| // All Secondary SD-CARDs (all exclude primary) separated by ":" | |
| final String rawSecondaryStoragesStr = System.getenv("SECONDARY_STORAGE"); | |
| // Primary emulated SD-CARD | |
| final String rawEmulatedStorageTarget = System.getenv("EMULATED_STORAGE_TARGET"); | |
| if (TextUtils.isEmpty(rawEmulatedStorageTarget)) { |
| Xft.autohint: 1 | |
| Xft.lcdfilter: lcddefault | |
| Xft.hintstyle: hintslight | |
| Xft.hinting: 1 | |
| Xft.dpi:96 | |
| Xft.antialias: 1 | |
| Xft.rgba: rgb | |
bindsym --release button2 kill
bindsym --whole-window $mod+button2 kill
bindsym button3 floating toggle bindsym $mod+button3 floating toggle
| /* | |
| * source: https://stackoverflow.com/questions/6754973/how-to-insert-extra-elements-into-a-simplecursoradapter-or-cursor-for-a-spinner/14622789#14622789 | |
| */ | |
| MatrixCursor extras = new MatrixCursor(new String[] { "_id", "title" }); | |
| extras.addRow(new String[] { "-1", "New Template" }); | |
| extras.addRow(new String[] { "-2", "Empty Template" }); | |
| Cursor[] cursors = { extras, cursor }; | |
| Cursor extendedCursor = new MergeCursor(cursors); | |
| #!/bin/bash | |
| sudo vbetool dpms off |
| #!/bin/bash | |
| #set -x | |
| &> /dev/null | |
| while [ 1 ] | |
| do | |
| temp=$(i8kctl temp) | |
| #echo $temp | |
| if [[ $temp -ge "0" && $temp -le "50" ]] | |
| then | |
| i8kfan -1 0 |
| #!/bin/sh | |
| urxvtc "$@" | |
| if [ $? -eq 2 ]; then | |
| urxvtd -q -o -f | |
| urxvtc "$@" | |
| fi |