Skip to content

Instantly share code, notes, and snippets.

View DaisukeDaisuke's full-sized avatar
overwork

DaisukeDaisuke

overwork
View GitHub Profile
static const unsigned long long LCG_A[65] = {
0x5d588b656c078965ULL,
0x722c73d8054341d9ULL,
0x355bc66e0285e9f1ULL,
0x6c5234d0ae3294e1ULL,
0x4d5a22005a78edc1ULL,
0x84d4844b75beeb81ULL,
0x2c8b173c56221701ULL,
0xf02de276ca552e01ULL,
0x9804b5dd28ee5c01ULL,
@DaisukeDaisuke
DaisukeDaisuke / Dockerfile
Last active January 16, 2026 02:22
Random number implementation of B table and C table of dq9 (c++)
FROM emscripten/emsdk:3.1.64
WORKDIR /work
@DaisukeDaisuke
DaisukeDaisuke / 2025-3-17_desmume-stacktrace.diff
Last active March 17, 2025 06:57 — forked from oupo/desmume-stacktrace.diff
DeSmuME スタックトレース その2
diff --git a/desmume/src/arm_instructions.cpp b/desmume/src/arm_instructions.cpp
index e413393d..2ac9e6c0 100644
--- a/desmume/src/arm_instructions.cpp
+++ b/desmume/src/arm_instructions.cpp
@@ -5752,6 +5752,13 @@ TEMPLATE static u32 FASTCALL OP_STMDB_W(const u32 i)
u32 c = 0, b;
u32 start = cpu->R[REG_POS(i,16)];
+ #ifdef HAVE_LUA
+ if (REG_POS(i, 16) == 13 && BIT_N(i, 14) && PROCNUM == 0) {
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6d878b28..57bedeb2 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -95,30 +95,3 @@ jobs:
path: |
workspace.tar.gz
if-no-files-found: error
-
- windows:
<?php
namespace delion\discord;
use React\EventLoop\Factory as LoopFactory;
use Discord\Discord;
use Discord\Parts\Channel\Channel;
define('BOT_TOKEN', '');
define('BOT_CHANNEL', '');
#!/usr/bin/env bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
./php ./PocketMine-MP.phar
<?php
include_once __DIR__."/http.php";
use GithubAPI\API\http;
class github{
protected static bool $buffer = true;
public static $commitmessage = null;
diff --git a/a.diff b/a.diff
deleted file mode 100644
index e69de29b..00000000
diff --git a/n.deff b/n.deff
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/network/resolvconf.c b/src/network/resolvconf.c
index ceabf080..4ed5b80e 100644
--- a/src/network/resolvconf.c
+++ b/src/network/resolvconf.c
@DaisukeDaisuke
DaisukeDaisuke / http.php
Last active October 23, 2022 03:46
GithubAPI Request
<?php
class http{
protected const QIITA_API_URL = "https://qiita.com/api/v2";
protected const GITHUB_API_URL = "https://api.github.com";
private static string $githubToken;
private static function getGithubToken() : string{
return self::$githubToken;