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 | |
function pw () { | |
cat /dev/urandom | env LC_CTYPE=C tr -dc a-zA-Z0-9 | head -c $1; echo; | |
} |
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
package com.feigdev.demo.app; | |
import android.app.PendingIntent; | |
import android.app.Service; | |
import android.content.Intent; | |
import android.os.AsyncTask; | |
import android.os.Handler; | |
import android.os.IBinder; | |
import android.util.Log; | |
import android.widget.RemoteViews; |
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
package com.feigdev.witness; | |
/** | |
* Created by ejf3 on 5/10/14. | |
*/ | |
public interface Reporter { | |
public void notifyEvent(Object o); | |
} |
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
<activity | |
android:name="com.google.android.glass.sample.timer.MenuActivity" | |
android:label="@string/app_name" | |
android:theme="@style/MenuTheme" | |
android:enabled="true" > | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN"/> | |
<category android:name="android.intent.category.LAUNCHER"/> | |
</intent-filter> | |
</activity> |
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
package com.feigdev.hearingaid.app; | |
import android.app.Activity; | |
import android.media.*; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.util.Log; | |
public class HearingAidActivity extends Activity { |
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
<activity | |
android:name=".GGMainActivity" | |
android:label="@string/app_name" > | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN"/> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
</activity> |
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
<!DOCTYPE html> | |
<html> | |
<body style="background-image:linear-gradient(45deg,#0a1855 0,#da0024 100%);"> | |
</body> | |
</html> |
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
public static class ApplicationInfoComparer implements Comparator<ApplicationInfo> { | |
private PackageManager pm1; | |
ApplicationInfoComparer(PackageManager pm) { | |
pm1 = pm; | |
} | |
@Override | |
public int compare(ApplicationInfo x, ApplicationInfo y) { | |
if (null == pm1) |
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
android { | |
... | |
signingConfigs { | |
debug { | |
storeFile file("debug.keystore") | |
} | |
} | |
} |
NewerOlder