Skip to content

Instantly share code, notes, and snippets.

View jackyli-work's full-sized avatar
🎯
Wandering

Jacky Li jackyli-work

🎯
Wandering
View GitHub Profile

Announcement

Please stop using this extension and Microsoft's C++ extension for Unreal code completion.

clangd

The VSCode extension clangd has blazing fast code completion in comparison. I've made a VSCode extension for it:

https://github.com/boocs/unreal-clangd

You will use clangd for code completion(Intellisense) and use Microsoft's C++ extension for Building/Debugging

@usuyama
usuyama / setup_screen_on_wsl.sh
Created June 3, 2020 19:02
Use screen on Linux on Windows (WSL)
mkdir ~/.screen && chmod 700 ~/.screen
# Add SCREENDIR environment variable to .bashrc
echo 'export SCREENDIR=$HOME/.screen' >> ~/.bashrc
# https://codingrandomly.com/2018/07/running-screen-in-wsl/
@pinebright
pinebright / createWordList.py
Created September 1, 2019 00:55
dele で類推されるパスワードの生成に使っていたPythonスクリプトの再現
import argparse
import itertools
parser = argparse.ArgumentParser()
parser.add_argument('words', nargs='*')
parser.add_argument('--output', '-o')
args = parser.parse_args()
@niikoo
niikoo / Android - Enable ADB from recovery.md
Last active February 7, 2024 09:27 — forked from varhub/Android - Enable ADB from recovery.md
Android - Enable ADB from recovery

Android - Enable ADB from recovery

Credits to @TheOnlyAnil-@Firelord[^stackoverflow]

  • Requirements: a) stock recovery + rooted phone b) custom recovery

  • Files changed:

@santisbon
santisbon / Search my gists.md
Last active May 5, 2025 21:07
How to search gists.

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@leoloobeek
leoloobeek / get_gists.py
Created April 26, 2017 21:34
Download all gists for a specific user
# first: mkdir user && cd user && cp /path/to/get_gists.py .
# python3 get_gists.py user
import requests
import sys
from subprocess import call
user = sys.argv[1]
r = requests.get('https://api.github.com/users/{0}/gists'.format(user))
@danielalvarenga
danielalvarenga / terminal-colors-branch.sh
Last active May 1, 2025 21:57
Show branch in terminal Ubuntu
# Add in ~/.bashrc or ~/.bash_profile
function parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
RED="\[\033[01;31m\]"
YELLOW="\[\033[01;33m\]"
GREEN="\[\033[01;32m\]"
BLUE="\[\033[01;34m\]"
NO_COLOR="\[\033[00m\]"
@denji
denji / golang-tls.md
Last active May 6, 2025 12:12 — forked from spikebike/client.go
Simple Golang HTTPS/TLS Examples

Moved to git repository: https://github.com/denji/golang-tls

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
@cheyilin
cheyilin / Logger.cs
Last active September 29, 2020 07:37
//#define LOG_DEBUG
//#define LOG_THREAD_STATE
using UnityEngine;
using System;
using System.Text;
using System.Threading;
using System.Collections;
using System.Reflection;
using System.Diagnostics;
@laher
laher / loadchain.go
Last active November 18, 2024 06:06
how to load a certificate chain in Go. See how https://github.com succeeds and https://facebook.com fails.
package main
import (
"fmt"
"net/http"
"crypto/tls"
"crypto/x509"
"encoding/pem"
)
var chain=`-----BEGIN CERTIFICATE-----
MIIG5jCCBc6gAwIBAgIQAze5KDR8YKauxa2xIX84YDANBgkqhkiG9w0BAQUFADBs