Skip to content

Instantly share code, notes, and snippets.

@ddieppa
ddieppa / InstallChocolateyPackages.ps1
Last active April 27, 2024 16:24
My "must" chocolatey packages
function main {
Update-Windows-Configuration
Install-Utils
Install-Browsers
Install-Fonts
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 27, 2024 16:23
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@r15ch13
r15ch13 / iommu.sh
Last active April 27, 2024 16:23
List IOMMU Groups and the connected USB Devices
#!/usr/bin/env bash
shopt -s nullglob
lastgroup=""
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do
for d in $g/devices/*; do
if [ "${g##*/}" != "$lastgroup" ]; then
echo -en "Group ${g##*/}:\t"
else
echo -en "\t\t"
@sarlinpe
sarlinpe / viewer.py
Created February 28, 2022 07:59
Open3D COLMAP viewer
import os
from collections import defaultdict
from copy import deepcopy
import numpy as np
from matplotlib import cm
import open3d as o3d
import open3d.visualization as vis
import pycolmap
print(o3d.__version__)
@matinrco
matinrco / gitProxy.md
Last active April 27, 2024 16:22
Configure git/ssh to use socks/http proxy in windows, linux & wsl2

Windows

Add this to your ssh config file ( which is located in %USERPROFILE%\.ssh\config ) or create one if it's missing:

Http proxy & repo access via ssh:

Host *
    ProxyCommand "C:/Program Files/Git/mingw64/bin/connect.exe" -H {proxyserver}:{port} %h %p

or (for specific host name)

Host gitlab.com
@cjxe
cjxe / 1.md
Last active April 27, 2024 16:19
🍎 MacOS apps that I use regularly

⚠️ DISCLAIMER

My general thumb of rule to download a new tool is to wait until I Google a tool to solve a problem, and then integrate it into my workflow. So download the tools which you think are useful to your workflow.

Productivity

@clintcolding
clintcolding / rpisshkeys
Created July 9, 2019 17:25
Configure Raspberry Pi SSH Keys
#---- Create key on client ----#
ssh-keygen -b 2048 -t rsa
#---- Validate creation ----#
ls ~/.ssh
#---- SSH to Pi and create the SSH directory and file ----#
mkdir .ssh
cd .ssh
touch authorized_keys
@b3h3rkz
b3h3rkz / faucets.md
Last active April 27, 2024 16:16
Bitcoin Testnet Faucets
@noghartt
noghartt / cc.md
Last active April 27, 2024 16:16
Resources to learn more about Computer Science and related stuffs