Skip to content

Instantly share code, notes, and snippets.

View lnlsn's full-sized avatar
🏠
Working from home

LnLsn lnlsn

🏠
Working from home
  • Sao Paulo - Brazil
View GitHub Profile
@gbrlsnchs
gbrlsnchs / README.md
Last active August 26, 2025 05:53
Void Linux Installation Guide (UEFI + chroot + brtfs + LUKS-encrypted root and swapfile)

Installation guide for Void Linux with LUKS-encrypted btrfs root

NOTE

I have ported this Gist to a handbook. I'll not maintain this Gist anymore, but will keep it here for future references. You can access the respective chapter in the handbook here.

Introduction

In this guide you will find:

  • btrfs with Zstandard compression
  • LUKS-encrypted root and swapfile
  • GRUB with UEFI
@lnlsn
lnlsn / config
Last active February 21, 2017 11:05
Host github.com
Hostname ssh.github.com
Port 443
User git
PreferredAuthentications publickey
Host bitbucket.org
Hostname altssh.bitbucket.org
Port 443
User git
PreferredAuthentications publickey
@VovanR
VovanR / .Xresources
Created October 29, 2015 14:17
Atom One Light color theme for xterm and urxvt
! Atom One Light theme
xterm*background: #f9f9f9
xterm*foreground: #383a42
xterm*cursorColor: #d0d0d0
xterm*color0: #000000
xterm*color1: #E45649
xterm*color2: #50A14F
xterm*color3: #986801
xterm*color4: #4078F2
xterm*color5: #A626A4
@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active March 11, 2026 09:03
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
@pascalpoitras
pascalpoitras / 1.md
Last active March 5, 2026 14:56
My WeeChat configuration

This configuration is no longer updated

anonymous
anonymous / Alternative-Image-Classes-in-Markdown.markdown
Created October 13, 2013 00:02
A Pen by Kevin.

Alternative Image Classes in Markdown

This is a kind-of "hack" to apply CSS to images in Markdown.

A Pen by Kevin on CodePen.

License.

@qrush
qrush / Gemfile
Last active December 10, 2015 21:38
Simple Rakefile and Gemfile for using SCSS and CoffeeScript with Jekyll without plugins
source 'https://rubygems.org'
gem 'jekyll'
gem 'maruku'
gem 'rake'
gem 'sass'
gem 'coffee-script'
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
@peternixey
peternixey / securing_rails_updates.md
Created March 5, 2012 13:10
How Homakov hacked GitHub and how to protect your application by Peter Nixey

##How Homakov hacked GitHub and the line of code that could have prevented it


Please note: THIS ARTICLE IS NOT WRITTEN BY THE GITHUB TEAM or in any way associated with them. It's simply hosted as a Gist because the markdown formatting is excellent and far clearer than anything I could manage on my personal Tumblr at peternixey.com.

If you'd like to follow me on twitter my handle is @peternixey


@thatfunkymunki
thatfunkymunki / application_helper.rb
Created November 9, 2011 08:21 — forked from purcell/application_helper.rb
Make will_paginate generate HTML that bootstrap.less will render nicely, fixed for will_paginate 3.0.2
# Based on https://gist.github.com/1205828, in turn based on https://gist.github.com/1182136
class BootstrapLinkRenderer < ::WillPaginate::ActionView::LinkRenderer
protected
def html_container(html)
tag :div, tag(:ul, html), container_attributes
end
def page_number(page)
tag :li, link(page, page, :rel => rel_value(page)), :class => ('active' if page == current_page)