Skip to content

Instantly share code, notes, and snippets.

View flameddd's full-sized avatar

Jacky Hu flameddd

View GitHub Profile
@jhaddix
jhaddix / reconftw.cfg
Last active September 2, 2024 21:28
reconFTW config file: NO google/osint, wordlist creation, nuclei js analysis
#################################################################
# reconFTW config file #
#################################################################
# General values
tools=~/Tools # Path installed tools
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" # Get current script's path
profile_shell=".$(basename $(echo $SHELL))rc" # Get current shell profile
reconftw_version=$(git rev-parse --abbrev-ref HEAD)-$(git describe --tags) # Fetch current reconftw version
generate_resolvers=false # Generate custom resolvers with dnsvalidator
@Potherca
Potherca / compile-lynx-wasm.sh
Last active April 13, 2024 16:05
Steps to compile the Lynx web browser to Web Assembly
# Sources used in figuring this out:
#
# - https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm
# - https://emscripten.org/docs/compiling/Building-Projects.html#building-projects
# Set up Emscripten SDK
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk/
./emsdk install latest
./emsdk activate latest
Readme: In the following pseudo code, [] indicates a subroutine.
Sometimes I choose to write the subroutine inline under the [] in order to maintain context.
One important fact about the way rollbacks are handled here is that we are storing state for every frame.
In any real implementation you only need to store one game state at a time. Storing a game
state for every frame allows us to only rollback to the first frame where the predicted inputs don't match the true ones.
==Constants==
MAX_ROLLBACK_FRAMES := Any Positive Integer # Specifies the maximum number of frames that can be resimulated
FRAME_ADVANTAGE_LIMIT := Any Positive Integer # Specifies the number of frames the local client can progress ahead of the remote client before time synchronizing.
@erikig
erikig / common-domain-prefix-suffix-list.tsv
Last active October 9, 2024 10:40
Top 5000 Most Common Domain Prefix/Suffix List - Courtesy LeanDomainSearch - https://leandomainsearch.com/top-domain-name-prefixes-and-suffixes/, Google Sheets version with changes to domain length - https://docs.google.com/spreadsheets/d/1BzZJ7BNek7ssUB2hWc6ChdF-mxN7QOE4U380Qx8uvR8/edit#gid=1626652908
Rank Type Prefix/Suffix Length
1 Prefix my+ 2
2 Suffix +online 6
3 Prefix the+ 3
4 Suffix +web 3
5 Suffix +media 5
6 Prefix web+ 3
7 Suffix +world 5
8 Suffix +net 3
9 Prefix go+ 2
@raysan5
raysan5 / custom_game_engines_small_study.md
Last active October 24, 2024 16:16
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d

babel-plugin-transform-mui-imports npm

A plugin to make authoring with MUI components efficient, both for humans and bundlers.

Here's why:

@sundowndev
sundowndev / GoogleDorking.md
Last active October 31, 2024 23:38
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"

譯: Recca、黃雅信

CREDIT

GitLab 的六個價值是合作(Collaboration),結果(Results),效率(Efficiency),多元(Diversity),迭代(Iteration)和透明(Transparency)。這六個字拼成 CREDIT 作為我們送給各位的禮物。這些價值觀是相互關聯的,彼此之間互相合作以保護我們公司的文化。下面逐一解釋這些價值觀的操作方式:

合作

即使對目標沒有立即性的幫助,幫助別人應該是首要項目。相同的,你可以依靠別人的協助與意見 - 事實上你也應該要這樣。 每個人,包含不在 gitlab 公司工作的人,都可以對任何專案提意見。對專案負責的人決定專案要怎麼做,但是他應該要認真看待其他人的意見,並解釋為什麼之前有或者沒有這麼做。

@Orbifold
Orbifold / node-d3.js
Last active July 5, 2018 05:50
Creating a pie-chart with NodeJS and d3.
var fs = require('fs');
var path = require('path');
var d3 = require('d3');
const jsdom = require("jsdom");
const JSDOM = jsdom.JSDOM;
var chartWidth = 500, chartHeight = 500;
var arc = d3.svg.arc()
.outerRadius(chartWidth / 2 - 10)
var bankTypes = [
{"code": "0", "name": "中華郵政"},
{"code": "1", "name": "信用合作社"},
{"code": "2", "name": "國內外銀行"},
{"code": "3", "name": "漁會"},
{"code": "4", "name": "農會"}
];
var bankCodes = {
"0": [