- 日時
2021-01-29
- 作
@voluntas
- バージョン
2021.2
- url
Discover gists
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.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
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
// 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'; | |
`; |
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.
Download and Install MySQL on your local machine:
❯ cd /usr/local
Perform ls to List all the files and directories
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" | |
) |
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) |
The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
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. |