Skip to content

Instantly share code, notes, and snippets.

View bobber205's full-sized avatar

Alex Wait bobber205

  • Chirpify
  • Portland, OR, USA
View GitHub Profile
@bobber205
bobber205 / RCTTiming.m
Created October 30, 2019 18:52
Fix react-native 0.61.x app killed by iOS system in background after 30s
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "RCTTiming.h"
#import "RCTAssert.h"
jQuery("[ng-model='versionSelection[version.versionLabel]'").slice(jQuery("[ng-model='versionSelection[version.versionLabel]'").length - 100, jQuery("[ng-model='versionSelection[version.versionLabel]'").length).click();

Keybase proof

I hereby claim:

  • I am bobber205 on github.
  • I am bobber205 (https://keybase.io/bobber205) on keybase.
  • I have a public key ASCQBFn6cdmqAAML2qqxBThGpFWNw8fftuvjfaCZdtxr9Ao

To claim this, I am signing this object:

Good Morning,
My name is Jing. I'm very interested at the Front End Developer job you posted on Craigslist!
I am comfortable with implementing responsive and well designed front end features with CSS media queries and frameworks like Bootstrap/AngularJS. I also have some experience creating restful APIs with Node.Js and Ruby on Rails.
PizzaPlanet and TwitterSearch are some recent pet projects I did with the MEAN stack. I have my resume attached along with my Portifolio and Github sites.
Before I dived into web development, I had 3 years of experience as Human Resource Specialist working in international companies like Philips and Sirona Dental. Those jobs taught me how to work in a team environment made up of people from many different backgrounds.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:v1="http://ms.marriott.com/bonus/service/v1/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<v1:RewardBonus>
<v1:MessageProperties>
<v1:SourceSystemCode>G</v1:SourceSystemCode>
<v1:SourceSubsystemCode>Chirpify</v1:SourceSubsystemCode>
<v1:OperatorID>CHIRPIFY</v1:OperatorID>
</v1:MessageProperties>
<v1:PayloadStdAttributes>
data = [[1,100],[2,200]]
data[0] = data[0] * 2
#results in [1,100,1,100],[2,200]]
This file has been truncated, but you can view the full file.
var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();
if (computerChoice < 0.34) {
computerChoice = "rock";
} else if(computerChoice <= 0.67) {
computerChoice = "paper";
} else {
computerChoice = "scissors";
} console.log("Computer: " + computerChoice);
@bobber205
bobber205 / gist:ab74fd4ab3ef86400d45
Last active August 29, 2015 14:01
Setting up local db/redis for fast page loads for frontend
Export dev database using Sequel Pros' File -> Export option.
Open up resulting huge file in vim and delete the following lines at the bottom of the file
You'll end up getting an error upon import that says somethign like
Cannot find `admin`@`%`
Delete the 3 stored procedures at the bottom of the file to resolve this including the below.