Skip to content

Instantly share code, notes, and snippets.

View bikerduweb's full-sized avatar

Olivier bikerduweb

  • France
View GitHub Profile
@bikerduweb
bikerduweb / README.md
Created October 10, 2022 11:07
Updated scaleway kernel modules / headers script for old VC1S instance

Theses scripts are extracted from a recent scaleway instance, and can be used to replace the very old scripts existing in /usr/local/sbin of a VC1S instance. It will allow you to change kernel in the scaleway client interface, and get the proper modules installed

@bikerduweb
bikerduweb / Macros.md
Created January 9, 2022 22:24 — forked from alkemann/Macros.md
D100 Dungeon macros for Roll20.net

D100 macros

This strategy assumes that you have created (at least) two character sheets. You should make sure to make a "custom" character sheet for this game. You can use HTML and CSS to style it if you prefer, but it is not needed since we have the character sheet in the Google sheet ( https://docs.google.com/spreadsheets/d/1ty892ds1VMRs2l5GwFIiWR1_Ov8S5YeYdzm-bYu_e24/edit?usp=sharing ).

After having made two sheets, name one Player and the other Monster. In the sheet under the Attributes and abilities tab you can click the Add button to add any number of custom attributes. You must add all the ones that are mentioned in macros you will use, but it is perfectly ok for them to have no values (will be functionally the same as 0).

The macros look up values from both Player and Monster using a syntax like this @{ then character name then | followed by the attribute to look up and ends with }. So to look up the strength score (str) on the player, it will use @{Player|str}.

For each of the m

@bikerduweb
bikerduweb / keybase.md
Created April 7, 2020 12:43
keybase.md

Keybase proof

I hereby claim:

  • I am bikerduweb on github.
  • I am bikerduweb (https://keybase.io/bikerduweb) on keybase.
  • I have a public key ASArYpM_45w2kuA5YugNN2Y6e7CNSAn_LzHTB5EGaI-mEAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@bikerduweb
bikerduweb / readme.txt
Last active October 1, 2021 21:10
Sphinx 2.1.9 brew formula. Install via "brew install RAW_URL"
* Install sphinx 2.1.9 (latest 2.1 stable version) with brew:
brew install https://gist.githubusercontent.com/veilleperso/dc13a6a4186a4ec32a57/raw/sphinx.rb
* To prevent automatic upgrade:
brew pin sphinx
* To upgrade again:
brew unpin sphinx
@bikerduweb
bikerduweb / goodreads.js
Last active February 13, 2024 08:03
[Goodread] Here is a Javascript that you can enter into the console from the Books Read shelf and use it to set the value for 'date read' with the value that is in 'date added'. If 'date read' already has a value, it doesn't do anything. I recommend turning off Goodreads infinite scroll and just doing it for each page of 100 results in your shelf.
var a = jQuery('#booksBody tr');
var monthName2Int = new Array();
monthName2Int['Dec'] = 12;
monthName2Int['Nov'] = 11;
monthName2Int['Oct'] = 10;
monthName2Int['Sep'] = 9;
monthName2Int['Aug'] = 8;
monthName2Int['Jul'] = 7;
monthName2Int['Jun'] = 6;
monthName2Int['May'] = 5;
@bikerduweb
bikerduweb / compile_vlckit.sh
Last active February 13, 2024 08:04
[VLCKit] Compilation en ligne de commande
#!/bin/sh
# compile vlckit through command-line
# make sure to set the proper target in xcode project first (ie 10.9)
# cleanup
rm -fr ./vlc-unstable/contrib/x86_64-apple-darwin10
# build
xcodebuild -project VLCKit.xcodeproj -verbose -target "Fetch libvlc"
xcodebuild -project VLCKit.xcodeproj -verbose -target "Setup VLC contribs" -configuration Release
@bikerduweb
bikerduweb / bucket_policy.json
Created December 6, 2010 12:00
Amazon + Reduced redundancy + Paperclip
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "IPDeny",
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Action": "s3:*",