I hereby claim:
- I am heyimblake on github.
- I am blakekhan (https://keybase.io/blakekhan) on keybase.
- I have a public key ASCO3hHP41xebqh7td9JqrVMVhR6sUBt9fQ-_xWUWnG5NAo
To claim this, I am signing this object:
| tunnel: XXX | |
| credentials-file: /etc/cloudflared/XXX.json | |
| ingress: | |
| - hostname: YOUR.DOMAIN.HERE | |
| service: ssh://localhost:22 | |
| - service: http_status:404 |
| #!/bin/bash | |
| # The name of the user to create (feel free to change) | |
| # You will be logging into this user instead of root | |
| USER_NAME="sammy" | |
| # Create User, copy ssh key from root, remove password | |
| adduser $USER_NAME | |
| usermod -aG sudo $USER_NAME | |
| rsync --archive --chown=$USER_NAME:$USER_NAME ~/.ssh /home/$USER_NAME |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # This script was created to convert a directory full | |
| # of markdown files into PDF files. It uses | |
| # pandoc and LaTeX to do the conversion. | |
| # | |
| # 1. Install pandoc from https://pandoc.org/ | |
| # 2. Install LaTeX from https://www.latex-project.org/ | |
| # 3. Copy this script into the directory containing the .md files | |
| # 4. Ensure that the script has execute permissions | |
| # 5. Run the script |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| // Node Structure | |
| typedef struct node { | |
| // Ordered from grestest member size to smallest member size for reducing memory used. | |
| struct node *left; // Pointer pointing to left child node. | |
| struct node *right; // Pointer pointing to right child node. | |
| int val; // The value the node is holding. |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main() { | |
| // Declare a variable named i | |
| // Initialize i with value of 10. | |
| int i = 10; | |
| printf("i = %d\n", i); |
| Google GSuite: https://blake.link/gsuite | |
| DigitalOcean: (Free Credit) https://blake.link/digitalocean | |
| Vultr: https://blake.link/vultr | |
| Capital One SavorOne: https://i.capitalone.com/GUiNdX9zZ |
| public ItemStack getCompass() { | |
| return new ItemBuilder(Material.COMPASS) | |
| .displayName(ChatColor.GREEN + "You shall not com-PASS!") | |
| .lore(ChatColor.GRAY + "I'm not even sorry for that pun.") | |
| .enchant(Enchantment.KNOCKBACK, 1) | |
| .enchant(Enchantment.DAMAGE_UNDEAD, 1) | |
| .unbreakable(true) | |
| .flag(ItemFlag.HIDE_ENCHANTS, ItemFlag.HIDE_UNBREAKABLE) | |
| .build(); | |
| } |
I hereby claim:
To claim this, I am signing this object:
| public BarColor getRandomColorExcluding(BarColor excludeColor) { | |
| int rdmint = new Random().nextInt(BarColor.values().length); | |
| BarColor color = BarColor.values()[rdmint]; | |
| if (color == excludeColor) | |
| color = BarColor.values()[rdmint == 0 ? rdmint + 1 : rdmint - 1]; | |
| return color; | |
| } |