Skip to content

Instantly share code, notes, and snippets.

Bertrand Cachet bcachet

Block or report user

Report or block bcachet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cs_templates_md5_uuid.txt
checksum uuid url created url account_id
0f1af4394586b5ca2748fde0a6de0f1f b19ab99c-f607-43ad-b658-844674a2f01d 2019-01-24 10:08:10 NULL 12906
197e1d0622fa9f5b7d1b6b9c21286583 694bdc8f-c231-49a7-a059-f092158b9bfb 2019-01-24 14:02:14 NULL 12906
0d0e9c6da82a97e4c496deb8a996f4ff 10b3cdbb-61fa-449c-a433-5ef7ff323213 2019-02-05 14:18:06 NULL 12906
7a66de26a4ed1b0a9c6ce944ae50b5c1 3e658dc0-5b4c-4c87-badc-a1b40f5cd2a0 2019-02-05 14:23:48 NULL 12906
0d0e9c6da82a97e4c496deb8a996f4ff 1e999a89-b652-4a0e-8505-45a5fffe7c47 2019-02-05 15:05:39 NULL 12906
0d0e9c6da82a97e4c496deb8a996f4ff a171564b-e451-4
View debug.diff
diff --git src/obwald/service/dns.clj src/obwald/service/dns.clj
index 5bc6584..89263b0 100644
--- src/obwald/service/dns.clj
+++ src/obwald/service/dns.clj
@@ -219,8 +219,8 @@
(defn update-domain-record!!
[request params record-id record]
(d/let-flow [domain (fetch-domain!! request params)
- record (dnsimple/update-domain-record (->dnsimple-client request)
+ result (dnsimple/update-domain-record (->dnsimple-client request)
View debug.diff
diff --git src/obwald/client/dnsimple.clj src/obwald/client/dnsimple.clj
index a502e02..407b797 100644
--- src/obwald/client/dnsimple.clj
+++ src/obwald/client/dnsimple.clj
@@ -267,6 +267,7 @@
(select-keys [:name :content :ttl :prio])
(fn [response]
+ (debug (-> response :body :data))
(if (successful? response)
View manifold_bus.clj
(ns play-with-manifold
[aleph.http :as http]
[ :as s]
[manifold.bus :as b]
[manifold.deferred :as d]
[byte-streams :as bs]
[cheshire.core :as json])
(:import io.netty.handler.codec.http.HttpContentDecompressor
bcachet /
Last active Apr 24, 2018
Cassandra: Export all tables from keyspaces on server
function join
local IFS="$1"; shift; echo "$*";
function cqlsh_on
bcachet / Exoscale_S3.cs
Created Apr 12, 2018
Configuration of AWS S3 for .Net with Exoscale SOS
View Exoscale_S3.cs
var config = new Amazon.S3.AmazonS3Config()
ServiceURL = "",
var client = new Amazon.S3.AmazonS3Client(apikey, secretKey, config);
bcachet /
Last active Mar 2, 2018
Upload file to with aws PHP SDK and curl


It is important that file field is in last position (fields after file are omitted)

curl `./post_upload.php` -F file=@some-file-to-upload.txt
bcachet / Dockerfile
Last active Feb 27, 2018
Elasticsearch 2.4.6
View Dockerfile
FROM elasticsearch:2.4.6
RUN bin/plugin install cloud-aws
bcachet / PKGBUILD
Last active Dec 18, 2017
libzookeeper PKGBUILD patch
# Maintainer: <>
arch=('i686' 'x86_64')
makedepends=(apache-ant autoconf cppunit)
bcachet / profile.ps1
Last active Aug 29, 2017
PowerShell Profile
View profile.ps1
$modules = @('posh-git', 'Jump.Location', 'PathUtils')
$notInstalledModules = New-Object System.Collections.ArrayList
$modules | ForEach-Object {
If(-Not (Test-Path -Path (Join-Path $PSScriptRoot ".\Modules\$_")))
You can’t perform that action at this time.