I hereby claim:
- I am lasombra on github.
- I am lasombra (https://keybase.io/lasombra) on keybase.
- I have a public key ASBsVgkFYLK1qKnU9GpxFTZJsE8DFu7IJOrTXXj84nk6Uwo
To claim this, I am signing this object:
{
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist | |
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist | |
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz | |
sudo pkgutil --forget org.macosforge.xquartz.pkg | |
# Log out and log in |
I hereby claim:
To claim this, I am signing this object:
{
# shortform git commands | |
alias g='git' | |
# count relevant lines of shell code in a git repo | |
egrep -v '^\s*($|#)' $(git grep -l '#!/bin/.*sh' *) | wc -l | |
# push all remotes | |
for i in `git remote`; do git push $i; done; | |
# cherry pick range of commits, starting from the tip of 'master', into 'preview' branch |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Verifying that +lasombra is my blockchain ID. https://onename.com/lasombra |
(by @andrestaltz)
So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.
Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:
Rx.Observable.prototype.flatMapLatest(selector, [thisArg])
Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.
{ | |
"id":45, | |
"usuario":"Aluno Three", | |
"entregue":true, | |
"entregueEm":"2015-06-05T07:19:44Z", | |
"questoesRespondidas":[ | |
{ | |
"idQuestao":97, | |
"peso":1.0, | |
"questaoRespondida":"<p>“Iniciar a frase com pronome átono só é lícito na conversação familiar, despreocupada, ou na língua escrita quando se deseja reproduzir a fala dos personagens (...)”. Comparando a explicação dada pelos autores sobre essa regra, pode-se afirmar que ambos:<\u002fp>\r\n<p> <\u002fp>", |
Fonte: http://gohorseprocess.wordpress.com | |
1- Pensou, não é XGH. | |
XGH não pensa, faz a primeira coisa que vem à mente. Não existe | |
segunda opção, a única opção é a mais rápida. | |
2- Existem 3 formas de se resolver um problema, a correta, a errada e | |
a XGH, que é igual à errada, só que mais rápida. |
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig | |
SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<!--Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' | |
WARNING :: Droid Sans font with autohinter becomes bad, without autohinter looks great, but becomes smallish, cant help | |
even the smallish is so good, that i am using it on desktop |
#!/usr/bin/env ruby | |
# We require... | |
require "httpclient" | |
require "json" | |
# Startup variables | |
url = "http://archive.org/advancedsearch.php" | |
query = {"q" => 'collection:"harvardclassicsbound" AND (collection:harvardclassicsbound)', | |
"output" => "json", |