This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mygdx.game; | |
import com.badlogic.gdx.ApplicationAdapter; | |
import com.badlogic.gdx.Gdx; | |
import com.badlogic.gdx.graphics.GL20; | |
import com.badlogic.gdx.scenes.scene2d.Stage; | |
import com.badlogic.gdx.scenes.scene2d.ui.*; | |
public class MyGdxGame extends ApplicationAdapter { | |
private Stage stage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "pitches.h" | |
int LRD = A0; | |
void setup() { | |
int buzzerPin = D1; | |
int LRD = A0; | |
pinMode(buzzerPin, OUTPUT); | |
pinMode(LRD, INPUT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function, unicode_literals | |
import io, sys, os, struct, zlib | |
ogg_crc_table = [ | |
0x0, 0x4C11DB7, 0x9823B6E, 0x0D4326D9, 0x130476DC, 0x17C56B6B, | |
0x1A864DB2, 0x1E475005, 0x2608EDB8, 0x22C9F00F, 0x2F8AD6D6, | |
0x2B4BCB61, 0x350C9B64, 0x31CD86D3, 0x3C8EA00A, 0x384FBDBD, | |
0x4C11DB70, 0x48D0C6C7, 0x4593E01E, 0x4152FDA9, 0x5F15ADAC, | |
0x5BD4B01B, 0x569796C2, 0x52568B75, 0x6A1936C8, 0x6ED82B7F, | |
0x639B0DA6, 0x675A1011, 0x791D4014, 0x7DDC5DA3, 0x709F7B7A, | |
0x745E66CD, 0x9823B6E0, 0x9CE2AB57, 0x91A18D8E, 0x95609039, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import conf | |
findVoiceRegex = re.compile(r'"voice\\(\d\d)\\(.*?)\.ogg"') | |
umitweak_script = r'c:\temp\umitweak_original.utf' | |
current_script = r'C:\drojf\large_projects\umineko\git_repository\0.utf' | |
git_text = None | |
with open(current_script, encoding=conf.encoding) as script_in: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Instructions: | |
1) Go to https://mangadex.com on Chrome. | |
2) Open the Chrome console (Ctrl+Shift+J on Windows). | |
3) Copy + paste the code in this file. | |
If using JSON export, use (A). | |
If using raw CSV Text (copy from a text editor), use (B). | |
If using exel/newline separated values, use (C). | |
4) Hit Enter. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This program does the following | |
# 1. Collect all the using statements of all the files | |
# 2. Collect the bodies of all the files (everything after the using statement) | |
# 3. Create the final merged file, which is all the using statements, followed by all the bodies. | |
import os | |
import sys | |
if len(sys.argv) != 2: | |
print('This program takes exactly one arguments: the folder containing cs files to merge') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thanks for translating this :) | |
I found the following errors (I didn't look through everything, I just re-played through the start section): | |
In Map001.json | |
- line 7390: | |
"getting drawn gets embarrass..." but should be | |
"getting drawn gets embarrassed..." | |
- line 7390: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Yakuza0.exe\PerfOptions] | |
"CpuPriorityClass"=dword:00000003 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Even at the time, the witch's epitaph would receive the Headship,^ | |
I'm sure there's nothing we can do with our bare hands!^ | |
None | |
......A wonderful man who will truly accept Jessica...and stay with her family really was that good.^ | |
Right now, there's a total of six bodies all the way back to our mansion.^ | |
As thunder roared, Kinzo laughed heartily as though nothing could be seen in the darkness except for their own enjoyment.^ | |
......She knew it from the bottom of my heart to betray you, my younger self.^ | |
But this door is limited,^ | |
None | |
But the rifle she held in her hand should've been a trump card to get Battler back on track when he mistook his goal.^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! Note that the terms "client" and "server" here are purely what we logically associate with them. | |
//! Technically, they both work the same. | |
//! Note that in practice you don't want to implement a chat client using UDP. | |
use std::io::stdin; | |
use laminar::{config::NetworkConfig, error::Result, net::UdpSocket, Packet}; | |
const SERVER: &str = "127.0.0.1:12351"; | |
fn server() -> Result<()> { |