I hereby claim:
- I am rohfosho on github.
- I am brohith (https://keybase.io/brohith) on keybase.
- I have a public key ASCNNFmAzllZAcaAQAt2c419G0zrn9ACkqdGsgYUrDITOgo
To claim this, I am signing this object:
var webpack = require("webpack"); | |
var path = require("path"); | |
// We'll be using the ExtractTextPlugin to extract any required CSS into a | |
// // single CSS file | |
const ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
// // We'll use CopyWebpackPlugin to copy over static assets like images and | |
// fonts | |
const CopyWebpackPlugin = require("copy-webpack-plugin"); |
I hereby claim:
To claim this, I am signing this object:
** (exit) an exception was raised: | |
** (ErlangError) erlang error: :if_clause | |
(stdlib) calendar.erl:117: :calendar.date_to_gregorian_days/3 | |
(stdlib) calendar.erl:138: :calendar.datetime_to_gregorian_seconds/1 | |
(ecto) lib/ecto/adapters/postgres/datetime.ex:50: Ecto.Adapters.Postgres.DateTime.encode_timestamp/1 | |
(postgrex) lib/postgrex/query.ex:100: DBConnection.Query.Postgrex.Query.do_encode/4 | |
(postgrex) lib/postgrex/query.ex:61: DBConnection.Query.Postgrex.Query.encode/3 | |
(db_connection) lib/db_connection.ex:885: DBConnection.describe_execute/5 | |
(db_connection) lib/db_connection.ex:1009: DBConnection.run_begin/3 | |
(db_connection) lib/db_connection.ex:957: DBConnection.run_meter/3 |
Information:Gradle tasks [:app:clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:assembleDebug] | |
:app:clean | |
:app:preBuild UP-TO-DATE | |
:app:preDebugBuild UP-TO-DATE | |
:app:checkDebugManifest | |
:app:preReleaseBuild UP-TO-DATE | |
:app:prepareComAndroidSupportAppcompatV72311Library | |
:app:prepareComAndroidSupportSupportV42311Library | |
:app:prepareDebugDependencies | |
:app:compileDebugAidl |
function* main () { | |
try { | |
yield lol(); | |
} catch (error) { | |
console.error(error.type); | |
} | |
} | |
function lol () { |
var urlShortener = require('googleapis').urlshortener({version: 'v1', auth: API_KEY}); | |
var req = Q.nbind(urlShortener.url.insert.bind(urlShortener.url)); | |
var promises = urls.map(function(url) { | |
var params = {longUrl: url }; | |
return req(params).then(function(shortenedUrl) { | |
console.log(shortenedUrl); | |
}); | |
}); |
from urlparse import urljoin | |
from bs4 import BeautifulSoup | |
import requests | |
BASE_URL = "http://genius.com" | |
artist_url = "http://genius.com/artists/Andre-3000/" | |
response = requests.get(artist_url, headers={'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36'}) |