Skip to content

Instantly share code, notes, and snippets.

View julitrows's full-sized avatar

Julio AG julitrows

View GitHub Profile
@vicenteherrera
vicenteherrera / increment_gh_rep.md
Last active July 28, 2022 09:22
What's stopping you from coding like this? Increment your GitHub rep

Script to generate cool GH commit graph

Inspired by: https://twitter.com/haysstanford/status/1306209477226569729

Visit your GH profile page and paste this in the JS console. Last (long) line adds several badges (if some appear duplicate with the ones you already have, use inspector to delete them):

document.querySelectorAll(".f4.text-normal.mb-2")[1].innerHTML="1"+Math.round(Math.random()*10000).toLocaleString()+" contributions in the last year"
@inefable
inefable / remote-work-resources.md
Last active December 23, 2022 16:33
A list of remote work aggregators, companies and articles.

Remote work resources

Over the last years, I've been collecting resources related to remote work. This gist is a way to have them listed in a single place and public to anyone who it could be useful too.

Aggregators

@p1nox
p1nox / postgresql_configuration_on_ubuntu_for_rails.md
Last active July 20, 2024 11:55
PostgreSQL configuration without password on Ubuntu for Rails

Abstract

You could have postgre installed on localhost with password (or without user or password seted after instalation) but if we are developing we really don't need password, so configuring postgre server without password for all your rails project is usefull.

Install Postgre packages

  • postgresql
  • postgresql-client
  • libpq-dev
@juanje
juanje / gist:1386361
Created November 22, 2011 17:52
Split a subdirectory into a new Git repo
# You need to install the command git-subtree from here:
# https://github.com/apenwarr/git-subtree
# Let's say you got a subdirectory 'lib-abc' under 'project' git repo that you like to
# split into a new repository
# First you need to create a bare repository, i.e. a Github project called 'lib-abc'
# Your new remote could be somethings like 'git@github.com:yourname/lib-abc.git'
cd project/
@rpavlik
rpavlik / fix_homebrew.rb
Created January 6, 2011 20:32 — forked from mxcl/install_homebrew.markdown
Fix permissions on /usr/local for Homebrew
#!/usr/bin/ruby
#
# This script fixes /usr/local only.
#
# 6th January 2010:
# Modified the script to just fix, rather than install. - rpavlik
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem
# for me, and I think it was due to me migrating my account over several