Skip to content

Instantly share code, notes, and snippets.

View jcchikikomori's full-sized avatar
💭
I may be slow to respond.

John Cyrill Corsanes jcchikikomori

💭
I may be slow to respond.
View GitHub Profile
@jcchikikomori
jcchikikomori / HOWTO.md
Created July 17, 2022 13:13 — forked from cvan/HOWTO.md
How to serve a custom HTTPS domain on GitHub Pages with CloudFlare: *FREE*, secure and performant by default

Instructions

CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control and E-Tag headers, etc.), minification, etc.

  1. Make sure you have registered a domain name.
  2. Sign up for CloudFlare and create an account for your domain.
  3. In your domain registrar's admin panel, point the nameservers to CloudFlare's (refer to this awesome list of links for instructions for various registrars).
  4. From the CloudFlare settings for that domain, enable HTTPS/SSL and set up a Page Rule to force HTTPS redirects. (If you want to get fancy, you can also enable automatic minification for text-based assets [HTML/CSS/JS/SVG/etc.], which is a pretty cool feature if you don't want already have a build step for minification.)
  5. If you
@jcchikikomori
jcchikikomori / gaming-ports-for-huawei-EG8145V5.png
Last active December 27, 2024 18:51 — forked from renomureza/list-online-gaming-ports-for-mikrotik.txt
List of online gaming ports that can be used to optimize the HUAWEI EG8145V5 (Converge's OEM router)
gaming-ports-for-huawei-EG8145V5.png
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@jcchikikomori
jcchikikomori / yay.txt
Created June 20, 2022 08:03
My Arch Linux WSL Packages
aalib
abseil-cpp
accountsservice
acl
adobe-source-code-pro-fonts
adwaita-icon-theme
alsa-lib
alsa-plugins
alsa-topology-conf
alsa-ucm-conf
@jcchikikomori
jcchikikomori / Homebrew Install Top Google Fonts.md
Last active June 5, 2025 12:31 — forked from petsto/Homebrew Install Top Google Fonts.md
Quickly install top Google fonts via Homebrew

List of some top fonts for easy terminal install via Homebrew Fonts Cask.

brew install --cask font-open-sans \
 font-noto-sans \
 font-roboto font-roboto-mono font-roboto-slab \
 font-montserrat \
 font-lato \
 font-fira-code \
 font-source-code-pro \
@jcchikikomori
jcchikikomori / README.md
Created March 2, 2022 10:09 — forked from djfdyuruiry/README.md
WSL 2 - Enabling systemd

Enable systemd in WSL 2

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

    cd /tmp
@jcchikikomori
jcchikikomori / launch.json
Created February 17, 2022 07:59 — forked from vaiorabbit/launch.json
VSCode settings for ruby debugging
{
// IntelliSense を使用して利用可能な属性を学べます。
// 既存の属性の説明をホバーして表示します。
// 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Local File",
"type": "Ruby",
"request": "launch",
@jcchikikomori
jcchikikomori / nginx.conf
Last active March 2, 2022 03:29 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@jcchikikomori
jcchikikomori / AddSSHKeysAtLogin.plist
Created November 3, 2021 10:52 — forked from RichardBronosky/AddSSHKeysAtLogin.plist
Launch ssh-agent on boot (OSX macos)
<plist version="1.0">
<dict>
<key>Label</key>
<string>ssh-add-a</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/ssh-add</string>
<string>-A</string>
</array>
<key>StandardOutPath</key>
@jcchikikomori
jcchikikomori / index.php
Created October 2, 2021 13:35
My PiHole Blocking Page
<?php
// var_dump($_SERVER["HTTP_HOST"]);
/* Pi-hole: A black hole for Internet advertisements
* (c) 2017 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */