https://git-scm.com/docs/pretty-formats
git config --list
git config core.editor code (configuring to use VsCode)
git config --global --edit (After you call to edit)
https://git-scm.com/docs/pretty-formats
git config --list
git config core.editor code (configuring to use VsCode)
git config --global --edit (After you call to edit)
import numpy as np | |
import soundfile as sf | |
from scipy.fftpack import fft, ifft | |
def rotateSignal(signal,flip): | |
if flip: | |
signal = signal[::-1] | |
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft | |
rotSig = np.real(ifft(x)) |
CREATE TABLE IF NOT EXISTS cards ( | |
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, | |
entry TEXT NOT NULL, | |
created_at TIMESTAMP DEFAULT (strftime('%s', 'now')) NOT NULL, | |
updated_at TIMESTAMP DEFAULT (strftime('%s', 'now')) NOT NULL | |
); | |
CREATE VIRTUAL TABLE IF NOT EXISTS cards_fts USING fts5( | |
entry, | |
content='cards', |
0x8545
: Original 84
-> 85
0x08FF19
: Original 75
-> EB
0x1932C7
: Original 75
-> 74
(remove UNREGISTERED in title bar, so no need to use a license)Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.
To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.
""" | |
Simple script to plot your Discord machine-learning predicted age and gender from the data dump. | |
To use, simply put this script in your activity/analytics/ folder of your Discord data dump and run it. | |
You may need to install matplotlib first: | |
pip install -U matplotlib | |
thrown together by rebane2001 |
Lots of stuff going on in my personal life the last few months. An immediate family member went from completely independent, at the end of February, to bedridden in a two week span and given a death sentence diagnoses. Part of their wishes was minimal people knowing/visiting during the process, but they passed this Monday and the obituary was published today (Some people I know IRL know *this* is me so I couldn't post any of this before). They were a huge part of my life, a central part of my entire family, all my friends knew them, and I had seen them nearly daily since I stopped traveling for work three years ago. So this is a huge event for me. A few people in the PS community knew about it because I didn't have time to try and make some made up excuse for my absence the times I was able pop online the last few months, I appreciate they kept it to themselves (If they did... I haven't been around to see if they did).
Add to this there's been a local "natural" disaster on their property, that I'm now part
Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:
Up Arrow
: Will show your last commandDown Arrow
: Will show your next commandTab
: Will auto-complete your commandCtrl + L
: Will clear the screen#!/bin/bash | |
# This script clones all GitHub repositories of a specific user. | |
# | |
# Command Execution Example: | |
# ./clone-all-repos-github.sh <USERNAME> [<URL_TYPE>] | |
# | |
# Arguments: | |
# <USERNAME> GitHub username whose repositories will be cloned. | |
# [<URL_TYPE>] is optional and can be "ssh_url" (default value) or "clone_url". |