Skip to content

Instantly share code, notes, and snippets.

View rtancman's full-sized avatar
🙏
🏊🏽

Raffael Tancman rtancman

🙏
🏊🏽
View GitHub Profile
@luzfcb
luzfcb / consulta_cnj.py
Last active August 13, 2018 19:11
consulta CNJ
#!/usr/bin/env python3
# para instalar as dependencias:
# python3 -m pip install zeep requests
from pathlib import Path
icp_cert_file_abs_path = str(Path(Path.home(), 'certs', 'icp_brasil_bundle.crt'))
print(icp_cert_file_abs_path)
import zeep # https://pypi.org/project/zeep/
@miranda-zhang
miranda-zhang / bash.md
Last active April 4, 2024 08:30
bash shell script cheat sheet
@JoaoFelipe
JoaoFelipe / ComMatricula.ipynb
Last active June 16, 2017 16:53
Gerador de certificados PySE
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/sh
# telegram
wget https://updates.tdesktop.com/tlinux/tsetup.0.9.42.tar.xz
tar xvfJ tsetup.0.9.42.tar.xz
mv Telegram/ /opt/telegram
rm -rf tsetup.0.9.42.tar.xz
#telegram image
wget https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Telegram_logo.svg/128px-Telegram_logo.svg.png
@rtancman
rtancman / install_sublime_text.sh
Last active November 28, 2016 14:01 — forked from simonewebdesign/install_sublime_text.sh
Install Sublime Text 3 on Linux via POSIX shell script - http://simonewebdesign.it/install-sublime-text-3-on-linux/
#!/bin/sh
# Sublime Text 3 install with Package Control (last update: 25 September 2016)
#
# No need to download this script, just run it on your terminal:
#
# $ curl -L git.io/sublimetext | sh
# Detect the architecture
# Exemplo com closure
def crazy_sum():
acc = 0
def wrapped(t):
nonlocal acc
sum_with_acc = sum(t) + acc
acc = max(0, sum_with_acc - 9)
@hugooliveirad
hugooliveirad / git-useful.md
Last active December 5, 2019 16:27
git-useful

git-useful

a collection of useful commands to use Git and GitHub.

Add

add files interactively

git add <file> --patch

# working example
@simonewebdesign
simonewebdesign / install_sublime_text.sh
Last active March 11, 2024 12:23
Install Sublime Text 3 on Linux via POSIX shell script - http://simonewebdesign.it/install-sublime-text-3-on-linux/
#!/bin/sh
# Sublime Text 3 Install (last update: Monday 13 March 2017)
#
# No need to download this script, just run it on your terminal:
#
# curl -L git.io/sublimetext | sh
# Detect the architecture

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: