Skip to content

Instantly share code, notes, and snippets.

@glebm
glebm / README.md
Last active March 29, 2023 19:56
Rails Link Preload Headers

This lets you set the preload headers for your assets, so that the browser can start fetching them before it begins parsing HTML.

@linktohack
linktohack / index.php
Created June 20, 2016 07:20
Adminer 4.2.5 loader without password for SQLite
<?php
function adminer_object() {
class AdminerSoftware extends Adminer {
function login($login, $password) {
return true;
}
}
return new AdminerSoftware;
}
include "./adminer-4.2.5.php";
@marcusandre
marcusandre / ipv6_freebsd.md
Created November 1, 2015 17:34
Configure IPv6 on netcup.de FreeBSD Servers

IPv6 on FreeBSD

ifconfig_em0_ipv6="<IP>"
ifconfig_vtnet0_aliases="inet6 <IP> prefixlen 64"
ifconfig_vtnet0_ipv6="inet6 accept_rtadv"
ipv6_default_interface="em0"
ipv6_defaultrouter="fe80::1%em0"
rtsold_enable="YES"