Skip to content

Instantly share code, notes, and snippets.

View growtopiajaw's full-sized avatar
🏠
Working from home

Growtopia Jaw growtopiajaw

🏠
Working from home
  • gjaw.duckdns.org
  • Malaysia
View GitHub Profile
######################
# Become a Certificate Authority
######################
# Generate private key
openssl genrsa -des3 -out myCA.key 2048
# Generate root certificate
openssl req -x509 -new -nodes -key myCA.key -sha256 -days 825 -out myCA.pem
######################
https://www.romsgames.net/playstation-2-rom-need-for-speed-underground/
https://www.romsgames.net/playstation-2-rom-nickelodeon-avatar-the-last-airbender---into-the-inferno/
https://www.romsgames.net/playstation-2-rom-nickelodeon-avatar-the-last-airbender---the-burning-earth/
#!/usr/bin/env python
## https://jorge.fbarr.net/2017/06/11/simplehttpserver-with-ssl/
import BaseHTTPServer, SimpleHTTPServer
import ssl
## Variables you can modify
bind_to_address = ''
server_port = 8080
#!/bin/bash
### Script installs root.cert.pem to certificate trust store of applications using NSS
### (e.g. Firefox, Thunderbird, Chromium)
### Mozilla uses cert8, Chromium and Chrome use cert9
###
### Requirement: apt install libnss3-tools
###
Device: Xperia X Performance (SOV33)
Market: Japan
Operator: KDDI JP
SW ID/Version: 1300-5352 / 39.2.C.0.311
CDF ID/Revision: 1301-6729 / R16C
FS Variant: GENERIC
Size: 2.67 GB
Manual Downloading Instructions:
#! /bin/bash
NAME="NASCAR_Heat_4_HOODLUM.iso"
URL="http://145.239.2.132/Oceanofgames.com/NASCAR_Heat_4_HOODLUM.iso?md5=NHQvkkdfIpVgcPDlneZdVQ&expires=1584250465"
curl --range 0-1900000000 -o "${NAME}.part1" "${URL}"
curl --range 1900000001-3800000000 -o "${NAME}.part2" "${URL}"
curl --range 3800000001-5700000000 -o "${NAME}.part3" "${URL}"
curl --range 5700000001-7600000000 -o "${NAME}.part4" "${URL}"
curl --range 7600000001-9500000000 -o "${NAME}.part5" "${URL}"
curl --range 9500000001-11400000000 -o "${NAME}.part6" "${URL}"
curl --range 11400000001-13300000000 -o "${NAME}.part7" "${URL}"
#!/bin/bash
##
# File:
# nginx_modsite
# Description:
# Provides a basic script to automate enabling and disabling websites found
# in the default configuration directories:
# /etc/nginx/sites-available and /etc/nginx/sites-enabled
# For easy access to this script, copy it into the directory:
- the daemon at /usr/sbin/netdata
- config files in /etc/netdata
- web files in /usr/share/netdata
- plugins in /usr/libexec/netdata
- cache files in /var/cache/netdata
- db files in /var/lib/netdata
- log files in /var/log/netdata
- pid file at /var/run/netdata.pid
- logrotate file at /etc/logrotate.d/netdata

chmod +x /etc/init.d/mcmyadmin

update-rc.d mcmyadmin defaults

@growtopiajaw
growtopiajaw / macOS-in-virtualbox.md
Created October 27, 2019 07:48 — forked from rob-smallshire/macOS-in-virtualbox.md
Notes on getting macOS Sierra running in Virtualbox on a Windows 10 host

On Mac

Download, but don't run, the Sierra installer from the Mac App Store. This places the installer at /Applications/Install\ macOS\ Sierra.app/.

Now run the following commands to build a suitable VM image from the installer:

git clone https://github.com/jonanh/osx-vm-templates
cd osx-vm-templates/packer

sudo ../prepare_iso/prepare_vdi.sh -D DISABLE_REMOTE_MANAGEMENT -o macOS_10.12.vdi /Applications/Install\ macOS\ Sierra.app/ .