This file contains 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
import time | |
import fluidsynth | |
fs = fluidsynth.Synth() | |
fs.start(driver='alsa', midi_driver='alsa_seq') | |
sfid = fs.sfload(b"/usr/share/soundfonts/FluidR3_GM.sf2") | |
fs.program_select(0, sfid, 0, 0) | |
fs.noteon(0, 60, 30) |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am Matael on github. | |
* I am matael (https://keybase.io/matael) on keybase. | |
* I have a public key whose fingerprint is 856D 8A2D 6F79 4FBC 2CDD 125B 9AE0 9B2A 9506 E10E | |
To claim this, I am signing this object: |
This file contains 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
class GenericMetric: | |
def __init__(self): | |
pass | |
def score(self): | |
raise NotImplementedError | |
# etc... |
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 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
#!/bin/bash | |
now=`cat /sys/class/power_supply/BAT0/charge_now`; | |
full=`cat /sys/class/power_supply/BAT0/charge_full`; | |
echo "Battery charge : $(($now*100/$full))%"; |
This file contains 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 Combot; | |
use strict; | |
use warnings; | |
use Net::GitHub::V3; | |
use DBI; | |
use Redis; # for authorizations | |
use LWP::UserAgent; # for spaceapi requests |
This file contains 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
\begin{tikzpicture}[>=stealth] | |
\def\r{.3}; | |
\def\M{1.5}; | |
% hp | |
\draw (0,-.3) rectangle (.2,.3); | |
\draw (.2,-.3) -- ++(.2,-.2) -- ++(0,1) -- ++(-.2,-.2); |
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 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
>> trait | |
Nombre de max retenus=5 | |
Selectionner avec la souris les Nmax intervalles autour des pics (2Nmax valeurs) | |
frmean = | |
1.0e+03 * | |
0.0189 0.2627 0.5091 0.8411 1.2545 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder