Skip to content

Instantly share code, notes, and snippets.

{"cluster_name":"my-es-cluster","nodes":{"8J3yajnkT32WOTdHHZH6_A":{"timestamp":1471335300027,"name":"Fer-de-Lance","transport_address":"1.1.1.1:9300","host":"1.1.1.1","ip":["1.1.1.1:9300","NONE"],"attributes":{"aws_availability_zone":"us-east-1d"},"indices":{"docs":{"count":161195481,"deleted":0},"store":{"size_in_bytes":59017902862,"throttle_time_in_millis":0},"indexing":{"index_total":19652866,"index_time_in_millis":17883476,"index_current":1,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":0,"query_total":0,"query_time_in_millis":0,"query_current":0,"fetch_total":0,"fetch_time_in_millis":0,"fetch_current":0,"scroll_total":0,"scroll_time_in_millis":0,"scroll_current":0},"merges":{"current":2,"current_docs":399055,"current_size_in_bytes":161433315,
@mbravorus
mbravorus / gist:7468751
Created November 14, 2013 15:28
Quick preserved lemons
Ingredients: 3 large lemons, 6 cups water, 1/3 cup sea salt
Preparation: Rinse the lemons under cool running water and remove any surface wax by scrubbing with an abrasive sponge. Using a sharp knife, make 8 vertical but shallow incisions along the length of the lemon, taking care not to cut into the flesh. Set aside.
In a large non-reactive saucepan, bring the water and salt to a boil. Add the lemons and boil until the rind is very soft, about 8 minutes. Remove the pan form the heat and set aside to let the lemons cool in the cooking liquid.
Using a slotted spoon or tongs, transfer the cooled lemons but not the cooking liquid to a clean, dry 16-ounce glass jar with a lid, pressing on the lemons to release any juice and ensure a snug fit. (It may be necessary to cut 1 of the lemons into halves or quarters to ensure that they are tightly packed.) Add enough of the cooking liquid to cover the lemons; it is important that they be completely immersed. (Cover and refrigerate any remaining cooking liquid; you mi
server {
listen 80;
return 301 https://$host$request_uri;
}
server {
listen 443;
server_name jenkins.domain.com;
require 'json'
require 'open-uri'
url = 'https://api.github.com/repos/pepyatka/pepyatka-server/milestones/8'
buffer = open(url).read
result = JSON.parse(buffer)
today = Date.today
due = Date.parse(result['due_on'])