I hereby claim:
- I am lnaia on github.
- I am lnaia (https://keybase.io/lnaia) on keybase.
- I have a public key whose fingerprint is 1CB7 A761 E35B C95B C66E 081E 3A99 DBCC D1AC 63FB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| def transpose_rows(hash) | |
| separator = ' ' | |
| rows = [] | |
| rows << hash.keys.join(separator) # header | |
| all = [] | |
| max_elements = 0 | |
| hash.each do |_, arr| | |
| all << arr | |
| max_elements = arr.length if arr.length > max_elements |
| (function () { | |
| var accumulator = 0; | |
| $('.Billing--history tr td').map(function (i, el) { | |
| var text = el.innerText.trim(); | |
| var r = /^-\$?[0-9]+(\.[0-9][0-9])?$/; | |
| var number; | |
| if (text) { |
| [{ | |
| "artist": "St. Lucia", | |
| "music": "Before The Dive", | |
| "album": "St. Lucia" | |
| }, { | |
| "artist": "Savoir Adore", | |
| "music": "Dreamers", | |
| "album": "Dreamers - EP" | |
| }, { | |
| "artist": "Little Dragon", |
| #!/bin/bash | |
| # Requires curl and jq | |
| # sudo apt-get install curl jq | |
| TEMP_OUTPUT="/tmp/.remote-jobs.json" | |
| EMAIL_COMMAND="mail -s 'Landing.jobs Auto' [email protected]" | |
| API="https://landing.jobs/api/v1" | |
| echo -n > $TEMP_OUTPUT |
| #!/bin/bash | |
| DIR=$1 | |
| EXTENSIONS=`find $DIR -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -fu` | |
| for ftype in $EXTENSIONS; do | |
| echo -n "Searching for $ftype ... " | |
| find $DIR -type f -iname "*.$ftype" -fprint $ftype.log | |
| echo found `wc $ftype.log -l | cut -d' ' -f 1` files | |
| done |
| (function () { | |
| 'use strict'; | |
| angular | |
| .module('app.offline') | |
| .service('offlineStorageService', offlineStorageService); | |
| offlineStorageService.$inject = ['store', 'imagePreloadService']; | |
| function offlineStorageService(store, imagePreloadService) { |
| #!/usr/bin/ruby | |
| require 'nokogiri' | |
| require 'open-uri' | |
| doc = Nokogiri::HTML(open("https://www.reddit.com/r/oneplus/comments/3qtbx1")) | |
| doc.css(".usertext-body .md").drop(2)[0 .. 4].each {|comment| | |
| text = comment.text.strip | |
| text.gsub!(/\n/, '') | |
| puts "> #{text}\n\n" |
| Marketplace for used college/school material (ie: books). | |
| Kevin | |
| Male, 25-34 years old | |
| Dublin | |
| Motivations & Goals | |
| Kevin never bought books online, but he is confident in his ability to do so. | |
| He wants cheaper books. He sees the need to buy a new book every year as a waste of resources and money. | |
| Sometimes Kevin, or his tutors, contact alumni in order to inquire about used material, namely books. |
| #!/usr/bin/gnuplot | |
| set terminal png | |
| set xlabel "distance" | |
| set ylabel "power" | |
| set title "Power vs Distance" | |
| set grid | |
| set style data linespoints |