Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile
@ChristopherA
ChristopherA / ssh-keys-best-practices.md
Last active April 12, 2025 16:55
SSH Keys - Best Practices

SSH Keys Best Practices

(VERY rought draft, still a work-in-progress)

SSH Key Seperation

Authentication and signing keys serve different purposes, especially on platforms like GitHub where code integrity and access control are crucial. Here's a comparison based on their functions and best practices:

Authentication Keys:

  1. Purpose:
@pligor
pligor / jupyter_poc_playwright.ipynb
Created December 22, 2023 01:12
Proof of Concept to execute Playwright code cell by cell in a Jupyter Notebook, which speeds up development of new and especially existing scenarios exponentially
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zenware
zenware / 0_resume_tips.md
Last active January 10, 2025 07:44
Information mostly gathered from [talent.works](https://web.archive.org/web/20201111191543/https://talent.works/) (now-defunct) it may be worth reading through there as these notes are essentially a summary of that content.

Resume Tips

Resumes between 475-600 words have a higher interview rate with a sharp cliff on either end. -- Try to fit it all on one page, 2 pages max.

Have enough keywords to match ~50% of the job requirements, but don't overdo it.

No Objective Section (Unless you're wanting it to take place of a cover letter)

Every 3 sentences, use at least 1 number to demonstrate concrete impact Hovering around 20% of the content having numbers

@Digital39999
Digital39999 / kickPusherTypes.ts
Last active March 19, 2025 18:03
Keep in mind that some of those might also be partial.
export type PusherEvents = {
// 'channel.id';
channel: {
FollowersUpdated: {
followersCount: string | number
channel_id: number
username: unknown
created_at: number
followed: boolean
}
@ph33nx
ph33nx / WinMasterBlocker.bat
Last active April 17, 2025 15:02
Block All Adobe .exe files via Firewall on Windows Using Batch Script | Stop adobe apps to access internet
:: ################################################################
:: ## 🔥 WinMasterBlocker 🔥 #
:: ################################################################
:: # Author: https://github.com/ph33nx #
:: # Repo: https://github.com/ph33nx/WinMasterBlocker #
:: # #
:: # This script blocks inbound/outbound network access #
:: # for major apps like Adobe, Autodesk, Corel, Maxon, #
:: # and more using Windows Firewall. #
:: # #
@jordigg
jordigg / generate_world_holidays_calendar.py
Last active February 5, 2025 04:24
Generates a calendar file in ICS format with holidays around the world that are available on the nager API. It groups similar holidays showing the flag emoji of the corresponding countries. It also tries to find a Wikipedia link with more information about the holiday.
import wikipedia
import requests
from datetime import datetime
from ics import Calendar, Event
import argparse
import warnings
from bs4 import GuessedAtParserWarning
# Parses command line arguments
parser = argparse.ArgumentParser()
@pszemraj
pszemraj / inference_openai.py
Last active March 10, 2025 08:10
basic openai chat completion example
"""
inference_openai.py - text generation with OpenAI API
See https://platform.openai.com/docs/quickstart for more details.
Usage:
python inference_openai.py --prompt "The quick brown fox jumps over the lazy dog." --model "gpt-3.5-turbo" --temperature 0.5 --max_tokens 256 --n 1 --stop "."
Detailed usage:
python inference_openai.py --help
@ruevaughn
ruevaughn / 1_top+hacker_methodologies.md
Last active April 2, 2025 17:36
Hacker Methodologies & Tools (NEW)

The Top Hacker Methodologies & Tools Notes

Nuclei Templates

Concrete5 CMS : Identification, Mass Hunting, Nuclei Template Writing & Reporting


@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active April 14, 2025 01:59 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Last updated: April 2025

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

@odashi
odashi / should_mute_on_twitter.txt
Last active December 26, 2022 13:02
should_mute.txt
あまり大きな声で言えないのですが
あまり知られてないのですが
ありえない
あんまり言いたくないけど
いい加減にしてほしい
いい歳してお恥ずかしいのですが
悪用厳禁なのですが
安心してください
言いたくない過去を言うと
言わせてください