This file contains 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
#Warn | |
#UseHook | |
SendMode("Input") | |
SetTitleMatchMode(2) | |
; https://gist.github.com/whitebell/631dc73d3312fb9baca9fd1d5bad99cb | |
; USキーボード | |
; 1段目 | |
sc029::Send("{``}") |
This file contains 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
@echo off | |
if /i "%1" == "srgb" ( | |
rem echo srgb | |
exiftool "-icc_profile<=D:\music\srgb.icc" %2 | |
) else if /i "%1" == "adobergb" ( | |
rem echo adobergb | |
exiftool "-icc_profile<=D:\music\adobergb.icc" %2 | |
) else ( | |
echo iccp srgb^|adobergb FILE |
This file contains 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
// ==UserScript== | |
// @name netkeiba url replace | |
// @namespace https://gist.github.com/whitebell | |
// @include https://*.sp.netkeiba.com/* | |
// @version 1.1.11.20240204 | |
// @grant none | |
// ==/UserScript== | |
// https://gist.github.com/whitebell/e27f6c06ba2f79fbcfad73b06703d6a3 |
This file contains 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
#!perl | |
use strict; | |
use warnings; | |
use utf8; | |
use 5.32.0; | |
use Image::ExifTool; | |
unless (@ARGV && $ARGV[0] =~ /\.png$/i && -e $ARGV[0]) { |
This file contains 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
using System; | |
using System.Linq; | |
if (args.Length != 6) | |
{ | |
Console.WriteLine("ut year month day hour min sec"); | |
return; | |
} | |
var args_i = args.Select(e => Int32.Parse(e)).ToArray(); |
This file contains 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
#NoEnv | |
#Warn | |
#UseHook | |
SendMode Input | |
SetTitleMatchMode, 2 | |
; https://gist.github.com/whitebell/868f592840a07ab7f5f08cce65ae13f3 | |
; USキーボード | |
; 1段目 |
This file contains 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
use strict; | |
use warnings; | |
use 5.30.0; | |
use overload '**' => \&EXPONENT; | |
use List::Util qw/reduce/; | |
sub EXPONENT { |
This file contains 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
; アリス・マーガトロイド口上 | |
;region Defines | |
;コメントマクロ | |
;ソースへのジャンプ | |
;開発者専用 | |
;ユーザ専用 | |
;region 定数 | |
;endregion |
This file contains 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
; アリス・マーガトロイド口上 | |
;region Defines | |
;コメントマクロ | |
;ソースへのジャンプ | |
;開発者専用 | |
;ユーザ専用 | |
;region 定数 | |
;endregion |
This file contains 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
/* compile osx | |
* gcc -bundle -fPIC -O3 -o popcount.dylib popcount.c | |
* cl /O2 /favor:INTEL64 /GL /GS /Qpar /LD popcount.c | |
* */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include "sqlite3ext.h" | |
SQLITE_EXTENSION_INIT1 |
NewerOlder