Skip to content

Instantly share code, notes, and snippets.

View steven2358's full-sized avatar

Steven Van Vaerenbergh steven2358

View GitHub Profile
@steven2358
steven2358 / ffmpeg.md
Last active April 21, 2024 02:08
FFmpeg cheat sheet
@steven2358
steven2358 / conda_environment.md
Last active December 27, 2023 22:29
Conda environment commands
@steven2358
steven2358 / toggle-chatgpt-sidebar.js
Last active May 10, 2023 21:44
ChatGPT sidebar visibility toggle bookmarklet
javascript:(function(){const element = document.querySelector('div.dark.flex-shrink-0.overflow-x-hidden.bg-gray-900');if (element) {const currentDisplay = window.getComputedStyle(element).getPropertyValue('display');;element.style.display = currentDisplay === 'none' ? 'flex' : 'none';}})();
@steven2358
steven2358 / SuperBoeBookmarklet.js
Last active November 7, 2022 16:12
SuperBOE bookmarklet
javascript:location.hostname = location.hostname.replace('boe.es','superboe.es');
@steven2358
steven2358 / bitcoin_wallet_matrix.md
Created August 18, 2014 17:54
Bitcoin Wallet Matrix
@steven2358
steven2358 / index.html
Created March 24, 2016 22:36
Blank HTML5 document
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<!-- page content -->
@steven2358
steven2358 / cheatsheet.matlab
Last active March 21, 2022 02:37
Matlab Cheat sheet
% Matlab cheat sheet
% Author: Steven Van Vaerenbergh
% Last version: https://gist.github.com/steven2358/7578242
%% SYSTEM
% seed a random generator
seed = 1;
rng('default');
@steven2358
steven2358 / exponentiation_table.md
Created November 23, 2021 09:03
Exponentiation table

Exponentiation table

Results are rounded to two decimals.

base \ exponent 2 3 4 5 6 7 8 9 10
1,01 1,02 1,03 1,04 1,05 1,06 1,07 1,08 1,09 1,10
1,02 1,04 1,06 1,08 1,10 1,13 1,15 1,17 1,20 1,22
1,03 1,06 1,09 1,13 1,16 1,19 1,23 1,27 1,30 1,34
1,04 1,08 1,12 1,17 1,22 1,27 1,32 1,37 1,42 1,48
@steven2358
steven2358 / power_table.md
Last active November 19, 2021 21:12
Power table

Power table

base \ exponent 2 3 4 5 6 7 8 9 10
1,01 1,02 1,03 1,04 1,05 1,06 1,07 1,08 1,09 1,10
1,02 1,04 1,06 1,08 1,10 1,13 1,15 1,17 1,20 1,22
1,03 1,06 1,09 1,13 1,16 1,19 1,23 1,27 1,30 1,34
1,04 1,08 1,12 1,17 1,22 1,27 1,32 1,37 1,42 1,48
1,05 1,10 1,16 1,22 1,28 1,34 1,41 1,48 1,55 1,63
1,06 1,12 1,19 1,26 1,34 1,42 1,50 1,59 1,69 1,79
@steven2358
steven2358 / hello_world.py
Created July 23, 2020 09:42
Python Hello World - Empty file template with main() function.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def main():
print('Hello world!')
if __name__ == '__main__':
main()