Skip to content

Instantly share code, notes, and snippets.

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

Kesley David KesleyDavid

🏠
Working from home
View GitHub Profile
:root {
--primary: #00B37E;
--background: #121214;
--text: #FFF;
--caption: #8D8D99;
--gray: #E1E1E6;
--background-light: rgba(255, 255, 255, 0.05);
}
* {
@faermanj
faermanj / aws-nuke.yml
Last active May 8, 2023 15:59
Limpando sua conta da AWS com aws-nuke
accounts:
"192912639870": {} # ccsandbox
account-blocklist:
- "192912699999"
resource-types:
excludes:
- IAMGroup
- IAMGroupPolicy
1 hostname elliot-01
2 echo elliot-01 > /etc/hostname
3 bash
4 vim /etc/modules-load.d/k8s.conf
5 curl -fsSL https://get.docker.com | bash
6 docker version
7 docker ps
8 apt-get update && apt-get install -y apt-transport-https
9 curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
10 echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list
@dcollien
dcollien / ImageTools.es6
Last active April 28, 2023 09:00
Resize Images in the Browser
let hasBlobConstructor = typeof(Blob) !== 'undefined' && (function () {
try {
return Boolean(new Blob());
} catch (e) {
return false;
}
}());
let hasArrayBufferViewSupport = hasBlobConstructor && typeof(Uint8Array) !== 'undefined' && (function () {
try {
@leocomelli
leocomelli / git.md
Last active July 26, 2024 13:04
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda