Configuring Nginx to serve SSL content is straight forward, once you have your certificate and key ready:
server { listen 443 default ssl; root /path/to/source; server_name mydomain; ssl_certificate /path/to/cert; ssl_certificate_key /path/to/key;
#import ./rust_brain/target/release/librust_brain as rust_brain | |
import ctypes | |
brian = ctypes.cdll.LoadLibrary("./rust_brain/target/debug/librust_brain.so") | |
print(brian.sum(666, 42)) |
version: "3.2" | |
services: | |
minio1: &minio | |
image: minio/minio | |
volumes: | |
- minio1-data:/export1 | |
- minio2-data:/export2 | |
- minio3-data:/export3 | |
- minio4-data:/export4 |
console.log("rm -fR /"); |
#include <SevSeg.h> | |
int addBut = A0; | |
int subBut = A1; | |
int lastAdd=0; | |
int lastSub=0; | |
int number=0; |
import os | |
import string | |
def generate_random_string(length, stringset=string.ascii_letters+string.digits+string.punctuation): | |
''' | |
Returns a string with `length` characters chosen from `stringset` | |
>>> len(generate_random_string(20)) == 20 | |
''' | |
return ''.join([stringset[i%len(stringset)] \ | |
for i in [ord(x) for x in os.urandom(length)]]) |
$ cat docker-compose.yml | |
version: "2" | |
services: | |
nothing: | |
image: debian:jessie | |
command: /bin/false | |
$ cat .env | |
FOO=bar |
Configuring Nginx to serve SSL content is straight forward, once you have your certificate and key ready:
server { listen 443 default ssl; root /path/to/source; server_name mydomain; ssl_certificate /path/to/cert; ssl_certificate_key /path/to/key;
// ==UserScript== | |
// @name BBBLocker by Rafael Sierra | |
// @namespace http://blog.rafaelsdm.com/ | |
// @version 0.2 | |
// @description Suma com os posts que falem sobre o BBB da sua timeline | |
// @include https://*.facebook.com/* | |
// @include https://*.facebook.com.br/* | |
// @include http://*.facebook.com/* | |
// @include http://*.facebook.com.br/* |