Skip to content

Instantly share code, notes, and snippets.

@voluntas
voluntas / webrtc_turn.rst
Last active May 13, 2024 00:58
WebRTC で利用されいる TURN プロトコルの解説

WebRTC で利用されいる TURN プロトコルの解説

日時

2021-01-29

@voluntas

バージョン

2021.2

url

https://voluntas.github.io/

image

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@loonietoque
loonietoque / ultrawide-twitch-notes.md
Created January 31, 2024 19:51
Ultrawide on Twitch

Ultrawide Streaming Notes

When I am speaking on "ultrawide", I am usually referring to the common aspect ratio stated as "21:9".

I argue there is a case for content creation at 21:9 resolutions. Primarily,

  • Smartphones are a very common viewing device, and are ever-increasing in lengthier aspect ratios. Many creators already use 18:9 instead of 16:9 for this reason.
  • For desktops, folks are very rarely watching in fullscreen mode anyways
@rphlmr
rphlmr / clear-db.ts
Last active May 13, 2024 00:57
Drizzle snippets
// Credits to Louistiti from Drizzle Discord: https://discord.com/channels/1043890932593987624/1130802621750448160/1143083373535973406
import { sql } from "drizzle-orm";
const clearDb = async (): Promise<void> => {
const query = sql<string>`SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'public'
AND table_type = 'BASE TABLE';
`;
@xt0rted
xt0rted / README.md
Last active May 13, 2024 00:54
Auto-merge Dependabot PRs for minor & patch updates

README

Note

I'm now using a newer version of this workflow that supports an allow list for individual packages and update groups which can be found here:

If you're using a workflow like this and need to manage secrets in multiple repos xt0rted/secrets-sync can simplify that. This lets you add secrets to one repo and sync them to many repos. There's also a template you can fork to get started quickly with it.

Personal Access Token

@mdabdulripon
mdabdulripon / MYSQL.md
Last active May 13, 2024 00:42
Create local instance of MySQL database and Access it from the terminal

Download and Install MySQL on your local machine:

Access my SQL from the terminal.

cd /usr/local

Perform ls to List all the files and directories

@evilactually
evilactually / CMakeLists.txt
Created August 8, 2016 21:00
Compiling GLSL to SPIR-V from CMake
if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "AMD64")
set(GLSL_VALIDATOR "$ENV{VULKAN_SDK}/Bin/glslangValidator.exe")
else()
set(GLSL_VALIDATOR "$ENV{VULKAN_SDK}/Bin32/glslangValidator.exe")
endif()
file(GLOB_RECURSE GLSL_SOURCE_FILES
"shaders/*.frag"
"shaders/*.vert"
)
@maxwell-bland
maxwell-bland / sp.txt
Created January 30, 2022 20:22
How to use symbolic propagator ghidra
Python Interpreter for Ghidra
Based on Jython version 2.7.2 (v2.7.2:925a3cc3b49d, Mar 21 2020, 10:03:58)
[OpenJDK 64-Bit Server VM (Private Build)]
Press 'F1' for usage instructions
>>> import ghidra.program.util.ContextEvaluatorAdapter
>>> import ghidra.program.util.ContextEvaluatorAdapter
>>> i = getInstructionAt(currentAddress)
>>> i
MOV ESI,0xa
>>> i.getOpObjects(1)
@juligaioso
juligaioso / #30DaysOfCTF
Last active May 13, 2024 00:34
30 days of CTF
For the next 30 days, I decided to improve my pentesting skills. So, inspired in the challenge of #100DaysOfCode, i create the challenge #30DaysOfCTF.
## Main Rules:
1. Resolve a CTF challenge every day;
2. Create and publish a WriteUp about the CTF;
3. Share my progress and the WriteUp in the social midia with the hashtag #30DaysOfCTF.
My #30DaysOfCTF starters in 05/13/2024.