This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Source: https://github.com/mandar1jn/portfolio/blob/master/src/assets/skylanders/figures.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # list partitions | |
| lsblk -f | |
| # mount the root partition | |
| mount /dev/nvme1n1p2 /mnt | |
| # mount the boot partition | |
| mount /dev/nvme1n1p1 /mnt/boot |
I hereby claim:
- I am sleeyax on github.
- I am sleeyax (https://keybase.io/sleeyax) on keybase.
- I have a public key whose fingerprint is E8DA EC0C 346D 354A CFA0 94C5 EEA3 74DC A7CB EE6B
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/sh | |
| if ! [ -z "$1" ] | |
| then | |
| echo "$1" | tr '[:upper:]' '[:lower:]' | |
| else | |
| echo "Usage: lcs <text>" | |
| echo 'Example: lcs "Foo Bar BAZ"' | |
| echo "Output: foo bar baz" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "net" | |
| "net/http" | |
| "net/url" | |
| "crypto/tls" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "sync" | |
| ) | |
| // based on: https://github.com/hakluke/hakoriginfinder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "io" | |
| "log" | |
| "net" | |
| "net/http" | |
| "sync" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Usage: | |
| # ./make_certs.sh test.example.com | |
| # | |
| # The required input to make_certs.sh is the path to your pfx file without the .pfx prefix | |
| # | |
| filename=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Function: decompress special Xamarin .dll files""" | |
| """ | |
| Background information and file format documentation: | |
| https://github.com/xamarin/xamarin-android/pull/4686 | |
| Installation notes: |
