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 threading | |
def foo(): | |
print('foo') | |
def bar(): | |
print('bar') |
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
Disassembly of bar: | |
11 0 LOAD_GLOBAL 0 (print) | |
2 LOAD_CONST 1 ('bar') | |
4 CALL_FUNCTION 1 | |
6 POP_TOP | |
8 LOAD_CONST 0 (None) | |
10 RETURN_VALUE | |
Disassembly of delayed: | |
18 0 LOAD_GLOBAL 0 (time) |
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
20:39 <zopieux> seirl: on a pas besoin du mysql pour autre chose que le drupal ? | |
20:39 <seirl> non | |
20:41 <Bruce_> le drupal est encore up ? :D | |
20:41 <seirl> oui | |
20:41 <seirl> oldsite.prologin.org | |
20:41 <zopieux> halfr propose de le cloisonner dans une VM et j'approuve | |
20:41 <zopieux> on devrait pouvoir supprimer apache et php | |
20:41 <seirl> pourquoi vous voulez spawn des VM pour n'importe quoi | |
20:41 <zopieux> parce que drupal | |
20:42 <seirl> non mais ok mais faites un conteneur alors |
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
[Description] | |
An issue was discovered on MECO USB Memory Stick with Fingerprint | |
MECOZiolsamDE601 devices. The fingerprint authentication requirement | |
for data access can be bypassed. An attacker with physical access can | |
send a static packet to a serial port exposed on the PCB to unlock the | |
key and get access to the data without possessing the required | |
fingerprint. | |
------------------------------------------ |
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 | |
# Run this script if you are installing from an Arch Linux install media. | |
# It does a standalone clone and setup of sadm from the main git repository. If | |
# you are developping on SADM, directly use install_scripts/setup_sadm.sh | |
REPO_URL=https://github.com/prologin/sadm | |
BRANCH=2017-halfr-breaks-everything | |
if mount | grep --quiet archiso; then |
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
fail pendant l'installation du venv -> c'est bon c'est les packages qui ne | |
suppotent pas les wheels python (successeurs des eggs). | |
resolved ne prend pas en compte les DNS indiqués dans *.network -> euh si, wtf, | |
à investiguer | |
RFE: activer la réplication postgres ? | |
TODO: mettre à jour openresty |
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
// From: https://www.reddit.com/r/rust/comments/2ow729/writing_a_lexer/ | |
use std::iter::Peekable; | |
fn main() { | |
let input = "abcdABCDabcd,".chars(); | |
let tokenizer = Tokenizer::new(input); | |
for token in tokenizer { | |
println!("{:?}", token); |
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
root@archiso ~ # lsblk | |
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | |
sda 8:0 0 698.7G 0 disk | |
└─md127 9:127 0 698.5G 0 raid1 | |
└─md124 9:124 0 1.8T 0 raid0 | |
sdb 8:16 0 698.7G 0 disk | |
└─md127 9:127 0 698.5G 0 raid1 | |
└─md124 9:124 0 1.8T 0 raid0 | |
sdc 8:32 0 931.5G 0 disk | |
└─md126 9:126 0 931.4G 0 raid1 |
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
sudo ip link add prolo-lan type bridge | |
sudo ip link add prolo-upstream type bridge | |
sudo ip link set eno1 master prolo-upstream |