Skip to content

Instantly share code, notes, and snippets.

Payton Yao jabbawookiees

Block or report user

Report or block jabbawookiees

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 animated-component.jsx
import React from 'react';
import { Animated, Easing, Text } from 'react-native';
class AnimatedComponent extends React.Component {
constructor(props) {
super(props);
this.animation = new Animated.Value(0.001);
}
componentDidMount() {
this.animation.setValue(0.001);
@jabbawookiees
jabbawookiees / SwitcherApp.jsx
Last active May 1, 2018
Demo RN application to play with FlatLists
View SwitcherApp.jsx
import React, { PureComponent } from 'react';
import { TouchableOpacity, Text, View, StyleSheet, FlatList } from 'react-native';
const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
const numbers = '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'.split('');
class ListDisplay extends PureComponent {
_header = () => {
return (
<View>
View bullshit.sh
sudo rm .bash_profile
echo 'export PATH=/usr/local/opt/ruby/bin:$PATH' > .bash_profile
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew install ruby
PATH=/usr/local/opt/ruby/bin:$PATH
gem install bundler
git clone git://github.com/UP-MIT-GSL/angular-momentum.git
cd angular-momentum
bundle install
bundle exec vagrant up
@jabbawookiees
jabbawookiees / gist:5787176
Created Jun 15, 2013
List of cities in Texas
View gist:5787176
["Abbott","Abernathy","Abilene","Ackerly","Addison","Adrian","Agua Dulce","Alamo","Albany","Aledo","Alice","Allen","Alpine","Alton","Alvarado","Alvin","Amarillo","Ames","Amherst","Anahuac","Anderson","Andrews","Angleton","Angus","Anna","Anson","Anton","Appleby","Aquilla","Aransas Pass","Archer City","Arcola","Argyle","Arlington","Arp","Asherton","Athens","Atlanta","Aubrey","Aurora","Austin","Austwell","Azle","Bailey","Balch Springs","Balcones Heights","Ballinger","Balmorhea","Bandera","Bangs","Bardwell","Barry","Barstow","Bartlett","Bastrop","Bay City","Bayou Vista","Baytown","Beach City","Beasley","Beaumont","Beckville","Bedford","Bedias","Bee Cave","Beeville","Bellaire","Bellevue","Bellmead","Bellville","Belton","Benavides","Benbrook","Benjamin","Bertram","Beverly Hills","Bevil Oaks","Big Lake","Big Spring","Big Wells","Bishop","Blackwell","Blanco","Blossom","Blue Mound","Blue Ridge","Boerne","Bogata","Bonham","Borger","Bovina","Bowie","Brackettville","Brady","Brazoria","Brazos Bend","Brazos Country","Breck
You can’t perform that action at this time.