Skip to content

Instantly share code, notes, and snippets.

@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active March 16, 2025 16:53
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@rsms
rsms / macos-distribution.md
Last active March 16, 2025 16:51
macOS distribution — code signing, notarization, quarantine, distribution vehicles
Process for setting up github pages with namecheap domain.
1. Go to namecheap.com, select and buy domain name.
2. Login to namecheap, go to username drop down and select dashboard.
3. Go to DomainList
4. Click manage button
5. Click Advanced DNS tab
6. Click add record and add three records:
Type: A Record | Host: @ | Value: 192.30.252.153 | TTL: Automatic
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active March 16, 2025 16:47
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@jagt
jagt / roguelike-dossier.mkd
Last active March 16, 2025 16:46
roguelike-dossier

Roguelike 到底是啥

讲讲 Roguelike 相关知识

最后更新 2013.5.28

引言

如果你是一位资深游戏玩家,那么最近你肯定在哪里看到过 Roguelike 这个词。Roguelike 这个古老的游戏类型现在又变得很潮流,其中各种要素都在不断的被新游戏借鉴。作为一名就是比你有更多空余时间的高玩,我想在这里介绍一下我了解的 Roguelike 相关的东西。文章很长,但应该会比较有意思。

@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active March 16, 2025 16:45
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active March 16, 2025 16:43
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Geo IP Location</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- Importing Matrix-like font from Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Tektur:[email protected]&display=swap" rel="stylesheet">
<style>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Geo IP Location</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- Importing Matrix-like font from Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Tourney:ital,wght@0,100..900&display=swap" rel="stylesheet">
<style>