Skip to content

Instantly share code, notes, and snippets.

View Skalnark's full-sized avatar
🥄
There is no spoon

Dárcio Basílio Skalnark

🥄
There is no spoon
  • Brazil
View GitHub Profile
@yogthos
yogthos / clojure-beginner.md
Last active April 4, 2025 02:32
Clojure beginner resources

Introductory resources

@AntonFriberg
AntonFriberg / eduroam.sh
Created September 6, 2018 09:40
Connect to eduroam on Lund University with NetworkManager
nmcli con add \
type wifi \
con-name "eduroam"
ifname "wlp4s0" \ # Your wifi interface
ssid "eduroam" \
wifi-sec.key-mgmt "wpa-eap" \
802-1x.identity "<YOUR-STUDENT-ID>@lu.se" \ # May also use another university identification
802-1x.password "<YOUR-PASSWORD" \
802-1x.system-ca-certs "yes" \
802-1x.domain-suffix-match "radius.lu.se" \
@satendra02
satendra02 / app.DockerFile
Last active November 19, 2024 17:28
docker+rails+puma+nginx+postgres (Production ready)
FROM ruby:2.3.1
# Install dependencies
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
# Set an environment variable where the Rails app is installed to inside of Docker image:
ENV RAILS_ROOT /var/www/app_name
RUN mkdir -p $RAILS_ROOT
# Set working directory, where the commands will be ran:
@micrub
micrub / xmonad-default-key-bindings.md
Last active October 25, 2024 18:39
Xmonad default key bindings

xmonad default key bindings

Action key bindings

Key binding Action
mod - shift - slash Run xmessage with a summary of the default keybindings (useful for beginners)
mod - shift - return Launch terminal
mod - p Launch dmenu
mod - shift - p Launch gmrun
@altercation
altercation / xmonad.hs
Created December 28, 2016 01:09
Dirty XMonad config WIP
---------------------------------------------------------------------------
-- --
-- _| _| _| _| _| --
-- _| _| _|_| _|_| _|_| _|_|_| _|_|_| _|_|_| --
-- _| _| _| _| _| _| _| _| _| _| _| _| --
-- _| _| _| _| _| _| _| _| _| _| _| _| --
-- _| _| _| _| _|_| _| _| _|_|_| _|_|_| --
-- --
---------------------------------------------------------------------------
-- Ethan Schoonover <[email protected]> @ethanschoonover --
@emidoots
emidoots / gist:2ee0626de234df0731d6923200a4f45b
Last active February 19, 2019 00:00
Painted Heart - Jane Zhang

Painted Heart - Jane Zhang

1)---0:28-0:35--------------------------  | - | 2)---0:35-0:42-------------------------
  ●●● ○○○ | ●●● ○○○ | ●●○ ○○○ | ●●○ ○○○   | - |   ●●● ●●○ | ●●● ○○○ | ●●○ ○○○ | ●●○ ○○○
  ○●● ○○○ | ●○○ ○○○ | ●●○ ○○○ | ●●● ○○○   | - |   ○●● ○○○ | ●○○ ○○○ | ●●● ○○○ | ○●● ○○●
  ●●● ●●● | ●●● ●●○                       | - |   ○●● ●●● | ●●● ●●○
  --------------------------------------  | - |   -------------------------------------
@mateusg
mateusg / devise.pt-BR.yml
Last active December 23, 2023 15:15 — forked from alexandreaquiles/devise.pt-BR.yml
pt-BR translations for Devise
# encoding: UTF-8
# pt-BR translations for Devise
pt-BR:
devise:
confirmations:
confirmed: "Sua conta foi confirmada com sucesso. Você está logado."
send_instructions: "Dentro de minutos, você receberá um e-mail com instruções para a confirmação da sua conta."
send_paranoid_instructions: "Se o seu endereço de e-mail estiver cadastrado, você receberá uma mensagem com instruções para confirmação da sua conta."
failure:
already_authenticated: "Você já está logado."
@JosephPecoraro
JosephPecoraro / shell-execution.rb
Last active March 19, 2025 06:46
Shell Execution in Ruby
# Ways to execute a shell script in Ruby
# Example Script - Joseph Pecoraro
cmd = "echo 'hi'" # Sample string that can be used
# 1. Kernel#` - commonly called backticks - `cmd`
# This is like many other languages, including bash, PHP, and Perl
# Synchronous (blocking)
# Returns the output of the shell command
# Docs: http://ruby-doc.org/core/classes/Kernel.html#M001111