This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
dataset: { | |
id: 9775409, | |
dataset_code: "AAPL", | |
database_code: "WIKI", | |
name: "Apple Inc (AAPL) Prices, Dividends, Splits and Trading Volume", | |
description: "End of day open, high, low, close and volume, dividends and splits, and split/dividend adjusted open, high, low close and volume for Apple Inc. (AAPL). Ex-Dividend is non-zero on ex-dividend dates. Split Ratio is 1 on non-split dates. Adjusted prices are calculated per CRSP (<a href="http: //www.crsp.com/products/documentation/crsp-calculations" rel="nofollow" target="blank">www.crsp.com/products/documentation/crsp-calculations</a>) <p>This data is in the public domain. You may copy, distribute, disseminate or include the data in other products for commercial and/or noncommercial purposes.</p> <p>This data is part of Quandl's Wiki initiative to get financial data permanently into the public domain. Quandl relies on users like you to flag errors and provide data where data is wrong or missing. Get involved: <a href="mailto: connect@qua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Quick & Dirty Google Cloud Storage emulator for tests. Requires | |
// `stream-buffers` from npm. Use it like this: | |
// | |
// `new MockStorage().bucket('my-bucket').file('my_file').createWriteStream()` | |
// | |
class MockStorage { | |
buckets: {[name: string]: MockBucket}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io" | |
"os" | |
) | |
var path = "/Users/novalagung/Documents/temp/test.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Captcha::reCAPTCHA::V2; | |
any ['get', 'post'] => '/' => sub { | |
my $rc = Captcha::reCAPTCHA::V2->new; | |
my $widget = $rc->html('site_key', { theme => 'light' }); | |
template 'index' => { recaptcha => $widget }; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
package WebService::SendGrid::Newsletter::Lists; | |
use WebService::SendGrid::Newsletter::Lists::Email; | |
=method new | |
Creates a new instance of WebService::SendGrid::Newsletter::Lists. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If: | |
- you add and commit with the wrong email address in git, and | |
- your remote has a hook set up to prevent you from pushing with the bad address | |
Then you need to amend the author of your commit before push can succeed: | |
1. fix your email address in git config: | |
$ git config user.name "Your Name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 => [ | |
"B", | |
[ | |
{ name => "Bil, b\xE5t og motor", url => "bil_bat_og_motor/" }, | |
{ name => "Bolig og eiendom", url => "bolig_og_eiendom/" }, | |
{ name => "Bransjer og bedrifter", url => "bransjer_og_bedrifter/" }, | |
], | |
"F", | |
[ | |
{ name => "Familie og livsstil", url => "familie_og_livsstil/" }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
charactors => [ | |
{ | |
detail => [ | |
{ | |
name => "ABC Penger", | |
url => "http://www.abcnyheter.no/abc-penger/oekonomi/", | |
}, | |
{ name => "Altinn", url => "https://www.altinn.no/no/" }, | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bless( { | |
'json_results' => undef, | |
'page' => 1, | |
'_duplicates' => 0, | |
'entries_per_page' => '10', | |
'query' => 'thailand', | |
'supplemental_count' => 0, | |
'supplemental_hits' => [], | |
'entry_class' => 'Net::Search::JSON::Entry', | |
'current_count' => 0, |