Skip to content

Instantly share code, notes, and snippets.

@kyoukaya
kyoukaya / cloudSettings
Last active October 8, 2018 02:38
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-10-08T02:38:33.046Z","extensionVersion":"v3.1.2"}
@kyoukaya
kyoukaya / build.sh
Created February 19, 2019 08:55
cs3231 - vscode setup
#!/bin/bash
if [ -z "$1" ]; then
echo "Which kernel to compile?"
exit 1
fi
cd kern/conf
./config "$1"
@kyoukaya
kyoukaya / test.md
Last active January 14, 2020 18:44

Arch Install

Creating The Installation Media

  1. Download the ISO from https://www.archlinux.org/download/ through HTTP/Bittorent.
  2. Copy the image to a thumbdrive using dd (linux) or rufus (windows)
  3. Boot into Arch!

dd Instructions

blah

@kyoukaya
kyoukaya / eclipse-java-google-style.xml
Last active June 25, 2019 13:30
Google Java Eclipse Formatting (80 width)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="13">
<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
@kyoukaya
kyoukaya / convert.py
Last active August 3, 2019 10:30
2511T2 Dungeon Converter
#!/usr/bin/python3
"""
Levels in CSV are a lot easier to visualize!
This short script converts to and fro 2511's dungeon JSON format to a simple CSV format.
Goals are kinda iffy, sorry! You can change the goal conditions when converting from CSV
to JSON by editing this global variable: `goals = OR(goal("exit"), goal("treasure"))`.
It's on line 52 at the moment.
Example output: https://cdn.discordapp.com/attachments/474517240117723139/607158167050387476/unknown.png
@kyoukaya
kyoukaya / vps2arch.sh
Last active December 2, 2021 18:32
vps2arch
#!/bin/sh
# Copyright 2015, Timothy Redaelli <tredaelli@archlinux.info>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
@kyoukaya
kyoukaya / ngo.md
Last active January 28, 2022 05:54
NGO

NGO Research

twitter screencap

The Twitter account @x_angelkawaii_x is followed by the writer of NGO, @nyalra which gives a lot of credence to this account being legit.

Threads

Ame's Priv Followers in (Un)happy End World

Of small note, each ending has an achievement associated, and of each achievement has a song associated which differs betwen languages. For (Un)happy End World; JP references Marunouchi Sadistic (丸ノ内サディスティック) by Ringo Sheena,

NGO Gallery Images

Save Edit

If you just want to cheat all the gallery images into your save, open up Settings.es in your NGO folder, e.g. C:\Program Files (x86)\Steam\steamapps\common\NEEDY GIRL OVERDOSE\Windose_Data. Copy the following and replace the value in "IMAGEHISTORY"'s "value" field:

["Ngocredits", "tweet_selfie_ame_cool_001", "tweet_selfie_ame_cry_001", "tweet_selfie_ame_game_001", "tweet_selfie_ame_happa_001", "tweet_selfie_ame_happy_001", "tweet_selfie_ame_happy_002", "tweet_selfie_ame_home_001", "tweet_selfie_ame_home_002", "tweet_selfie_ame_line_smile_001", "tweet_selfie_ame_odekake_001", "tweet_selfie_ame_odekake_002", "tweet_selfie_ame_sorrow_001", "tweet_selfie_ame_talk_001", "tweet_selfie_cho_akkanbe", "tweet_selfie_cho_angel_001", "tweet_selfie_cho_av", "tweet_selfie_cho_av_ch", "tweet_selfie_cho_av_eng", "tweet_selfie_cho_cosplay_001", "tweet_selfie_cho_cosplay_002", "tweet_selfie_cho_cosplay_003", "tweet_selfie_cho_grand_end_001", "tweet_selfie_cho_grand_end_002", "
@kyoukaya
kyoukaya / ngo_save.md
Created February 5, 2022 10:57
NGO Save File Format

NGO Save File Format

DataX_DayXX.es3 (Daily Save File)

  • LOVEDIARY is an enum that determines the diary file on Ame's desktop which is generated on day 23.

      0 - No diary
      1 - Affection [0,20)
      2 - Affection [20, 40)
      3 - Affection [40, 80)
    

4 - Affection [80, 100]

@kyoukaya
kyoukaya / scrape_pd3_challenges.py
Created September 28, 2023 17:33
a simple script to scrape and output a user's PD3 challenges into a csv
import http.client
from urllib.parse import urlencode
from json import loads
import csv
host = "nebula.starbreeze.com"
output_file = "out.csv"
print("username:")
username = input()