Skip to content

Instantly share code, notes, and snippets.

View Betree's full-sized avatar

Benjamin Piouffle Betree

View GitHub Profile

Keybase proof

I hereby claim:

  • I am betree on github.
  • I am betree (https://keybase.io/betree) on keybase.
  • I have a public key ASA_0IUz_KIWqwtIIpBlP4K_jtZWoz4yM92sMjjEbw_AiAo

To claim this, I am signing this object:

@Betree
Betree / README.md
Created August 19, 2017 05:30
Verify Gitlab CI config (.gitlab-ci.yml) using command line

Test your CI config upon Gitlab.com API

You need to install js-yaml-cli first :

npm install -g js-yaml-cli

Example :

> ./check_gitlab_ci.sh
{"status":"invalid","errors":["variables config should be a hash of key value pairs"]}%  
@Betree
Betree / heart.scad
Created January 6, 2017 02:22
OpenSCAD parametric flat heart
module heart(size, thickness) {
middle = size / 2;
linear_extrude(thickness) {
square(size);
translate([size, middle, 0]) circle(middle);
translate([middle, size, 0]) circle(middle);
}
}
// Use it like this :
@Betree
Betree / AllCyberghostConfigUrls.md
Last active July 22, 2023 18:43
Cyberghost linux VPN configs urls for all countries

Cyberghost linux VPN configs urls for all countries

Download all the available linux configurations for your cyberghost account using the following links. These links are good for a premium account using openvpn UDP. If you want to use a different protocol, are not premium or if you want an up-to-date list, please follow the guide in the "Method" section.

You must be logged in to download these links !

Urls (as of 2016-10-26)

@Betree
Betree / countries.txt
Created October 17, 2016 01:48
Run internet speed tests on multiple countries using speedtest.net
Abkhazia
Abkhaziya
Afghanistan
Albania
Algeria
American Samoa
Andorra
Angola
Antigua and Barbuda
Argentina
@Betree
Betree / df_manager.py
Last active October 17, 2016 01:03
Allow to manage a dataframe stored in a file (via read_pickle / write_pickle) from command line
# ---------------------------------------------------------------------
# Allow to manage a dataframe stored in a file (via read_pickle / write_pickle)
# from command line
# ---------------------------------------------------------------------
import argparse
from collections import OrderedDict
import pandas as pd
Verifying that +betree is my blockchain ID. https://onename.com/betree