Skip to content

Instantly share code, notes, and snippets.

Alex Wait bobber205

Block or report user

Report or block bobber205

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Application Version Removal
jQuery("[ng-model='versionSelection[version.versionLabel]'").slice(jQuery("[ng-model='versionSelection[version.versionLabel]'").length - 100, jQuery("[ng-model='versionSelection[version.versionLabel]'").length).click();
View keybase.md

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:

View thing.txt
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.
View request.xml
<?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>
View gist:77fd128d824537e1ac41
data = [[1,100],[2,200]]
data[0] = data[0] * 2
#results in [1,100,1,100],[2,200]]
View gist:101040f807bc36243c29
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 Aug 29, 2015
Setting up local db/redis for fast page loads for frontend
View gist:ab74fd4ab3ef86400d45
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.
You can’t perform that action at this time.