I hereby claim:
- I am yoone on github.
- I am yooone (https://keybase.io/yooone) on keybase.
- I have a public key ASD0gN4QQFHy7KPFJh4ayVY0Zu0jVilmogjK_xK6_IqhGwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdint.h> | |
static inline uint8_t is_big_endian(void) | |
{ | |
const uint16_t endian = 256; | |
return *(const uint8_t *)&endian; | |
} | |
int main(void) |
#include <stdio.h> | |
int main(void) | |
{ | |
/* | |
* AMD64 | |
*/ | |
#if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) | |
printf("AMD64\n"); |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
__author__ = 'Yoann Bentz' | |
__version__ = '1.0' | |
__email__ = '[email protected]' | |
import os | |
import sys | |
import tempfile |
#!/usr/bin/env bash | |
set -euo pipefail | |
# Example usage in a crontab: | |
# 0 */6 * * * /path/to/djangoproject/django_mysql_dump.sh -d ~/mydumps | |
DEBUG=0 | |
PYTHON_PATH=$(dirname "$0") | |
SETTINGS=djangoproject.settings |