Skip to content

Instantly share code, notes, and snippets.

View fshitstack's full-sized avatar
💭
NULL_PTR

Danilo rv fshitstack

💭
NULL_PTR
View GitHub Profile
@kofrasa
kofrasa / gen-tags.md
Last active June 14, 2017 09:49
Generate ctags for a project

Small function to generate tags file for your project

tags_init() {
  local root=$(pwd)
  local cmd="ctags -R -o .tags"
  for d in src test tst $*; do
    if [ -d "$root/$d" ]; then
      cmd="$cmd $d"
 fi
@kofrasa
kofrasa / python-libraries.md
Last active March 11, 2019 14:10
Useful Python Packages

Useful Python Packages

General

Name Description
asyncpg A fast PostgreSQL Database Client Library for Python/asyncio
boltons Useful extensions to the standard library
click Composable command line utility library
envoy Python Subprocesses for Humans
gevent Asynchronous event loop implementation
@kofrasa
kofrasa / architecture-and-scaling-lessons.md
Last active June 14, 2017 09:51
Software Architecture and Scaling
@kofrasa
kofrasa / submit-to-pypi
Last active June 14, 2017 09:51
Submit package to pypi
1. Create your account on pypi and pypitest
2. Create a ~/.pypirc file
3. Populate with configuration
```
[distutils]
index-servers =
pypi
pypitest
[pypi]
## Command Structure
Ctrl-b <command>
## CLI
tmux list-sessions
tmux new -s <session-name>
tmux attach -t <session-name>
tmux kill-session -t <session-name>
## Sessions
@VanderleiDenir
VanderleiDenir / Cursos Gratuitos de TI
Last active October 3, 2017 03:50
Cursos Gratuitos de TI - Video Aula
Introdução ao Terminal do Linux para Programadores
http://promo.visie.com.br/curso-terminal?p=suissa
Microsoft Virtual Academy - Microsoft
http://www.microsoftvirtualacademy.com/
Tudo sobre AngularJS - Rodrigo Branas
https://www.youtube.com/playlist?list=PLQCmSnNFVYnTD5p2fR4EXmtlR6jQJMbPb
Desvendando a linguagem JavaScript - Rodrigo Branas
@coolaj86
coolaj86 / github-pages-https-lets-encrypt.md
Last active November 16, 2021 22:36
Github Pages: Let's Encrypt!
@deanrather
deanrather / Github Web Hosting.md
Last active October 15, 2025 10:42
Free Hosting on GitHub

Free Hosting on GitHub

This guide will take you from zero webserver knowledge, to having your own free site hosted on GitHub. The only non-free bit is registering a domain name, which can be as cheap as $5/year.

This guide uses CrazyDomains as the Registrar, FreeDNS as the DNS, and GitHub as the Webserver.


1) Domain Registration and Setup

@rpfilomeno
rpfilomeno / Find Optimal Load Average
Created March 12, 2015 15:31
Linux Performance Testing
# less /proc/cpuinfo | grep "physical id" | sort|uniq | wc -l
2
# less /proc/cpuinfo | grep "core id" | sort|uniq | wc -l
1
Optimal load average (100% utilization) = 2.0
(The "Red line" load average = 5.0 per processor)