I hereby claim:
- I am gtfunes on github.
- I am gtfunes (https://keybase.io/gtfunes) on keybase.
- I have a public key ASBPo51cFQG7MMMIoi4j6uVf5OLG6eyOwpLjP1Wjhvsaugo
To claim this, I am signing this object:
| #!/bin/bash | |
| # - Selects an AVD emulator and boots it up - | |
| HAS_DEVICE=$(adb get-state 2>/dev/null) | |
| if [ ! -z "$HAS_DEVICE" ]; then | |
| echo "A device is connected, nothing to do here..." | |
| exit | |
| fi |
| #!/bin/bash | |
| # - Clears app caches, run from project root - | |
| echo -e "Removing caches...\n" | |
| rm -rf node_modules | |
| rm -rf ios/build | |
| rm -rf ios/Pods | |
| rm -rf ~/Library/Developer/Xcode/DerivedData | |
| rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* |
| #!/bin/bash | |
| # - Creates an empty space in the dock - | |
| defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' | |
| killall Dock |
| #!/bin/bash | |
| # - Runs apt-get upgrade for each individual package to avoid killing low-end machines - | |
| DATA=$(apt-get upgrade -s -y -q | grep "Inst " | cut -d ' ' -f 2) | |
| PACKAGES=(${DATA// / }) | |
| Z=0 | |
| for package in "${PACKAGES[@]}"; | |
| do |
| #!/bin/bash | |
| # - WiFi switching script - | |
| # Reads from wifis.txt file that has one network per line name=password | |
| echo "Loading known networks list..." | |
| MAX_NETWORKS=0 | |
| while IFS='=' read -r var value || [[ -n "$line" ]]; do | |
| WIFI_NETWORK_NAMES[MAX_NETWORKS]="${var}" |
| // | |
| // NSObject+performBlock.h | |
| // | |
| #import <Foundation/Foundation.h> | |
| /** | |
| An NSObject category to perform code blocks in particular threads and with different priorities | |
| */ | |
| @interface NSObject (PerformBlock) |
| import android.graphics.Bitmap; | |
| import android.graphics.BitmapFactory; | |
| import android.graphics.Canvas; | |
| import android.graphics.Matrix; | |
| import android.graphics.Paint; | |
| import android.support.media.ExifInterface; | |
| import android.util.Log; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.IOException; |
I hereby claim:
To claim this, I am signing this object: