Skip to content

Instantly share code, notes, and snippets.

View yude's full-sized avatar

Takehiro Ogura yude

  • Internet Initiative Japan Inc.
  • Chiba, Japan
  • 10:03 (UTC +09:00)
View GitHub Profile
@prologic
prologic / SelfHosted.md
Last active October 3, 2024 22:16
Self-hosted Golang apps by James Mills / prologic

Self-Hosted Go (Golang) Web Apps

  • golinks - golinks is a web app that allows you to create smart bookmarks, commands and aliases by pointing your web browser's default search engine at a running instance. Similar to bunny1 or yubnub. (Demo) MIT Go
  • notes - notes is a self-hosted note taking web app that lets you keep track of your notes and search them in a easy and minimal way. (Demo) MIT Go
  • pastebin - pastebin is a simple pastebin service with convenient CLI. (Demo) MIT Go
  • shorturl - shorturl is a simple URL shortener with very tiny URL(s). (Demo) MIT Go
  • todo - todo is a simple todo manager. (Demo) MIT Go
  • [wiki](https://git.mills.io/prolog
@mamemomonga
mamemomonga / mstdn_custom_emoji_download.sh
Last active August 15, 2021 06:23
マストドンのカスタム絵文字をダウンロード
DOMAIN_NAME=mstdn.jp
curl -s https://$DOMAIN_NAME/api/v1/custom_emojis | jq -r '.[] | "curl -s -o " + .shortcode + ".png " + .url' | sh -x
https://tsuchinoko.dmmlabs.com/?p=4175
"IPv4トランスポート、Aレコードを問い合わせ
IPv4トランスポート、AAAAレコードを問い合わせ
IPv6トランスポート、Aレコードを問い合わせ
IPv6トランスポート、AAAAレコードを問い合わせ"
@lifehome
lifehome / README.md
Last active February 25, 2024 06:34 — forked from benkulbertis/cloudflare-update-record.sh
Cloudflare API v4 Dynamic DNS Update in Bash

Cloudflare DDNS bash client with systemd

This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.

Look out!

A newer version is available!

This gist will no longer update, instead please go to https://github.com/lifehome/systemd-cfddns for more updated versions.

How to use?

  1. Put the cfupdater files to /usr/local/bin
  • If you are using IPv4 for A record, append -v4 to cfupdater in the following systemd service unit.
@katabame
katabame / ConnectionTime.plugin.js
Last active August 10, 2021 17:26
VCに接続されている時間を表示するDiscordプラグイン | Discord plugin that displays how long connected to VC
//META{"name":"ConnectionTime","website":"https://kataba.me/","source":"https://gist.github.com/katabame/ef65c6379c8d50af8702c5932c6dbf5b"}*//
/*
MIT License
Copyright (c) 2018 katabame
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@ishidur
ishidur / cmake-opengl.md
Last active October 16, 2024 07:53
CmakeでOpenGLを使えるようにする #windows

CmakeでOpenGLを使えるようにする(Windows 10)

CLionでOpenGLを使ったプログラムを作成したい.でもfind_packageしても見つからない...
調べたらやり方について説明してあるyoutubeの解説動画があったので手順をメモ. 参考:https://youtu.be/AUFZnA3lW_Q

前提

MinGWをインストール済みであること.

手順

  1. Martin Payne's Windows binaries (MSVC and MinGW) からfreeglut MinGW Package(私の場合は3.0.0)をダウンロードそして展開.
@DoubleLabyrinth
DoubleLabyrinth / fix.py
Last active March 10, 2025 00:32
Remove mutant entry in Start: ms-resource:AppName/Text
import os, sqlite3
conn = sqlite3.connect(os.path.expandvars(r'%ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.srd'))
cursor = conn.execute(
'''
SELECT _PackageID, PackageFullName FROM main.Package
WHERE PackageFullName LIKE "Microsoft.Windows.HolographicFirstRun%";
'''
)
@gengwg
gengwg / install_mosh.md
Last active March 28, 2021 18:37
install mosh on raspberry pi

On Server

sudo apt install mosh
sudo ufw allow from 192.168.1.0/24 to any port 60000:61000 proto udp

On Client

@tsunyan
tsunyan / エクスプローラ周り重い人向け覚書.bat
Last active January 18, 2025 17:55
エクスプローラ周り重い人向け覚書
@rem 「※※※」は私のコメントです(元増田のコメントではありません)
@rem エクスプローラ周り重い人向け覚書
@rem https://anond.hatelabo.jp/20191116220232
@rem ■ システム設定
@rem Windows Defender自身を検索して無限ループに陥る問題を解消する
@rem - 設定→更新とセキュリティ→Windows セキュリティ→ウイルスの驚異の防止
@rem - ウイルスと驚異の防止の設定→設定の管理
@uru2
uru2 / scan_ch_mirak.sh
Last active October 22, 2024 11:29
Mirakurun/mirakcチャンネル設定出力
#!/bin/sh
# Mirakurun/mirakc channel yaml output by uru (https://twitter.com/uru_2)
#
# require:
# stz2012/epgdump
# xmllint (libxml2 tools)
# ISDB-T/S record software
# recpt1, dvbv5-zap & Chinachu/dvbconf-for-isdb
set -eu