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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"meta": { | |
"theme": "onepage-plus" | |
}, | |
"basics": { | |
"name": "Nicolas Bétheuil", | |
"email": "[email protected]", | |
"label": "Solutionneur professionel - Développeur senior", | |
"website": "https://wadouk.github.io", |
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
package server | |
import sttp.capabilities.zio.ZioStreams | |
import sttp.tapir.generic.auto.* | |
import sttp.tapir.json.zio.TapirJsonZio | |
import sttp.tapir.server.ziohttp.ZioHttpInterpreter | |
import sttp.tapir.ztapir.* | |
import sttp.tapir.{json, Endpoint, PublicEndpoint} | |
import zhttp.http.* | |
import zhttp.http.middleware.Cors.CorsConfig | |
import zhttp.service.Server |
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
# https://linuxconfig.org/how-to-rollback-pacman-updates-in-arch-linux | |
grep -a upgraded /var/log/pacman.log| grep 2020-11-30 > /tmp/lastupdates.txt | |
awk '{print $4}' /tmp/lastupdates.txt > /tmp/lines1 | |
awk '{print $5}' /tmp/lastupdates.txt | sed 's/(/-/g' > /tmp/lines2 | |
paste /tmp/lines1 /tmp/lines2 > /tmp/lines | |
tr -d "[:blank:]" < /tmp/lines > /tmp/packages | |
cd /var/cache/pacman/pkg/ | |
for i in $(cat /tmp/packages); do sudo pacman --noconfirm -U "$i"*; done |
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
# http://developer.asustor.com/tools | |
# from https://neerajcodes.wordpress.com/2017/08/06/intro-to-cross-compilation/ | |
export CCHOST=arm-marvell-linux-gnueabi | |
export TOOLCAHIN=../$CCHOST/bin/$CCHOST | |
export CC=$TOOLCAHIN-gcc | |
export LD=$TOOLCAHIN-ld | |
export CPP=$TOOLCAHIN-cpp | |
export CXX=$TOOLCAHIN-g++ | |
export AR=$TOOLCAHIN-ar | |
./configure --prefix=$(pwd)/target/ --host=CCHOST |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// ==UserScript== | |
// @name K8s doc enhancer | |
// @version 1 | |
// @grant none | |
// @include http*://*kubernetes.io/docs/* | |
// @run-at document-idle | |
// ==/UserScript== | |
var base = /(.+)io(\/.+)/.exec(location.href) |
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
const ics = require('ics') | |
const {parse, format} = require('date-fns') | |
const fs = require('fs') | |
const path = require('path') | |
var events = fs.readFileSync(path.join(__dirname, 'talks_2018.json')) | |
function date2array(d) { | |
var d0 = parse(d) |
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
PS1="\[\033[01;32m\]{\${PIPESTATUS[@]}} \t [\[\033[01;37m\]\W\[\033[01;32m\]]\[\033[00m\]\$(__git_ps1 ' (%s)')\[\033[01;32m\]\n\$\[\033[00m\] " |
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
# @see https://web.archive.org/web/20170407025318/https://people-mozilla.org/~dietrich/places-erd.png | |
select * from moz_bookmarks | |
where id in ( | |
select r.parent from moz_keywords k, moz_places p, moz_bookmarks b, moz_bookmarks r | |
where k.place_id = p.id | |
and b.fk = p.id | |
and r.id = b.parent) |
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
if [ -d "$HOME/.userbin" ] ; then | |
for i in $(ls $HOME/.userbin/*); do source $i; done | |
fi |
NewerOlder