A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
/* Obsidian snippet to style output of pdf exports | |
*/ | |
@media print { | |
/* set your preferred fonts here. | |
*/ | |
:root { | |
--body-font-family: "Newsreader Text", TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; |
require 'socket' | |
require 'rack' | |
require 'rack/lobster' | |
app = Rack::Lobster.new | |
server = TCPServer.new 5678 | |
while session = server.accept | |
request = session.gets | |
puts request |
# Created by .ignore support plugin (hsz.mobi) | |
### Python template | |
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions | |
*.so |
#!/bin/bash | |
# Adicione um novo remote; pode chamá-lo de "upstream": | |
git remote add upstream https://github.com/usuario/projeto.git | |
# Obtenha todos os branches deste novo remote, | |
# como o upstream/master por exemplo: | |
git fetch upstream |
package javaapplication1; | |
import java.io.*; | |
public class JavaApplication1 { | |
public static void main(String[] args) { | |
try { | |
// Conteudo | |
String content = "Teste"; |