Skip to content

Instantly share code, notes, and snippets.

@psiborg
psiborg / macos_screenshot.md
Created January 12, 2024 19:57
Change where screenshots are saved on macOS

To change the default save location for screenshots on macOS Mojave (or later):

  • Press "Shift-Command-5" to invoke the screen capture panel
  • Click on "Options" and choose "Other Location" to choose a destination

options

@psiborg
psiborg / win10_change_user_folder_name.md
Created November 7, 2023 19:20
Change a user's folder name in Windows 10
  1. Under Windows Settings > Accounts > Family & other users > Other users
  • Click the button for "Add someone else to this PC"
  • Click the link for "I don't have this person's sign-in information"
  • Click the link for "Add a user without a Microsoft account"
  • Enter a user name, password, and security questions
  • Change the account type to "Administrator - Local account"
  • Logout and login as this new user.
  1. Open a Command Prompt using "Run as administrator" and run:
@psiborg
psiborg / software.md
Last active March 19, 2024 01:58
Software
@psiborg
psiborg / kali.md
Last active March 26, 2023 02:53
Kali Linux

Kali Linux

sudo apt update
sudo apt upgrade

Change Login Screen

import pandas as pd
import numpy as np
def get_dataset(size):
# Create Fake Dataset
df = pd.DataFrame()
df['size'] = np.random.choice(['big','medium','small'], size)
df['age'] = np.random.randint(1, 50, size)
df['team'] = np.random.choice(['red','blue','yellow','green'], size)
df['win'] = np.random.choice(['yes','no'], size)
@psiborg
psiborg / backup.sh
Last active January 19, 2023 23:54
Backup files on Mac using command line
#!/bin/bash
currdate=`date +"%Y-%m-%d %T"`
folders=("Backup Documents Sites")
echo -e "\n---[${currdate}]---\n" >> ~/backup_stdout.log
echo -e "\n---[${currdate}]---\n" >> ~/backup_stderr.log
for folder in $folders
@psiborg
psiborg / README.md
Last active March 25, 2023 18:51
Garuda Linux

Garuda Linux

Update

sudo garuda-update

Yakuake

@psiborg
psiborg / quake.md
Last active December 13, 2022 02:51
Quake on Ubuntu

To enable the F12 hotkey in Ubuntu:

  • Go to: "Settings" > "Keyboard" > "View and Customize Shortcuts" > "Custom Shortcuts"
  • Click "+"
  • Enter the following the click "Add":
    • Name: Guake
    • Command: /usr/bin/guake
    • Shortcut: F12
@psiborg
psiborg / distros.md
Last active December 10, 2023 21:47
Linux Distros

Distros

Arch-based

Name Description Based on
Arch A minimalist, lightweight, and bleeding edge distribution that follows a rolling release model and offers customizability. It is a DIY distro for proficient GNU/Linux users who want to tweak their system according to their needs. Independent
Archcraft Uses window managers and lightweight applications, which makes it super fast. With pre-configured settings, Archcraft provides you the best out of the box window manager experience. Arch
@psiborg
psiborg / cyberwatch.csv
Last active April 11, 2022 19:46
Sample files for Thoughtworks' Tech Radar (https://www.thoughtworks.com/radar)
id name rcn type ending title teaser quadrant ring TRL MRL Score Median Performance Min Max cwurl
1 AARC2 206338 RIA Apr 2019 Authentication and Authorisation For Research and Collaboration The goal of AARC2 is to design an AAI framework to develop interoperable AAI, to enable researchers to access the whole research and infrastructure service portfolio with one login. AARC2's objectives are:1. enable federated access in research communities participating in... Secure Systems Adopt https://cyberwatching.eu/projects/929/aarc-2
4 AEGIS 210218 CSA Apr 2019 Accelerating EU-US DialoGue for Research and Innovation in CyberSecurity and Privacy AEGIS aims to strengthen dialogues between Europe and the US, in order to facilitate exchange of views, policies and best practices to stimulate cooperation around cybersecurity and privacy R&I, and contribute in shaping the future global cybersecurity and privacy... Cybersecurity Governance Adopt https://cyberwatching.eu/projects/932/aegis