Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
GitHubは私の街です。 (๑・ω・๑)

Ayane Satomi sr229

:octocat:
GitHubは私の街です。 (๑・ω・๑)
View GitHub Profile
@sr229
sr229 / dvpn.yaml
Last active Nov 30, 2020
Mysterium dVPN Node Kubernetes config
View dvpn.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mysterium-dvpn-node
spec:
replicas: 1
selector:
matchLabels:
app: mysterium-dvpn-node
View 01-minecraft.yml
apiVersion: apps/v1
kind: Deployment
metadata:
name: fabric-suzuhara-deployment
labels:
app: fabric-suzuhara
namespace: sr229
spec:
replicas: 1
selector:
View keybase.md

Keybase proof

I hereby claim:

  • I am sr229 on github.

  • I am chinodesuuu (https://keybase.io/chinodesuuu) on keybase.

  • I have a public key ASBsFKd9CKLGQZsJafjiAqtMAOb3RDkrFxgVwcfnVQRFCwo

@sr229
sr229 / mcs4_busicom.asm
Last active Jul 27, 2020
Recreation of the firmware source code for the Intel MCS-4 Based Busicom 141-PF
View mcs4_busicom.asm
;----------------------------------------------------------------------------------------------------------------------------------
;Recovered from: https://www.4004.com/2009/Busicom-141PF-Calculator_asm_rel-1-0-1.txt
;Please read legal notice below for the software terms.
;----------------------------------------------------------------------------------------------------------------------------------
;LEGAL NOTICE, DO NOT REMOVE
;
;Annotated Busicom 141-PF software based on binaries recovered by Tim McNerney and Fred Huettig in collaboration with the Computer
;History Museum (November 2005). Original disassembly, reverse-engineering, initial analysis and documentation by Barry Silverman,
;Brian Silverman, and Tim McNerney (November 2006). Detailed analysis, commenting, documentation by Lajos Kintli (July 2007).
;
View postinstall.sh
sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"
@sr229
sr229 / install.sh
Last active Sep 6, 2019
USB Ethernet Configuration Script for Raspberry Pi Zero. Source: http://www.circuitbasics.com/raspberry-pi-zero-ethernet-gadget/
View install.sh
#!/bin/bash
# Installation Script for usb_ethserv
set -eo pipefail
CONF_URL="https://gist.github.com/sr229/6950ab77a7fb5a6b6fc0891a2a398229/raw/2578e785ab9617f6909799f757e0a9014db45f7a/usb_ethserv"
if [ -z $(command -v wget) ]; then
echo "Setup requires wget"
exit 0
fi
View install_winetricks_updater.sh
#!/bin/sh
# Create and switch to a temporary directory writeable by current user. See:
# https://www.tldp.org/LDP/abs/html/subshells.html
cd "$(mktemp -d)"
# Use a BASH "here document" to create an updater shell script file.
# See:
# https://www.tldp.org/LDP/abs/html/here-docs.html
# > outputs stdout to a file, overwriting any pre-existing file
# << takes input, directly from the script itself, till the second '_EOF_SCRIPT' marker, as stdin
@sr229
sr229 / .startEnv.vscode.sh
Created Aug 27, 2019
Silverblue delegate script for VSCode
View .startEnv.vscode.sh
#!/bin/sh
# Copyright 2019 (c) Ayane Satomi
# Public Domain
#
# Delegate Script for VSCode
# This makes sure VScode only runs in a Toolbox container.
# This only works with a default container.
FEDORA_DEFAULT_CONTAINER="fedora-toolbox-$(whoami)-30"
@sr229
sr229 / grade.cpp
Created Aug 26, 2019
CS-111: College Grade calculation
View grade.cpp
/* Copyright 2019 (c) Ralph Wilson Aguilar
* For CS-111
* Do not copy or redistribute without permission
*/
#include <iostream>
using namespace std;
// This is based on the Philippine College Grading System.
@sr229
sr229 / float.cpp
Last active Aug 21, 2019
CS-111: Floating Point Arithmetic
View float.cpp
/*
* Copyright 2019 (c) Ralph Wilson Aguilar
* For CS-111
* Do not copy or redistribute without permission.
*/
#include <iostream>
#include <cmath>
using namespace std;
You can’t perform that action at this time.