Skip to content

Instantly share code, notes, and snippets.

@johnrkriter
johnrkriter / readme.md
Created January 22, 2021 06:57 — forked from rawsh/readme.md
Emulating BotW on PC with CEMU and Wii USB Helper
  • Download maple seed http://www.majorgeeks.com/files/details/wii_u_usb_helper.html
  • Create emulation and games directory (Documents/CEMU/Games)
  • Download CEMU http://cemu.info/ and extract to emulation directory (Documents/CEMU/cemu)
  • Download CEMUhook and extract to the same directory https://cemuhook.sshnuke.net/
  • Launch wii usb helper and give wiiu.titlekeys.gq as the title key site (database)
  • Search Breath Of the Wild and select Add, Add Update, and Add DLC then click download on the bottom left
  • Download the Cache from here and move it to the folder cemu/shaderCache/transferable
  • Launch the cemu executable. Click input and Xinput then select the controller and map buttons. Set CPU -> triple core recompiler in the top bar settings.
  • Click prepare game for emulation in Wii USB Helper then "Play this game on PC" (you can also add a steam shortcut)
  • The first launch shader compilation will take up
@johnrkriter
johnrkriter / benchmark-commands.md
Created January 18, 2021 07:28 — forked from ueokande/benchmark-commands.md
Kafka Benchmark Commands

Benchmark commands

Producer

Setup

bin/kafka-topics.sh \
  --zookeeper zookeeper.example.com:2181 \
  --create \
@johnrkriter
johnrkriter / nric-validation.js
Created August 20, 2020 07:30 — forked from eddiemoore/nric-validation.js
Validation for Singapore NRIC and FIN number
//Based on http://www.samliew.com/icval/
function validateNRIC(str) {
if (str.length != 9)
return false;
str = str.toUpperCase();
var i,
icArray = [];
for(i = 0; i < 9; i++) {
@johnrkriter
johnrkriter / README.md
Created October 4, 2018 15:54 — forked from superseb/README.md
Deploy kubernetes-dashboard on Rancher 2.0 cluster exposed using NodePort

Deploy kubernetes-dashboard on Rancher 2.0 cluster exposed using NodePort

Requirements

Step 1: Generate kubeconfig from the UI

Generate the kubeconfig file for your cluster using the Kubeconfig File button in the Cluster view of your cluster. Save the generated file as $HOME/.kube/config and run kubectl get nodes to verify it works.

@johnrkriter
johnrkriter / EC2-Stopped-Tagged-Lambda.py
Created March 28, 2018 20:19 — forked from mlapida/EC2-Stopped-Tagged-Lambda.py
Using a lambda function, stop all instances that are tagged appropriately.
import boto3
import logging
#setup simple logging for INFO
logger = logging.getLogger()
logger.setLevel(logging.INFO)
#define the connection
ec2 = boto3.resource('ec2')

Ionic Framework push with Jenkins Declarative

This gist has been created to document one successful way I have found to use Declarative pipeline + nodeJS + Ionic Framework and preview the work through the Ionic SaaS Platform. More on this can be found on the Ionic website

Prerequisites

  • Jenkins/Jenkins:LTS
  • Amazon EC2 plugin:1.38
  • NodeJS Plugin:1.2.4
  • NodeJS 8.9.4
@johnrkriter
johnrkriter / Ionic Framework push with Jenkins Declarative.md
Created March 9, 2018 19:11
Ionic Framework push with Jenkins Declarative

Ionic Framework push with Jenkins Declarative

This gist has been created to document one successful way I have found to use Declarative pipeline + nodeJS + Ionic Framework and preview the work through the Ionic SaaS Platform. More on this can be found on the Ionic website

Prerequisites

  • Jenkins/Jenkins:LTS
  • Amazon EC2 plugin:1.38
  • NodeJS Plugin:1.2.4
  • NodeJS 8.9.4
@johnrkriter
johnrkriter / install.sh
Created March 9, 2018 17:06 — forked from ziadoz/install.sh
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`