This file contains hidden or 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 java.io.RandomAccessFile; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.File; | |
public class ID3 { | |
File mp3File; | |
private final String encoding = "Cp437"; |
This file contains hidden or 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
type User @model { | |
id: ID! | |
username: String! | |
firstName: String! | |
lastName: String! | |
profilePic: String! | |
email: String! | |
bio: String | |
about: String | |
tags: [String!] |
- have fun with them
- projections
- filters
- resource-keys
- scripting-gcloud
- gcloud alpha interactive
- https://medium.com/@Joachim8675309/getting-started-with-gcloud-sdk-part-1-114924737
- https://medium.com/@Joachim8675309/getting-started-with-gcloud-sdk-part-2-4d049a656f1a
- https://gist.github.com/bborysenko/97749fe0514b819a5a87611e6aea3db8
This file contains hidden or 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
val forName = Class::class.java.getDeclaredMethod("forName", String::class.java) | |
val getDeclaredMethod = Class::class.java.getDeclaredMethod("getDeclaredMethod", String::class.java, arrayOf<Class<*>>()::class.java) | |
val vmRuntimeClass = forName.invoke(null, "dalvik.system.VMRuntime") as Class<*> | |
val getRuntime = getDeclaredMethod.invoke(vmRuntimeClass, "getRuntime", null) as Method | |
val setHiddenApiExemptions = getDeclaredMethod.invoke(vmRuntimeClass, "setHiddenApiExemptions", arrayOf(arrayOf()::class.java)) as Method | |
val vmRuntime = getRuntime.invoke(null) | |
setHiddenApiExemptions.invoke(vmRuntime, arrayOf("L")) |
This file contains hidden or 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
# Suppress attempts to mail output. We'll check syslog. | |
MAILTO="" | |
PYTHON=/root/bot/env/bin/python | |
# Kick off Payday every Thursday. | |
0 5 * * 4 $PYTHON /root/bot/payday.py 2>&1 | logger -t KICK-OFF-PAYDAY | |
# Poll for updates every minute. | |
* * * * * /root/bot/update.sh 2>&1 | logger -t UPDATE-BOT |
This file contains hidden or 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
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/npm-* && rm -rf $TMPDIR/haste-* && rm -rf $TMPDIR/metro-* && rm -rf node_modules && npm install && rm -rf ios/Pods && cd ios && pod cache clean --all && pod repo update && pod install && ./android/gradlew clean -p ./android/ && rm -rf ios/build && rm -rf ~/Library/Developer/Xcode/DerivedData && npm start -- --reset-cache |
This file contains hidden or 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
/** | |
* Admin/GmailController | |
* | |
* @description :: Server-side logic for managing admin/gmails | |
* @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers | |
Help Links: | |
https://github.com/mscdex/node-imap | |
https://github.com/pipedrive/inbox | |
https://github.com/google/google-api-nodejs-client |
I hereby claim:
- I am xlogix on github.
- I am abhishekuniyal (https://keybase.io/abhishekuniyal) on keybase.
- I have a public key whose fingerprint is C000 D68F 8500 E966 9C14 E0F6 603F 5557 2B04 A21A
To claim this, I am signing this object:
This file contains hidden or 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
ls -C | awk -F"." '{print $1}' | xclip -selection c |
OlderNewer