Skip to content

Instantly share code, notes, and snippets.

View alexargo's full-sized avatar

Alex Argo alexargo

  • A-Star Software
  • Cincinnati
View GitHub Profile
There is no gambling simulated or real involved in this game. We do have an in-app currency that are tokens for our multiplayer games. The tokens are not related in any way to the outcome of the game or luck. It just takes one token to play one multiplayer game. Other app reviewers in the past have made this same mistake. Hopefully you can check the review history to confirm this. Also, is there anything that we could to prevent this confusion in the future?
@alexargo
alexargo / keybase.md
Created August 25, 2016 16:45
Keybase Verification

Keybase proof

I hereby claim:

  • I am alexargo on github.
  • I am alexargo (https://keybase.io/alexargo) on keybase.
  • I have a public key whose fingerprint is EC84 85F2 D7BC 2775 4EA2 4012 B805 D251 4023 D08B

To claim this, I am signing this object:

- (void)viewDidLoad {
[super viewDidLoad];
CGSize screenSize = [UIScreen mainScreen].bounds.size;
GLKView *glkView = [self glkView];
glkView.context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
glkView.delegate = self;
glkView.backgroundColor = [UIColor blackColor];
glkView.drawableMultisample = GLKViewDrawableMultisampleNone;
@alexargo
alexargo / Parse Cloud Code.sublime-build
Created January 20, 2016 22:28
Sublime Text 3 Build System
{
"shell_cmd": "parse deploy",
"working_dir": "${project_path:${folder}}"
}
@alexargo
alexargo / gist:72ca5ae3f804caf9faaa
Created May 5, 2015 16:50
Bookmarklet to replace things in Quickbooks online
javascript:(function(){ var customerMessage = document.getElementsByClassName("customerMessage")[0]; var payeeMessage = document.getElementsByClassName("memoText")[0]; var monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; var date = new Date(); date.setDate(1); date.setMonth(date.getMonth()-1); customerMessage.value = customerMessage.value.replace("<Month>",monthNames[date.getMonth()]); customerMessage.value = customerMessage.value.replace("<Year>",date.getFullYear()); payeeMessage.value = payeeMessage.value.replace("<Month>",monthNames[date.getMonth()]); payeeMessage.value = payeeMessage.value.replace("<Year>",date.getFullYear())})();
@alexargo
alexargo / resize_to_iphone_47.sh
Created March 25, 2015 07:16
bash script to resize a 5.5" iPhone video to 4.7" iPhone that iTunes Connect is happy with
#!/bin/bash
NAME=`echo "$@" | cut -d'.' -f1`
EXTENSION=`echo "$@" | cut -d'.' -f2`
SUFFIX="_47"
echo "Converting '$NAME.$EXTENSION' to '$NAME$SUFFIX.$EXTENSION':";
ffmpeg -i "$NAME.$EXTENSION" -strict -2 -vf scale=1334x750 -aspect 1.779 "$NAME$SUFFIX.$EXTENSION"
@alexargo
alexargo / buildWithDefaults.sh
Created February 13, 2015 22:37
frankencoverit coverage scripts attempts
#!/bin/sh
#Cleanup old stuff
rm -rf build
rm -rf DerivedData
# First Run Tests
xcodebuild -scheme Common -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 5s,OS=8.1' clean test | /usr/bin/xcpretty -c --report junit
# Now Produce Test Coverage Report
@alexargo
alexargo / proxysetup.sh
Last active October 22, 2022 04:15
Script to set your proxy information based on the current default service on Mac OS X... usefull to configure the http_proxy/https_proxy variables when you have a mac running on a corporate network. - Updated for Mountain Lion
#!/bin/bash
#take a configurable service from first argument
if [ $# = 1 ]
then
SERVICE_NAME=$1
fi
#otherwise get the active one
if [ $# = 0 ]
@alexargo
alexargo / tomfoolery.json
Created March 25, 2012 20:34
Joke web videos
[
{url:"http://trololololololololololo.com/" name:"Trolololololololo..."},
{url:"http://www.youtube.com/watch?v=oHg5SJYRHA0" name:"Rick Roll"}
]
@alexargo
alexargo / iStatMenu2Installer-Lion.sh
Created November 21, 2011 04:16
iStat Menu 2.0 Installer for Lion
#!/usr/bin/env bash
#make temp directory
mkdir /tmp/istat
cd /tmp/istat
#download istatmenus 2.0
curl -O http://macfiles.brothersoft.com/Utilities/system/istatmenus2.0.zip
#download MenuCracker