Skip to content

Instantly share code, notes, and snippets.

View FlowingSPDG's full-sized avatar
🚬
I just can't stop smoking.

Shugo Kawamura FlowingSPDG

🚬
I just can't stop smoking.
  • Freelancer/ FL TECH
  • Tokyo
  • 01:12 (UTC +09:00)
  • X @FlowingSPDG
View GitHub Profile
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" /v EnableMulticast /t REG_DWORD /d 0 /f
@FlowingSPDG
FlowingSPDG / make-all-network-private.ps1
Last active September 13, 2021 11:33
全てのネットワークをプライベートにする(実行ポリシーの変更,管理者権限が必要)
Get-NetConnectionProfile | Where-Object NetworkCategory -eq "Public" | `Set-NetConnectionProfile -NetworkCategory Private
@FlowingSPDG
FlowingSPDG / main.c
Last active August 18, 2020 05:19
正の実数の和を小数点一桁まで出力するプログラム(C)
#include "stdio.h"
int main(void){
float a = 0.00;
float b = 0.00;
printf("Input varialbe A and B : ");
if ( scanf("%f,%f",&a,&b) != 2 ) {
printf("Failed to scan...\n");
return -1;
}
@FlowingSPDG
FlowingSPDG / 1k_tone.bat
Last active February 21, 2023 15:39
現場であると便利なffmpegバッチファイルまとめ
rem 1Kトーンを再生する
ECHO OFF
ffplay -f lavfi -i "sine=frequency=1000"
@FlowingSPDG
FlowingSPDG / vmix_vbnet_http_servertest.txt
Last active August 9, 2020 06:29
vMix VB.NET Example
Dim root As String = "c:\wwwroot\" ' doc root
Dim prefix As String = "http://localhost:8888/"
Dim listener As New HttpListener()
listener.Prefixes.Add(prefix)
listener.Start()
While (True)
Dim context As HttpListenerContext = listener.GetContext()
Dim req As HttpListenerRequest = context.Request
@FlowingSPDG
FlowingSPDG / build.sh
Last active August 2, 2020 02:18
Goでコンパイル時に変数を埋め込む方法(ShellScript)
Now=$(date +%Y.%m.%d.%H%M%S)
go build -ldflags "-X main.buildedAt=$Now"
@FlowingSPDG
FlowingSPDG / autoupdate.txt
Created October 4, 2019 10:42
CS:GO Server update checker
@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir /home/steam/srcds/csgo1/
app_update 740
quit