This file contains hidden or 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
choose-mirror-bin mirror/http/proxy string | |
d-i base-installer/kernel/override-image string linux-server | |
d-i clock-setup/utc boolean true | |
d-i clock-setup/utc-auto boolean true | |
d-i finish-install/reboot_in_progress note | |
d-i grub-installer/only_debian boolean true | |
d-i grub-installer/with_other_os boolean true | |
d-i partman-basicfilesystems/no_swap boolean false | |
d-i partman-auto/expert_recipe string \ | |
myroot :: \ |
This file contains hidden or 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 stumped2 on github. | |
* I am lrr (https://keybase.io/lrr) on keybase. | |
* I have a public key whose fingerprint is A21B 8FFF E38C D325 747C 0DDF A13A 1F0E C0B8 B75C | |
To claim this, I am signing this object: |
This file contains hidden or 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
{ | |
"chef_type": "environment", | |
"cookbook_versions": {}, | |
"default_attributes": { | |
}, | |
"description": "The 1+N environment", | |
"json_class": "Chef::Environment", | |
"name": "1+n environment", | |
"override_attributes": { | |
"openstack": { |
This file contains hidden or 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 json | |
import redis | |
import requests | |
from flask import Flask, session, request, abort, jsonify, render_template, redirect | |
from lepl.apps.rfc3696 import Email | |
from base64 import b64decode | |
app = Flask(__name__) | |
app.config.from_object('config') |
This file contains hidden or 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
def fizzbuz(number): | |
result = '' | |
if number % 3 == 0: | |
result += 'Fizz' | |
if number % 5 == 0: | |
result += 'Buzz' | |
if result == '': | |
return number |
This file contains hidden or 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
KNOWN GOOD BACKED IA: | |
eyJhbGciOiJSUzI1NiJ9. | |
eyJwdWJsaWMta2V5Ijp7ImFsZ29yaXRobSI6IkRTIiwieSI6ImRiZjY3MWEwNjkwMDU1OGZlMmQ5MGEzMzg1NjVlYmQzZDdlYzk4ZWYyYmRlZjE3ZjBhMzFmN2EyMzBlODFjOTcyMzJiMGFmYjFlMzVhZmMyZWFkNzA4YTk2ZDc3OGU1MjI2ZjY1MTZkZTk0MDE3YTdmYWNhMzYyOTRhNzZlNmRhMGY2ZDVjYzU0NGY3MzEzMTE5NDRhYTY2M2RmNWE2OTdiNmY1MGJiNzRjYjY2YjM5OTUzNDFmNTBmMTQyODE1ZTBkNWMwYzJhN2Q2MmYxOWQyNTY2ZGRlMjVlYzA3YWRkN2JlNGUyZmZjMDBjOGQxY2ZhM2IwZTQxNjdmODg4MWIiLCJwIjoiZmY2MDA0ODNkYjZhYmZjNWI0NWVhYjc4NTk0YjM1MzNkNTUwZDlmMWJmMmE5OTJhN2E4ZGFhNmRjMzRmODA0NWFkNGU2ZTBjNDI5ZDMzNGVlZWFhZWZkN2UyM2Q0ODEwYmUwMGU0Y2MxNDkyY2JhMzI1YmE4MWZmMmQ1YTViMzA1YThkMTdlYjNiZjRhMDZhMzQ5ZDM5MmUwMGQzMjk3NDRhNTE3OTM4MDM0NGU4MmExOGM0NzkzMzQzOGY4OTFlMjJhZWVmODEyZDY5YzhmNzVlMzI2Y2I3MGVhMDAwYzNmNzc2ZGZkYmQ2MDQ2MzhjMmVmNzE3ZmMyNmQwMmUxNyIsInEiOiJlMjFlMDRmOTExZDFlZDc5OTEwMDhlY2FhYjNiZjc3NTk4NDMwOWMzIiwiZyI6ImM1MmE0YTBmZjNiN2U2MWZkZjE4NjdjZTg0MTM4MzY5YTYxNTRmNGFmYTkyOTY2ZTNjODI3ZTI1Y2ZhNmNmNTA4YjkwZTVkZTQxOWUxMzM3ZTA3YTJlOWUyYTNjZDVkZWE3MDRkMTc1ZjhlYmY2YWYzOTdkNjllMTEwYjk2 |
This file contains hidden or 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
void signalHandler(int signum, siginfo_t *info, void *ptr) | |
{ | |
int status, i; | |
for (i = 0; i < processes; i++) { | |
kill(pidfor_signal[i], SIGKILL); | |
wait(&status); | |
} | |
exit(EXIT_FAILURE); | |
} |
This file contains hidden or 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
void signalHandler(int signum, siginfo_t *info, void *ptr) | |
{ | |
int status, i; | |
for (i = 0; i < processes; i++) { | |
kill(pidfor_signal[i], SIGKILL); | |
wait(&status); | |
} | |
exit(EXIT_FAILURE); | |
} |
This file contains hidden or 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
#define KEY_SIZE 32 /* AES has a maximum key size of 256 bits */ | |
static char crypto_key[KEY_SIZE]; | |
static int key_size = 0; /* size of the current key */ | |
// Put a check that key size must be 16, 24 or 32 bytes long, required by AES. | |
static void sbd_transfer(struct sbd_device *dev, sector_t sector, | |
unsigned long nsect, char *buffer, int write) { |
This file contains hidden or 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
if (write){ | |
if(key_size != 0){ | |
for (k = 0; k < nbytes; k+= | |
crypto_cipher_blocksize(tfm)) { | |
crypto_cipher_encrypt_one(tfm, dev->data+ | |
offset+k, buffer+k); | |
} | |
}else{ | |
memcpy(dev->data + offset, buffer, nbytes); | |
} |
NewerOlder