Skip to content

Instantly share code, notes, and snippets.

View nachoal's full-sized avatar
:shipit:
Shipping 🚢

Ignacio Alonso nachoal

:shipit:
Shipping 🚢
View GitHub Profile
@swanson
swanson / .irbrc
Last active March 3, 2024 17:14
.irbrc color coding Rails console by environment
# Add color coding based on Rails environment for safety
if defined? Rails
banner = if Rails.env.production?
"\e[41;97;1m #{Rails.env} \e[0m "
else
"\e[42;97;1m #{Rails.env} \e[0m "
end
# Build a custom prompt
@stettix
stettix / things-i-believe.md
Last active July 10, 2024 23:00
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

Learning Programming in the post-Wagon blues

The most general and important advice I can give you is: build things. If you're practicing by yourself, find a problem you want to solve. Be it a page component you're interested in (a navbar that hides on a threshold) or an entire, but simple, app (a downscaled Evernote clone), it's important to have clear goals and to be able to see the results of your work.

Courses

I'll suggest only one thing here...:

Going deeper into Ruby and Rails in the post-Wagon blues

by Caio Andrade Le Wagon Teacher and Klatchian Coffee Guzzler

About this list

This list is ultimately a reflection of my own experiences growing as a developer. It’s more suitable if your career goal is to be a Ruby developer with a heavy focus on Software Engineering and the Rails stack. It deepens what you're familiar with after finishing Le Wagon.

The golden advice

Build things. If you're practicing by yourself, find a problem you want to solve. Be it a page component you're interested in (a navbar that hides on a threshold) or an entire, but simple, app (a downscaled Evernote clone), it's important to have clear goals and to be able to see the results of your work.

Courses

@erdostom
erdostom / Dockerfile
Last active November 25, 2022 14:53
Good starter Dockerfile + docker-compose.yml for Rails 6.
FROM ruby:2.6.5-alpine
RUN apk add --update --no-cache bash build-base nodejs sqlite-dev tzdata postgresql-dev yarn
RUN gem install bundler:2.1.4
WORKDIR /usr/src/app
COPY package.json yarn.lock ./
RUN yarn install --check-files
@Camvillard
Camvillard / design-resources.md
Last active October 14, 2023 23:39
design resources

design resources

fonts & typography

remember : don't use more than 2 or 3 fonts (well, if you're a designer, you'll know what to do with more fonts), and never, please, never include Comic Sans MS in those 3 fonts.

  • google fonts : free & ready to use on the web
  • adobe fonts : not free, but a ton of stuff, if you're willing to dive into design, may be worth it
  • font awesome : icons as fonts
  • typography cheatsheet : this is just because I can't help myself but put some typography knowledge in all the resources I give.
  • font pair : helps you pairing fonts together
  • typo samples : samples of fonts in action together
@imfing
imfing / wsl-setup.md
Last active September 15, 2023 01:55
WSL + ZSH + Hyper Setup

My WSL Setup

A guide to setup your WSL with Hyper and zsh

Download & Install the WSL

  • Follow the very thorough instructions here

Get a prettier terminal

  • Download Hyper.js here - I went with the 'hyperblue' theme.
#
# Building an MVP?
# Need a quick database you can set up in seconds?
# What about JSON?
#
# by @levelsio (with help from @marckohlbrugge, @oskarth, @maxdeviant and @kumailht)
# JS
db=[]
fs=require('fs')
@wbotelhos
wbotelhos / clear-sidekiq-jobs.sh
Last active July 4, 2024 09:06
Clear Sidekiq Jobs
require 'sidekiq/api'
# 1. Clear retry set
Sidekiq::RetrySet.new.clear
# 2. Clear scheduled jobs
Sidekiq::ScheduledSet.new.clear
@chranderson
chranderson / nvmCommands.js
Last active July 21, 2024 18:32
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node