My collection of scripts for Discord.
friend_invitelink.js
: Generate a friend invite linkclientside_nitro.js
: Spoof the client and enable client side Discord Nitro
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Z-Index Example</title> | |
<style> | |
html, body { background-color: #00787F; } | |
.container { | |
position: relative; |
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
Gotten from the RedHat GPG migration manual
## Export all public keys
gpg -a --export >mypubkeys.asc
We Gophers, love table-driven-tests, it makes our unittesting structured, and makes it easy to add different test cases with ease.
Let’s create our table driven test, for convenience, I chose to use t.Log
as the test function.
Notice that we don't have any assertion in this test, it is not needed to for the demonstration.
func TestTLog(t *testing.T) {
t.Parallel()
#!/bin/bash | |
# Directory where the OASIS data is located | |
ROOTDIR=/home/fahim/dataset | |
# Directory to save results | |
NIFTIDIR=${ROOTDIR}/../nifti | |
# Go to the directory with the data | |
cd ${ROOTDIR} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Z-Index Example</title> | |
<style> | |
html, body { background-color: #00787F; } | |
.container { | |
position: relative; |