Skip to content

Instantly share code, notes, and snippets.

View annacruz's full-sized avatar
🏠
Working from home

Anna Cruz annacruz

🏠
Working from home
View GitHub Profile
@scyto
scyto / docker-swarm-architecture.md
Last active July 10, 2024 11:27
My Docker Swarm Architecture
@rain-1
rain-1 / Raspberry Pi, Static HTTPS site with Docker and Nginx.md
Last active July 7, 2024 00:53
Raspberry Pi, Static HTTPS site with Docker and Nginx

Raspberry Pi, Static HTTPS site with Docker and Nginx

This tutorial is dated Oct 2021, if it's much further on than that this information might be out of date.

This is a guide on setting up a static HTTPS website on your raspberry pi using docker and nginx. The aim is to have this running on the raspberry pi and to be able to access it from a host computer on the same local network. You should already be able to ssh into your pi from your host computer and have raspberry pi OS set up.

Find your raspberry pi

@mikepfeiffer
mikepfeiffer / stress.sh
Created January 27, 2019 21:05
Install Stress Utility on Amazon Linux 2
sudo amazon-linux-extras install epel -y
sudo yum install stress -y
@hrdtbs
hrdtbs / index.md
Created June 2, 2018 10:25
Connect to Github with ED25519

Connect to github with ED25519

2017/08/09 MacOS

Check SSH key

$ ls -al ~/.ssh
@DNA
DNA / bgp-table-process.php
Last active December 20, 2015 12:08
Process a BGP table, returning the tabulated data into an array
<?php
/**
* Código feito em PHP, Haters Gonna Hate! :P
*
* Brincadeiras a parte, foi a forma mais eficiente de resolver o
* problema, tenho certeza que passar a lógica pra Python pra vc vai
* ser fichinha! :P
*/
http://sist.sysu.edu.cn/~isslxm/DSA/textbook/Skiena.-.TheAlgorithmDesignManual.pdf
https://github.com/felipecruz/cdats
http://www.amazon.com/Algorithms-Unlocked-Thomas-H-Cormen/dp/0262518805/ref=sr_1_2?ie=UTF8&qid=1372518782&sr=8-2&keywords=cormen
http://www.amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/0262033844/ref=sr_1_1?ie=UTF8&qid=1372518782&sr=8-1&keywords=cormen
https://sites.google.com/site/stevenhalim/
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active July 7, 2024 19:32
A badass list of frontend development resources I collected over time.
@DNA
DNA / anotacoes_curso.md
Created March 23, 2013 21:03
Anotações do Curso de produção e edição de podcasts

Palestra Radiofobia

Primeira nota importante: Nunca confiar em adaptadores VGA-HDMI

Do rádio ao postcast

Número de anos para a mídia atingir 50 milhões de usuários

  • Rádio: 38 anos
  • Internet: 4 anos
  • iPod: 3 anos
# encoding: utf-8
N = [
[nil, 'um', 'dois', 'três', 'quatro', 'cinco', 'seis', 'sete', 'oito', 'nove'],
[nil, 'dez', 'vinte', 'trinta', 'quarenta', 'cinquenta', 'sessenta', 'setenta', 'oitenta', 'noventa'],
[nil, 'cento', 'duzentos', 'trezentos', 'quatrocentos', 'quinhentos', 'seiscentos', 'setecentos', 'oitocentos', 'novecentos'],
]
T = [nil, 'onze', 'doze', 'treze', 'quatorze', 'quinze', 'dezesseis', 'dezessete', 'dezoito', 'dezenove']