Skip to content

Instantly share code, notes, and snippets.

View Kerruba's full-sized avatar
♥️

Luca Cherubin Kerruba

♥️
View GitHub Profile
@JPenuchot
JPenuchot / .zshrc
Last active February 4, 2025 22:08
~/.config/i3/config for my Dell XPS 13 HiDPI running on Solus
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:/home/jpenuchot/node_modules/.bin:$HOME/.cargo/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
#!/usr/bin/env bash
origin=("${@: 1:$#-1}")
dest=${@: -1}
echo "Process started"
head -n 1 ${origin[0]} > ${dest}
echo "Combining files"
for f in ${origin[@]}
@dcode
dcode / GitHub Flavored Asciidoc (GFA).adoc
Last active March 20, 2025 13:24
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

@Itrulia
Itrulia / SmashingConf Oxford 2016 Talks.md
Last active July 17, 2016 20:15
SmashingConf Oxford 2016 Talks
@Kartones
Kartones / postgres-cheatsheet.md
Last active May 5, 2025 08:32
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)