Skip to content

Instantly share code, notes, and snippets.

View OmgImAlexis's full-sized avatar
🇹🇼

Alexis Tyler OmgImAlexis

🇹🇼
View GitHub Profile
@OmgImAlexis
OmgImAlexis / README.md
Created March 18, 2022 20:36 — forked from BrandonMiller97528/README.md
A deleted commit from the node-ipc repository. You can find the original commit here: https://github.com/RIAEvangelist/node-ipc/blob/847047cf7f81ab08352038b2204f0e7633449580/dao/ssl-geospec.js **WARNING: THIS IS LIVE MALWARE. RUN IT AT YOUR OWN RISK.**
@OmgImAlexis
OmgImAlexis / shutdown_notification.yaml
Last active May 21, 2021 06:38 — forked from gregoryduckworth/restart_notification.yaml
Home Assistant Shutdown Notification Blueprint
blueprint:
name: Home Assistant Shutdown Notification
description: Notify a user that Home Assistant starts shutting down
domain: automation
input:
notification_title:
name: Notification title (Optional)
description: 'Default: "Home Assistant"'
default: Home Assistant
notification_message:
# ....
monty = True
python = 1.234
monty_python = python ** 2
@OmgImAlexis
OmgImAlexis / user_data_hardening.sh
Last active December 26, 2015 03:00 — forked from bunchc/user_data_hardening.sh
Script for hardening a box via user-data
#!/bin/bash
# user-data-hardening.sh
# Authors: Cody Bunch (bunchc@gmail.com)
#
# Script intended to be supplied as userdata to a cloud of some flavor.
# Enables some sane sysctl defaults, turns up iptables, and
# installs a HIDS / NIDS package
# Supply your email here
email_address="xo@wvvw.me"
#!/bin/sh
#
# ^^^^^^^ That tells your shell what shell should be used to execute this script.
#
# As a rule you nearly always write in borne shell (plain sh)
# regardless of what shell you use for your terminals.
#
# Hence this should always be the first line in every script you write.
#
#
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@OmgImAlexis
OmgImAlexis / nodejs-unlock
Last active August 29, 2015 14:16 — forked from suhajdab/nodejs-unlock
Lock and unlock OSX from http request.
var applescript = require('applescript');
var http = require('http');
require('shelljs/global');
var script =
'tell application "System Events"\n\
if name of every process contains "ScreenSaverEngine" then \n\
tell application "ScreenSaverEngine"\n\
quit\n\
end tell\n\

Minecraft - Versioning your saves

This is a tutorial show how to version your saves using Git.

Q: Why would anyone go through this process?
A: Because if you do, you can undo an otherwise un-undoable action, such as swimming in a pit of lava and accidentally dropping your Notch armpit forged special edition diamond pickaxe and your 35 stacks of cobblestone.

Step by step tutorial

Download and install the appropriate version of Git