Skip to content

Instantly share code, notes, and snippets.

@jborean93
jborean93 / New-ScheduledTaskSession.ps1
Last active April 7, 2025 18:56
Creates a PSSession that targets a scheduled task process
# Copyright: (c) 2024, Jordan Borean (@jborean93) <[email protected]>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
Function New-ScheduledTaskSession {
<#
.SYNOPSIS
Creates a PSSession for a process running as a scheduled task.
.DESCRIPTION
Creates a PSSession that can be used to run code inside a scheduled task
@SomajitDey
SomajitDey / GraphQL_GitHub.md
Created April 7, 2025 18:55
GraphQL offers many advantages over REST API. Once learned, it's fast, it's efficient, it's fun

Notes and Learning Resources

@brentjanderson
brentjanderson / Howto.md
Created February 20, 2018 17:55
SSH Tunneling with Firefox

Sometimes it is useful to route traffic through a different machine for testing or development. At work, we have a VPN to a remote facility that we haven't bothered to fix for routing, so the only way to access a certain machine over that VPN is via an SSH tunnel to a machine that is reachable over the VPN. Other times, I have used this technique to test internet-facing requests against sites I am developing. It is pretty easy, and if you don't use firefox regularly, you can treat Firefox as your "Proxy" browser and other browsers can use a normal configuration (Although you can also configure an entire system to use the proxy, other articles exists that discuss this potential).

  1. Open a terminal
@GuiBibeau
GuiBibeau / 1.txt
Last active April 7, 2025 18:44
Vibe architecting prompts
I want you to refine this brainstorming document into a prompt for a deep research system that will be tasked with writing a technical spike
research document on a software engineering project. The goal of this research is to help guide future agentic coding systems into
having a good understanding of the technical landscape around the software the user wants to create.
<context>
Deep research is a category of product where large language models capable of test time compute are paired with capacities to:
- search the web
- browse documentatin
- read research paper
- further refine their research based on their finding
@rickklaasboer
rickklaasboer / how-to-setup-plex-with-sonarr-radarr-jackett-overseerr-and-qbittorrent-using-docker.md
Last active April 7, 2025 18:42
How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

Before continuing: This guide is currently outdated but I'm working on a new one with upgrading steps included. I'll link it here once it's finished :)

This is a guide that will show you how to setup Plex Media Server with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent with Docker. It is written for Ubuntu 20.04 but should work on other Linux distributions as well (considering supported distributions by Docker). It is also written for people who have some experience with Linux and Docker. If you are new to Docker, I recommend you to read the Docker documentation, and if you are new to Linux, I recommend you to read the Ubuntu documentation.

Now, let's get started!

Please note: This guide was written without considering hardlinking for Sonarr/Radarr. If you want to use hardlinking refer to #Hardlinking

@IsaacXen
IsaacXen / README.md
Last active April 7, 2025 18:40
(Almost) Every WWDC videos download links for aria2c.
@jhickson
jhickson / kill_children.ps1
Last active April 7, 2025 18:39
Kill all child processes of current Powershell script/session
function KillChildren
{
Param(
[Parameter(Mandatory=$True,Position=1)]
[int]$parentProcessId
)
Get-WmiObject win32_process | where {$_.ParentProcessId -eq $parentProcessId} | ForEach { KillChildren $_.ProcessId }
Get-WmiObject win32_process | where {$_.ParentProcessId -eq $parentProcessId} | ForEach { Stop-Process $_.ProcessId 2>$null }
}
@ttomasz
ttomasz / przykłady_tematów_gis.md
Last active April 7, 2025 18:37
Tematy GISowe

Plan tematów do omówienia dla przedmiotu Systemy Informacji Przestrzennej

Przykładowy plan stworzony dla studentów na kierunku: Inżynieria Bezpieczeństwa

Wykłady

  1. Charakterystyka danych przestrzennych
    • co to ta długość i szerokość geograficzna
    • wektor vs raster
  • podstawowe operacje na danych przestrzennych:
@sirodoht
sirodoht / migrate-django.md
Last active April 7, 2025 18:34
How to migrate Django from SQLite to PostgreSQL

How to migrate Django from SQLite to PostgreSQL

Dump existing data:

python3 manage.py dumpdata > datadump.json

Change settings.py to Postgres backend.

Make sure you can connect on PostgreSQL. Then:

@KenEkanem
KenEkanem / mirrorlist.md
Created April 25, 2023 02:06
Update mirrorlist in Arch linux using reflector

A "reflector" is a utility that helps users to find the fastest and most up-to-date mirrors for their system. Mirrors are servers that store copies of the Arch Linux packages and updates, which users can download and install on their own machines.

Installation

sudo pacman -S reflector

Usage

Default

reflector