Skip to content

Instantly share code, notes, and snippets.

@whileloop99
whileloop99 / qtifw-gui
Created April 10, 2026 08:06
QT Installer Framework GUI
import sys
import os
import shutil
import json
from pathlib import Path
from typing import Optional
import tkinter as tk
from tkinter import ttk, filedialog, messagebox, scrolledtext
import jinja2
import subprocess
{
"version": 2,
"data": [
"https://i.postimg.cc/FR0mDm3W/1.jpg",
"https://i.postimg.cc/VLf1Bx6g/2.jpg",
"https://i.postimg.cc/hvrnRrCV/3.jpg",
"https://i.postimg.cc/MZbqB6WX/5.jpg"
]
}
@whileloop99
whileloop99 / README.md
Created January 8, 2023 15:48 — forked from anchan828/README.md
This is an improvement to allow @nestjs/typeorm@8.1.x to handle CustomRepository. I won't explain it specifically, but it will help in some way. https://github.com/nestjs/typeorm/pull/1233

You need to provide some classes and decorators yourself to maintain the same style as typeorm@2.x.

1. EntityRepository -> CustomRepository

@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}

Japanese

Accent Tips

促音(そく\おん・そくおん)
・っ or ッ sound

促音便(そくお\んびん)
・At the end of the 連用形(勝ち、食い、帰り) when the 動詞 comes next to a て・た・たり、 a 促音(っ) is introduced in between.
・This only occurs with the following endings「ち」「ひ・い」「り」

@whileloop99
whileloop99 / pronunciation-resources.md
Created August 1, 2022 08:03 — forked from k3zi/pronunciation-resources.md
English and Japanese Pronunciation Resources

Pronunciation Resources

Comment if you would like to see a resource added to the list.

Guides / Courses

あいうえおフォニックス (🇬🇧 English, Web, Free)
English phonetics video series made for a Japanese audience.
https://youtube.com/channel/UCX2tvXwAItLs5RhFFSGn9LQ

Dogen: Japanese Phonetics Series (🇯🇵 Japanese, Web, Paid)

@whileloop99
whileloop99 / console.save.js
Created July 6, 2022 04:44 — forked from raecoo/console.save.js
Save JSON object to file in Chrome Devtool
// e.g. console.save({hello: 'world'})
(function(console){
console.save = function(data, filename){
if(!data) {
console.error('Console.save: No data')
return;
}
if(!filename) filename = 'console.json'
if(typeof data === "object"){
data = JSON.stringify(data, undefined, 4)
@whileloop99
whileloop99 / PermissionUtils.kt
Last active November 2, 2024 04:52
Kotlin: Better Way to Request Runtime Permissions
package your.business
import android.content.pm.PackageManager
import android.os.Bundle
import androidx.activity.result.ActivityResultLauncher
import androidx.activity.result.contract.ActivityResultContracts
import androidx.core.app.ActivityCompat
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import kotlin.coroutines.resume
@whileloop99
whileloop99 / media-query.css
Created January 14, 2021 02:00 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@whileloop99
whileloop99 / AudioInputStream.kt
Created December 20, 2020 02:29 — forked from niusounds/AudioInputStream.kt
AudioInputStream and AudioOutputStream for Android. These wrap AudioRecord and AudioTrack.
import android.media.AudioFormat
import android.media.AudioRecord
import android.media.MediaRecorder
import java.io.IOException
import java.io.InputStream
class AudioInputStream(
audioSource: Int = MediaRecorder.AudioSource.DEFAULT,
sampleRate: Int = 44100,
channelConfig: Int = AudioFormat.CHANNEL_IN_MONO,