What if a package did something like this, but instead of logging to the console, they sent it back to a server?
Have you actually reviewed every dependency and every child dependency in every app you deploy?
Why are people not more scared of this?
What if a package did something like this, but instead of logging to the console, they sent it back to a server?
Have you actually reviewed every dependency and every child dependency in every app you deploy?
Why are people not more scared of this?
| function ff(){ | |
| file=$(ag . --nocolor -l -g '' --ignore vendor --ignore dist | fzf -m) | |
| if [[ -n $file ]]; then | |
| nvim $(echo $file | tr '\n' ' ') | |
| fi | |
| } |
| function git-add(){ | |
| git add $(git status -s | egrep '^(\s|\?\?).*?$' | fzf -m | cut -c4-) | |
| git commit -v | |
| } | |
| function git-remove(){ | |
| git reset HEAD -- $(git status -s | egrep -v '^(\s|\?\?).*?$' | fzf -m | cut -c4-) | |
| } | |
| function git-checkout(){ |
| function ffg(){ | |
| if [[ -z $1 ]]; then | |
| echo "you need to specify a term m8" | |
| return | |
| fi | |
| file=$(git grep -n $1 | fzf | awk -F ":" '{ print $1 " " $2 }') | |
| if [[ ! -z $file ]]; then | |
| split=("${(@s/ /)file}") |
| #!/usr/bin/zsh | |
| if [[ $PWD =~ '\/somematching\/' ]]; then | |
| python2 $@ | |
| else | |
| python $@ | |
| fi |
| # everything gets better with vim bindings | |
| setw -g mode-keys vi | |
| unbind [ | |
| bind '[' copy-mode | |
| unbind p | |
| bind p paste-buffer | |
| bind-key -t vi-copy 'v' begin-selection |
| echo "set_wallpaper()" | awesome-client |
| ### Keybase proof | |
| I hereby claim: | |
| * I am fernandotakai on github. | |
| * I am ftakai (https://keybase.io/ftakai) on keybase. | |
| * I have a public key whose fingerprint is AD66 55DA 7275 9415 0172 3F2D 270B 38A3 FE6D 22E8 | |
| To claim this, I am signing this object: |
| import time | |
| import simplejson | |
| from pprint import pprint | |
| from flask import Flask, jsonify, request | |
| app = Flask(__name__) | |
| @app.route("/", methods=["POST"]) | |
| def index(): | |
| data = simplejson.loads(request.form['data']) |
| " it seems i need this so pentadactyl stops hanging | |
| set! toolkit.storage.synchronous=0 | |
| " let me use some shortcuts ffs | |
| set passkeys+=digg.com:jks|<CR> | |
| " disable some dumb defaults | |
| nmap d <Nop> | |
| nmap a <Nop> | |
| nmap w <Nop> |