A curated list of my GitHub stars! Generated by starred
This file contains 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
# PS-BGInfo | |
# Powershell script that updates the background image with a random image from a folder and writes out system info text to it. | |
# run as a lower priority task | |
[System.Threading.Thread]::CurrentThread.Priority = 'BelowNormal' | |
# Configuration: | |
# Font Family name | |
$font="Input" |
This file contains 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 | |
set -euo pipefail | |
INFO='\e[38;05;14m' | |
NC='\033[0m' # No Color | |
# apt | |
echo -e "${INFO}apt update${NC}"; | |
sudo apt update && echo -e "${INFO}apt list --upgradable${NC}" && apt list --upgradable; | |
# snap |
This file contains 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
// Assembly BouncyCastle.Crypto, Version=1.8.1.0 | |
using Org.BouncyCastle.Bcpg; | |
using Org.BouncyCastle.Bcpg.OpenPgp; | |
using Org.BouncyCastle.Security; | |
using System; | |
using System.IO; | |
using System.Text; | |
namespace EncryptionSample | |
{ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
<!doctype html> | |
<html amp lang="{{parent.lang}}" class="no-js"> | |
<head> | |
<meta charset="utf-8" /> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
<meta name="viewport" content="width=device-width,minimum-scale=1" /> | |
<title>{{title}}</title> | |
<meta name="description" content="{{{coalesce description ''}}}" /> | |
<meta name="author" content="{{{coalesce author parent.author}}}" /> | |
<meta name="copyright" content="{{{coalesce copyright parent.copyright}}}" /> |
This file contains 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
{ | |
"u1faa6": "headstone", | |
"u0038-ufe0f-u20e3": "keycap-8", | |
"u1f469-u200d-u1f9b1": "woman-curly-hair", | |
"u1f96b": "canned-food", | |
"u1f362": "oden", | |
"u2620-ufe0f": "skull-and-crossbones", | |
"u1f1ff-u1f1f2": "flag-zambia", | |
"u1f5e8-ufe0f": "left-speech-bubble", | |
"u1f3ae": "video-game", |
This file contains 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 | |
set -euo pipefail | |
INFO='\e[38;05;14m' | |
NC='\033[0m' # No Color | |
# https://github.com/hodgesmr/mastodon_digest | |
cd ~/Projects/github/mastodon_digest/ | |
echo -e "${INFO}🐘 getting latest...${NC}"; | |
git fetch && git pull | |
echo -e "${INFO}generating content index...${NC}"; |
This file contains 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 | |
set -euo pipefail | |
# itch.io user name | |
user=travishardiman | |
# itcg.io project name | |
project=turtles | |
itch="$user/$project" | |
# base folder where each of the export folders are | |
folder=~/Projects/godot-projects/turtlescript/bin/deploy | |
# project.godot file |
This file contains 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
@echo off | |
:: see if %1 exists, if not check for %1.cs | |
set CODE=%1 | |
IF NOT EXIST %CODE% set CODE=%1.cs | |
:: init paths | |
set NETPATH=%systemroot%\Microsoft.NET\Framework64\v4.0.30319 | |
set TEMP_CS=%temp%\~temp.%random%.cs | |
set TEMP_EXE=%temp%\~temp.%random%.exe | |
:: init source class | |
echo using System; class P { static void Main() { > %TEMP_CS% |
NewerOlder