I hereby claim:
- I am jrnk on github.
- I am jrn (https://keybase.io/jrn) on keybase.
- I have a public key ASC3f4Mn2dIcpLdBXGkgp8lOXHAFoDVxZKQt-Y4VjtEwIgo
To claim this, I am signing this object:
| # usage: | |
| # ig = Instagram.new(profile: "shrt").images | |
| class Instagram | |
| def initialize(args) | |
| @profile = args[:profile] | |
| @output = args[:output] ? args[:output] : :full | |
| begin | |
| response = HTTP.get("https://www.instagram.com/#{@profile}/") | |
| match_regex = /<script type="text\/javascript">window\._sharedData = (.*);<\/script>/ |
| import React, { Component } from 'react' | |
| import { Animated } from 'react-native' | |
| export default class RemoteImage extends Component { | |
| constructor(props) { | |
| super() | |
| this.state = { | |
| fadeAnim: new Animated.Value(0) | |
| } |
| <?php | |
| use Cache; | |
| use GuzzleHttp\Client; | |
| // set ENV variables: INSTAGRAM_USERNAME and optional INSTAGRAM_CACHE_TIME (in minutes, default = 60) | |
| class InstagramGateway | |
| { | |
| public function getLatestPhotos($maxNumber = 4) |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| require 'english' | |
| require 'rubocop' | |
| ADDED_OR_MODIFIED = /A|AM|^M/.freeze | |
| changed_files = `git status --porcelain`.split(/\n/). | |
| select { |file_name_with_status| | |
| file_name_with_status =~ ADDED_OR_MODIFIED |
| #!/bin/sh | |
| # Some things taken from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' | |
| green='\033[0;32m' |
| [ | |
| { "code": "aa", "name": "Afar" }, | |
| { "code": "ab", "name": "Abkhazian" }, | |
| { "code": "ae", "name": "Avestan" }, | |
| { "code": "af", "name": "Afrikaans" }, | |
| { "code": "ak", "name": "Akan" }, | |
| { "code": "am", "name": "Amharic" }, | |
| { "code": "an", "name": "Aragonese" }, | |
| { "code": "ar", "name": "Arabic" }, | |
| { "code": "as", "name": "Assamese" }, |
| ActiveRecord::Base.connection.tables.each do |table| | |
| ActiveRecord::Base.connection.reset_pk_sequence!(table) | |
| end |
I hereby claim:
To claim this, I am signing this object: