Skip to content

Instantly share code, notes, and snippets.

View alexandre's full-sized avatar
🎯
Focusing

Alexandre Souza alexandre

🎯
Focusing
View GitHub Profile
@luzfcb
luzfcb / resposta_aos_novatos.md
Last active March 13, 2024 21:20
resposta aos iniciantes novatos pythonbrasil

Olá, seja bem vindo ao grupo Python-Brasil.

  • Insira aqui o pedido de mais informações ou possivel solução a pergunta feita

Dito isto, aqui nós possuímos algumas regras que ajudam a manter essa lista útil e agradável para os participantes

Antes de mandar as suas próximas perguntas, pedimos para que leia o texto:

@JeffPaine
JeffPaine / i3-cheat-sheet.md
Last active March 10, 2026 11:46
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
@alexandre
alexandre / problems_to_solve.md
Last active March 27, 2019 13:58
problems_to_solve.md
@vandersonmota
vandersonmota / gist:6fb32048388111a5a761
Created July 8, 2015 21:13
Bestiário de criaturas presentes em reuniões.
"Sabe tudo"
Fala o tempo todo, sendo 90% descartável.
Faz questão de corrigir os outros em tópicos não relacionados
"Showman"
Chegou agora no projeto, não tem a menor noção do que está falando. Entretanto, consegue
dominar a reunião com sua eloquência
"Zumbi"
Não fala. Nunca. Só olha de um lado para o outro, rezando para que termine logo.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cuducos
cuducos / bootstrap.sh
Last active August 9, 2019 02:07
Computer Bootstraps
#!/bin/bash
##############################################################################
# Install system packages #
##############################################################################
xcode-select --install
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
# install homebrew
@mnot
mnot / snowden-ietf93.md
Last active March 23, 2026 18:42
Transcript of Edward Snowden's comments at IETF93.
@motokiee
motokiee / CodePiece.hs
Created October 28, 2015 05:08
あまり進捗はなかった #CodePiece
module Shapes
( Point, Shape, area, nudge, baseCircle, baseRect ) where
-- 値コンストラクタが1つしかない場合、データ型と値コンストラクタは同じ名前にする(慣例)
data Point = Point Float Float deriving (Show)
data Shape = Circle Point Float | Rectangle Point Point deriving (Show)
area :: Shape -> Float
area (Circle _ r) = pi * r ^ 2
area (Rectangle (Point x1 y1) (Point x2 y2)) = (abs $ x2 - x1) * (abs $ y2 - y1)
#define _GNU_SOURCE 1
#include <sched.h> // sched_setaffinity
#include <stdint.h>
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
#include <stdint.h>
#include <pthread.h>
#include <assert.h>
#include <sys/time.h>
@vasanthk
vasanthk / System Design.md
Last active April 7, 2026 18:07
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?