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
<?php | |
/** | |
* Get font awesome file icon class for specific MIME Type | |
* @see https://gist.github.com/guedressel/0daa170c0fde65ce5551 | |
* | |
*/ | |
function font_awesome_file_icon_class( $mime_type ) { | |
// List of official MIME Types: http://www.iana.org/assignments/media-types/media-types.xhtml |
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
/* | |
* Created by Storm Zhang 2014-8-24. | |
*/ | |
package com.storm.library; | |
import android.app.Activity; | |
import android.content.res.Resources; | |
import android.view.View; | |
import android.view.View.OnClickListener; |
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
#!/bin/bash | |
REQUIRED_ARGS=2 | |
PULL_DIR="./" | |
ADB_PATH=`which adb` | |
if [ $? -ne 0 ] | |
then | |
echo "Could not find adb!" | |
exit 1 | |
fi; |
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
Strg Alt Shift Key Function | |
x Einf Generate/Insert dialog | |
x x ENTER Statements completion like blocks and brackets | |
x x T Surrond codeblock with… | |
x W Select succesively increasing code blocks | |
x F11 bookmarks and mark the line with selected key | |
x F11 invokes a list of bookmarks. Pressing a key takes to associated bookmark. | |
x x Backspace go to most recent code edit. Hit again to go even further back. | |
x E recent opened files | |
x x E recent edited files |