Skip to content

Instantly share code, notes, and snippets.

View spacecowb0y's full-sized avatar

Diego spacecowb0y

View GitHub Profile
{
"basics": {
"name": "Diego Peralta",
"label": "Tech Lead Engineer",
"image": "https://avatars0.githubusercontent.com/u/416209?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4",
"summary": "I'm a pragmatic programmer with over 12 years of professional experience, including hands-on full stack development in startups environments, leading teams, consulting/advising startup clients, and delivering many mission critical projects. ",
"website": "https://diego.earth",
"email": "mail@diego.earth",
"phone": "+49 179 2633850",
"location": {
@spacecowb0y
spacecowb0y / unfollow.js
Created November 16, 2017 15:43 — forked from JamieMason/unfollow.js.md
Unfollow everyone on twitter.com
// 1. Go to https://twitter.com/following.
// 2. Keep scrolling to the bottom repeatedly until all your followers are loaded.
// 3. Run this in your console.
[].slice.call(document.querySelectorAll('.unfollow-text')).forEach(function(button) {
button.click();
});
@spacecowb0y
spacecowb0y / deploy.rake
Created July 17, 2017 22:32 — forked from shmatov/deploy.rake
rails + mina + unicorn
# lib/tasks/deploy.rake
namespace :deploy do
desc 'Deploy to staging environment'
task :staging do
exec 'mina deploy -f config/deploy/staging.rb'
end
end
@spacecowb0y
spacecowb0y / docker-compose-sentry.yml
Last active February 3, 2016 13:14 — forked from ebuildy/docker-compose-sentry.yml
A simple docker-compose YML to run Sentry.
redis:
image: redis
postgres:
image: postgres:9.4
environment:
- POSTGRES_USER:sentry
- POSTGRES_PASSWORD:sentry
volumes:
- /var/data/sentry/postgre:/var/lib/postgresql/data:rw
@spacecowb0y
spacecowb0y / SassMeister-input.scss
Created December 30, 2015 16:02 — forked from conwayanderson/SassMeister-input.scss
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
$properties: (
margin: 'm',
padding: 'p'
);
$directions: (
@spacecowb0y
spacecowb0y / gist:f5b2a4a12d26cb1fad72
Created December 1, 2015 12:59 — forked from ebuildy/gist:5d4ad0998848eaefdad8
Setup sentry logger on a fresh Ubuntu server
sudo apt-get update
sudo apt-get install python-virtualenv
sudo apt-get install python-dev
sudo apt-get install postgresql
sudo apt-get install postgresql-server-dev-9.3
sudo apt-get install redis-server
sudo -u postgres createuser -s sentry
sudo -u postgres psql -c "alter user sentry with password 'sentry';"