Skip to content

Instantly share code, notes, and snippets.

View OrigamiEngineer's full-sized avatar
👩‍🎤

Bridget McCallum OrigamiEngineer

👩‍🎤
View GitHub Profile
# disable secure boot in the bios, in menu security
# downlad and unzip refind-bin-0.7.8.zip
# install refind, assuming your ESP partition is /dev/sda1 and mounted in /boot/efi
cd refind-bin-0.7.8
./install.sh
# type y and go ahead
# at that time your boot entry should look like that
@OrigamiEngineer
OrigamiEngineer / Powershell Rosetta Stone.md
Last active November 30, 2020 21:18 — forked from yunga/Powershell Rosetta Stone.md
Dos/Unix/Powershell Commands

Powershell Rosetta Stone

[CMD] [Unix] [Powershell] Synopsis
HELP [man] [Get-Help] Displays information about commands and concepts.
[apropos] [Get-Command] Gets all commands.
[Show-Command] Displays PowerShell commands in a graphical window.

How to convert markdown to PDF:

This post reviews several methods for converting a Markdown (.md) formatted file to PDF, from UNIX or Linux machines.

Using Pandoc:

$ pandoc How_I_got_svg-resizer_working_on_Mac_OSX.md -s -o test1.pdf
@OrigamiEngineer
OrigamiEngineer / open-in-firefox.sh
Created September 19, 2020 17:51 — forked from SpotlightKid/open-in-firefox.sh
Open URL from Termux command line in Firefox Android browser
#!/bin/bash
#
# open-in-firefox.sh - open URL from Termux command line in Firefox Android browser
#
# Works with file:// URLs too, unlike with termux-open{-url}.
#
exec am start --user 0 -a android.intent.action.VIEW -n org.mozilla.firefox/.App -d "$1" >/dev/null
@OrigamiEngineer
OrigamiEngineer / optifine_alternatives_fabric.md
Created October 15, 2020 21:12 — forked from LambdAurora/optifine_alternatives_fabric.md
Recommended OptiFine alternatives on Fabric

Why?

OptiFine was originally a great mod offering many quality of life improvements for player in the beginning. However, over the years, its benefits have dwindled and has caused many issues for modders. This is due to Minecraft's codebase improving over the years and OptiFine's aggressiveness towards replacing entire swaths of code while being closed source making it very difficult to figure out why OptiFine has broken another modder's mod. Also worth noting that OptiFine natively doesn't support Fabric and it's hard to maintain OptiFabric.

In the modern Minecraft era, with Fabric's community effort, modders have begun to create alternatives for most of OptiFine's features to allow players to maintain better performance, better mod compatibility, and better support.

OptiFabric: A note about the 1.16 crashes

@OrigamiEngineer
OrigamiEngineer / bcdedit.ps1
Created October 22, 2020 16:37 — forked from tugberkugurlu/bcdedit.ps1
bcdedit examples
##################################################
#resources
##################################################
#http://technet.microsoft.com/en-us/library/cc721886(v=ws.10).aspx
#http://technet.microsoft.com/en-us/library/cc709667(v=ws.10).aspx
##################################################
#resources
##################################################
####################################################################################
# It looks like -multiwindow mode triggers the static color visual in both the internal x2go xserver and the external vcxsrv
# But it also looks like -multiwindow mode is how x2go client allows resizing of the remote desktop
# ...so I'm looking for a way to allow resizing of remote desktop w/out triggering static color visual.
#
# ...output of vcxsrv.exe's usage note:
Usage...
Vcxsrv [:<display>] [option]
:display-number
@OrigamiEngineer
OrigamiEngineer / table_writer.py
Created December 23, 2020 15:47 — forked from AO8/table_writer.py
Convert an HTML table into a CSV file with Python and BeautifulSoup.
# Adapted from example in "Web Scraping with Python, 2nd Edition" by Ran Mitchell.
import csv
from urllib.request import urlopen
from bs4 import BeautifulSoup
html = urlopen("http://en.wikipedia.org/wiki/"
"Comparison_of_text_editors")
soup = BeautifulSoup(html, "html.parser")
table = soup.findAll("table", {"class":"wikitable"})[0]
@OrigamiEngineer
OrigamiEngineer / OpenWrt detect new device and send text message.md
Created January 29, 2021 16:31 — forked from jwalanta/OpenWrt detect new device and send text message.md
Detect new network devices connecting to OpenWrt and send text message
@OrigamiEngineer
OrigamiEngineer / dream.ipynb
Created February 28, 2021 05:47 — forked from Andrew-William-Smith/dream.ipynb
The standard Google DeepDream notebook, modified to run under Python 3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.