When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
export function getAscii(str) { | |
var conversions = new Object(); | |
conversions['ae'] = 'ä|æ|ǽ'; | |
conversions['oe'] = 'ö|œ'; | |
conversions['ue'] = 'ü'; | |
conversions['Ae'] = 'Ä'; | |
conversions['Ue'] = 'Ü'; | |
conversions['Oe'] = 'Ö'; | |
conversions['A'] = 'À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ'; | |
conversions['a'] = 'à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª'; |
# The definitive guide to setup my Python workspace | |
# Author: Henrique Bastos <[email protected]> | |
# Updated to use zsh and Python 3.9.2 | |
PY3=3.9.2 | |
PY2=2.7.16 | |
PY3TOOLS="youtube-dl s3cmd fabric pytest" | |
PY2TOOLS="rename mercurial" | |
VENVS=~/.ve |
/*! | |
* Dynamically changing favicons with JavaScript | |
* Works in all A-grade browsers except Safari and Internet Explorer | |
* Demo: http://mathiasbynens.be/demo/dynamic-favicons | |
*/ | |
// HTML5™, baby! http://mathiasbynens.be/notes/document-head | |
document.head || (document.head = document.getElementsByTagName('head')[0]); | |
function changeFavicon(src) { |
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<opml version="1.0"> | |
<head> | |
<title>Pocket Casts Feeds</title> | |
</head> | |
<body> | |
<outline text="feeds"> | |
<outline xmlUrl="http://feeds.feedburner.com/braincastmp3" type="rss" text="Braincast" /> | |
<outline xmlUrl="https://hipsters.tech/feed/podcast/" type="rss" text="Hipsters Ponto Tech" /> | |
<outline xmlUrl="Http://feeds.feedburner.com/frangofinopodcast" type="rss" text="Frango Fino" /> |
# | Episode | Link | File |
---|---|---|---|
000 | ARGCast #000 | http://dinamo.art.br/podcast/000/ | http://m.podshow.com/media/21200/episodes/150617/argcasts-150617-01-30-2009.mp3 |
001 | ARGCast #001 | http://dinamo.art.br/podcast/001/ | http://dinamo.art.br/eps/ARGcast001.mp3 |
002 | ARGCast #002 | http://dinamo.art.br/podcast/002/ |
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j
export PYENV_ROOT="$HOME/.pyenv" | |
export PATH="$PYENV_ROOT/bin:$PATH" | |
export WORKON_HOME=~/.envs | |
export PROJECT_HOME=~/Documentos/pythonprojects | |
export PATH=$HOME/.bin:$PATH | |
eval "$(pyenv init -)" | |
pyenv virtualenvwrapper_lazy | |
alias deploygithub='git push -u --force origin master' | |
alias deployheroku='git push -u --force heroku master' |