{ id: "5ddd48869033f0595a9619d46805e0da",
changes: [ { rev: "1-21b1243be5cc354143d8613575225a74" } ],
doc:
{ path: "/parent",
name: "foo",
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
def long_filename | |
sha1 = File.read('sha1').chomp | |
"my_prog-#{sha1}" | |
end | |
file "archive.tgz" do | |
Rake::Task[:build].invoke | |
`tar cvzf archive.tgz #{long_filename}` | |
end |
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 ( | |
"encoding/json" | |
"flag" | |
"github.com/bmizerany/pat" | |
"io" | |
"log" | |
"net/http" | |
) |
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
def mix_periods | |
list_period = seasons.inject([]) do |acc, season| | |
season.periods.inject(acc) do |a,period| | |
a << (period.start_date..period.end_date); a | |
end | |
end | |
until list_period.empty? | |
period_test = list_period.pop | |
if list_period.any?{|lp| period_test.cover?(lp.begin) || lp.cover?(period_test.begin) } |
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
#encoding: utf-8 | |
require 'tire' | |
require 'json' | |
require 'active_support/core_ext/object/to_query' | |
require 'active_support/core_ext/object/to_param' | |
conf = { | |
settings: { | |
number_of_shards: 1, | |
number_of_replicas: 0, |
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
Je suis désolé, mais je ne correspond pas à ce que vous cherchez. Développer un site internet tel que celui-ci prend plusieurs mois hommes. | |
Je n'ai personnellement que 3 heures par semaine de disponible actuellement en dehors de mon travail de salarié chez bemyboat, de CTO chez supermarmite et de père de famille. | |
Je ne pourrais donc pas vous aider à moins que vous ne soyez prêt à patienter plusieurs années pour avoir une version beta. | |
Cordialement, | |
Cyril Mougel |
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
include $(GOROOT)/src/Make.inc | |
TARG=go-bench | |
GOFILES=go-bench.go | |
include $(GOROOT)/src/Make.cmd |
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
include $(GOROOT)/src/Make.inc | |
TARG=long_polling | |
GOFILES=long_polling.go | |
include $(GOROOT)/src/Make.cmd |
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
#!/usr/bin/env ruby | |
require "maze" | |
i = 1 | |
e = nil | |
loop do | |
maze = Maze.new(i, e) | |
maze.fetch | |
maze.construct |
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
Username = <%= @var %> |