Skip to content

Instantly share code, notes, and snippets.

@0xjac
0xjac / private_fork.md
Last active January 6, 2025 22:03
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@brianmed
brianmed / dotnet-core.yml
Created October 8, 2020 02:37
Github Actions Pipeline for dotnet core deploying into DigitalOcean
name: .NET Core
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
@FGRibreau
FGRibreau / suno-download-all-songs.js
Created June 24, 2024 20:03
Download all Suno (app.suno.ai) songs displayed on a page
// open your javascript console and paste this
copy([...$('[role="grid"]')[Object.keys($('[role="grid"]')).filter(x => x.startsWith('__reactProps'))[0]].children[0].props.values[0][1].collection].filter(x => x.value.audio_url).map(x => x.value.audio_url).join(' '))
// now you have a list of mp3 urls directly in your clipboard that you can pass to wget or a url downloader
@ArmanTaheriGhaleTaki
ArmanTaheriGhaleTaki / automatic_FFMPEG_script
Created July 29, 2022 04:03
this is a bash script that compress MP4 formatted videos in a folder automatically and name the output as [Videoname] _compressed.mp4
#!/bin/bash
VIDEOS=$(ls *.mp4)
for VIDEO in $VIDEOS
do
ffmpeg -i $VIDEO -vcodec libx265 -crf 28 -f mp4 ${VIDEO%%.*}_compressed.mp4
done
@Manouchehri
Manouchehri / rfc3161.txt
Last active January 6, 2025 21:53
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com
@OtherDevOpsGene
OtherDevOpsGene / SELinux.md
Last active January 6, 2025 21:53
SELinux notes from Security-Enhanced Linux for mere mortals and SELinux For Dummies
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active January 6, 2025 21:52
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@albertofustinoni
albertofustinoni / Xbox360TitleIDs.json
Created February 4, 2022 04:04
Xbox 360 TitleIDs list
[
{ "TitleID": "545408B5", "Title": "NBA 2K15" },
{ "TitleID": "5752084D", "Title": "LEGO Jurassic World" },
{ "TitleID": "585509D5", "Title": "Flowrider" },
{ "TitleID": "41560870", "Title": "Jurassic - The Hunted" },
{ "TitleID": "5553083F", "Title": "Csi - Deadly Intent" },
{ "TitleID": "585508EB", "Title": "Ace Of Dynamites" },
{ "TitleID": "585509B6", "Title": "Oto" },
{ "TitleID": "58550A02", "Title": "Pingvinas" },
{ "TitleID": "58410909", "Title": "Blazing Birds" },
@komamitsu
komamitsu / gist:1528682
Created December 28, 2011 17:00
NIO Echo Server
package com.komamitsu;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import java.util.Iterator;