Skip to content

Instantly share code, notes, and snippets.

@ilyaigpetrov
ilyaigpetrov / why-my-tk-site-was-deleted-by-freenom.md
Last active July 20, 2023 02:46
Why My .tk Site Was Deleted by Freenom? | by https://git.io/ilyaigpetrov

Permanent link: https://git.io/why-my-tk-site-was-deleted

UPD: Now (October of 2018) Freenom informs you a few days before deleting your site. Thank you, Freenom!

My .tk Site Was Deleted by Freenom

I sustained a site anticensority.tk registered by Freenom.
Site/domain was heavily used but had almost no HTML content.
It also was behind Cloudflare servers for better caching.

@codediodeio
codediodeio / database.rules.json
Last active November 9, 2025 17:54
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@jimmywarting
jimmywarting / readme.md
Last active October 27, 2025 09:52
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@csukuangfj
csukuangfj / default-linker-script.txt
Last active August 19, 2025 11:45
This file shows the default linker script of `ld`, use `ld --verbose` to show it.
GNU ld (GNU Binutils for Ubuntu) 2.25.1
Supported emulations:
elf_x86_64
elf32_x86_64
elf_i386
i386linux
elf_l1om
elf_k1om
i386pep
i386pe
@msimpson
msimpson / !wasmllvm.md
Last active December 2, 2020 18:29 — forked from yurydelendik/!wasmllvm.md
Using WebAssembly in LLVM on Windows

Using WebAssembly in LLVM on Windows

Forewarning: this can be a bit painful and may not work as expected. I've already had issues with even including stdlib through clang.

Installing Dependencies

GIT

Make sure you have git installed and properly configured before continuing. This is trivial on Windows these days (https://git-scm.com/download/win) but is required to pull down Binaryen and Wabt.

Make sure to add the binary to your PATH variable in Windows.

@joncardasis
joncardasis / WebServer.py
Created February 7, 2017 21:08
A simple and quick HTTP web server in Python
"""
Author: Jonathan Cardasis
"""
import socket
import signal # Allow socket destruction on Ctrl+C
import sys
import time
import threading
@radu-matei
radu-matei / custom-tinycore.sh
Created February 3, 2017 13:20 — forked from dankrause/custom-tinycore.sh
Create a custom tinycore linux iso. Adjust the config at the beginning of the script, or supply a conf as the first arg. Requires xorriso.
#!/bin/bash
set -e
function cleanup() {
# clean up our temp folder
rm -rf "${TMPDIR}"
}
trap cleanup EXIT
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active November 1, 2025 18:23
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@elerch
elerch / arch-usb-uefi.md
Last active October 15, 2025 20:13
Installation of Arch Linux on a USB stick with UEFI and legacy BIOS Support

Our goal here is to have one USB stick to rule them all. Objectives:

  • We want a full system - not a live CD
  • We want to boot this system on a Macbook Pro (requires UEFI)
  • We want to boot this system on a Acer C720 Chromebook (requires Legacy BIOS support)
  • We want the system "functional"

The last bullet is subject to interpretation, but I'm defining functional as:

  • X Windows works (with LXDE)
@Xaekai
Xaekai / ipc.example.js
Created July 11, 2016 18:12
Example of Interprocess communication in Node.js through a UNIX domain socket
/*
**
** Example of Interprocess communication in Node.js through a UNIX domain socket
**
** Usage:
** server> MODE=server node ipc.example.js
** client> MODE=client node ipc.example.js
**
*/