Les patrons ne sont pas responsables de la crise. Les travailleurs ne sont pas responsables de la crise. Les banques ne sont pas responsables de la crise. Les politiques ne sont pas responsables de la crise. Les géants du numérique ne sont pas responsables de la crise. Les spéculateurs ne sont pas responsables de la crise. Les banques centrales ne sont pas responsables de la crise. Les riches ne sont pas responsables de la crise. Les pauvres ne sont pas responsables de la crise. Les riches ont créé la crise. Les pauvres ont été les premiers à
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 wave | |
string_data = input("Please enter the string to encrypt: ") | |
encrypted_data = bytes(string_data, 'utf-8') | |
# Write the encrypted data to a new audio file | |
new_audio_file = wave.open('tmp.wav', 'wb') | |
new_audio_file.setparams((1, 2, 44100, 0, 'NONE', 'NONE')) | |
new_audio_file.writeframes(encrypted_data) | |
new_audio_file.close() |
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
version: 1 | |
script: | |
- rm -rf ./AppDir || true | |
AppDir: | |
path: ./AppDir | |
app_info: | |
id: wesnoth |
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
name: Build | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: |
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
const std = @import("std"); | |
pub fn main() !void { | |
const stdout = std.io.getStdOut().writer(); | |
const stdin = std.io.getStdIn(); | |
defer stdin.close(); | |
const reader = stdin.reader(); | |
const max_input = 1024; | |
try stdout.print("What is your name? ", .{}); | |
var input_buffer: [max_input]u8 = undefined; |
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
const std = @import("std"); | |
const debug = std.debug; | |
const fs = std.fs; | |
const io = std.io; | |
const mem = std.mem; | |
const os = std.os; | |
pub fn main() !void { | |
var tty = try fs.cwd().openFile("/dev/tty", .{ .mode = .read_write }); | |
defer tty.close(); |
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
#!/usr/bin/env python | |
# coding=utf-8 | |
# License: Public domain (CC0) | |
# Isaac Turner 2016/12/05 | |
from __future__ import print_function | |
import difflib | |
import re |
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
#!/usr/bin/env python | |
# coding=utf-8 | |
# License: Public domain (CC0) | |
# Isaac Turner 2016/12/05 | |
from __future__ import print_function | |
import difflib | |
import re |
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
cd env/lib && find -name "*.pyc" -delete && python -OO -m compileall . -j 0 && find . -path "*/__pycache__/*.pyc" -execdir sh -c "mv {} ../\$(basename {} | cut -d'.' -f1).pyc" \; && find -name "*.py" -delete && cd ../.. |
OlderNewer