Skip to content

Instantly share code, notes, and snippets.

View jaredatron's full-sized avatar

Jared Grippe jaredatron

View GitHub Profile
@jaredatron
jaredatron / .gitignore
Created February 28, 2017 16:31
~/.gitignore
# Numerous always-ignore extensions
*.diff
*.err
*.log
*.orig
*.rej
*.swo
*.swp
*.vi
*.zip
class HangManGame extends Component {
constructor(props){
super(props)
this.state = {
guesses: []
}
}
gameLogic(){
@jaredatron
jaredatron / .bash_profile
Last active January 10, 2017 21:31
.bashrc
[[ -r ~/.bashrc ]] && . ~/.bashrc
URL;Redirect
occupydemocrats.com;
bipartisanreport.com;
winningdemocrats.com;
politicususa.com;
bluenationreview.com;
ifyouonlynews.com;
usuncut.com;
thefreethoughtproject.com;
addictinginfo.org;
@jaredatron
jaredatron / .gitconfig
Last active November 10, 2016 18:43
Jareds .gitconfig setup (all files in home directory)
[alias]
l = log --oneline --decorate --graph --relative-date --show-signature
sl = !git l -20
ll = log --decorate --graph
st = status --short --branch
co = checkout
ci = commit
br = branch
bd = branch-details
dt = difftool
const DanielasAwesomePage = (props) => {
const {activeTab, otherOption} = props
return <div className="DanielasAwesomeMap">
...
</div>
}
const PageA = (props) => (
<DanielasAwesomePage
activeTab="TabA"
require 'httparty'
loop do
response = HTTParty.get('http://store.apple.com/')
if response.include?('http://images.apple.com/r/store/backsoon/1x-covers-animation-v3.gif')
puts "not yet"
sleep 10
else
break
end
@jaredatron
jaredatron / babel-question.md
Created October 8, 2016 17:38
Babel Question

Babel Question

whenever I use babel I notice my source becomes littered with coppies of code like this:

  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
@jaredatron
jaredatron / Can React be used to render Qt.md
Created October 1, 2016 23:32
Can React be used to render Qt?

Can React be used to render Qt?

I'm inspired by seif but it renders using QT

Can React be used to render Qt interfaces?