Instance | Branch |
---|
This file contains hidden or 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
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
This file contains hidden or 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
task "resque:pause" => :environment do | |
Resque.redis.set "resque_paused", true | |
puts "Resque paused." | |
end | |
task "resque:resume" => :environment do | |
Resque.redis.set "resque_paused", false | |
puts "Resque resumed." | |
end |
This file contains hidden or 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
{ | |
"Blocks": [ | |
{ | |
"Id": "24", | |
"Type": "bang", | |
"Rule": null, | |
"Position": { | |
"X": 309, | |
"Y": 79 | |
} |
This file contains hidden or 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
My Dear Friend, be my expected future partner, | |
My name is Mr.Phillip Morris. I am a banker here in Ghana. I got your contact from the online data base. I need your help to transfer the sum of US$12,500,000.00 into your account as my foreign investment partner. The money is part of the profits made by our bank last year (i.e. 2013) in the branch where I am the manager. I have already submitted annual report for last year to my bank head office in Accra - Ghana, and they did not notice the excess profits. | |
Meanwhile, I deposited the US$12,500,000.00 in an escrow account without a beneficiary (Anonymous), to avoid any trace. I cannot be directly connected to this fund because I'm still working with the bank. So, I need your help to transfer this money to your country for you and I to share. I have the desire to invest my own share of the money in any good business venture over there in your Country. I wish to point out 10% of this money to be shared among the charity organization, the remaining 90%, you have |
This file contains hidden or 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
WAKLibDems | RuthSmeeth | mitch_1uk | Go4Lowe | ReshamKotecha | Jack_Tinley | iaingartside | votejamesberry | CllrScottMann | CllrAnnSteward | CharlotteHT_ | julianknight15 | lindsey4wnorth | KevinGillottPPC | WillJMartindale | SamJRushworth | RuthCadbury | Mari_Williams | JoeCookeLabour | paulasherriff | natashamillward | rupahuq | Steph_Peacock | CatherineWest1 | RichardBurgon | lloydrm | ToddDForeman | Jessica_Asato | annaturley | SachinPatel_87 | wdjstraw | HuwSECambLabour | KateVotesLabour | JuliaTickridge | clairethomas1 | liverlibdems | DrJennyWoods | gracelibdem | liz4stratford | JackieLibDem | ann4oxfordeast | DavidHMalone | derbynukipppc | Neilkelly13 | stevenjbrookes | green_mac | robjlinds | MachanUkip | ettiespencer | howell_karen | charliekiss | brisfox | CllrMattBrown | cllrsrichardson | angelamawle | ianddriver | dinahkeal | emmawarman | mapesburygreen | maureenchilds2 | davidschofiel18 | CllrRichardLee | ukip_swindon | idhamramadi | kevin_kerrigan1 | xanderedz77 | paulhalliday | PaulForWest |
---|
This file contains hidden or 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
#!/usr/bin/env ruby | |
# USAGE: | |
# | |
# ./alc [action] [url] | |
# ex: | |
# ./alc keyword http://www.bbc.co.uk/news/magazine-31556802 | |
# ./alc concept http://www.bbc.co.uk/news/magazine-31556802 | |
# ./alc entity http://www.bbc.co.uk/news/magazine-31556802 | |
# |
This file contains hidden or 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
gin | market | tonic | slice | |
--------------------|---------------------|----------------------------|-------- | |
Beefeater | Domestic | Fever Tree Indian | Lemon | |
Beefeater | Imported | Indi | Lemon | |
Beeferater 24 | Domestic | Fever Tree Mediterranean | Lemon | |
Beeferater 24 | Imported | Indi | Lemon | |
Bloom | Domestic | Fever Tree Indian | Lemon | |
Bloom | Imported | Indi | Lime | |
Bombay Saphire | Domestic | Fever Tree Mediterranean | Lime | |
Bombay Saphire | Imported | Abbondio | Lime |
This file contains hidden or 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
import React from 'react'; | |
import $script from 'scriptjs'; | |
require('postscribe/htmlParser/htmlParser.js'); // This is required for postScribe, postScribe is a bit annoying. | |
const postscribe = require('exports?postscribe!postscribe'); // Needs webpack exports-loader! Otherwise, just require it and use window.postscribe. | |
// This GlobalAdCodePromise is a simple promise that uses script.js to load a javascript file and then resolve. | |
const GlobalAdCodePromise = new Promise((resolve) => { | |
setTimeout(() => { | |
$script('http://annoying.adprovider.com/ad.js', () => { |
If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml
.
OlderNewer