sudo apt install mosh
sudo ufw allow from 192.168.1.0/24 to any port 60000:61000 proto udp| @rem 「※※※」は私のコメントです(元増田のコメントではありません) | |
| @rem エクスプローラ周り重い人向け覚書 | |
| @rem https://anond.hatelabo.jp/20191116220232 | |
| @rem ■ システム設定 | |
| @rem Windows Defender自身を検索して無限ループに陥る問題を解消する | |
| @rem - 設定→更新とセキュリティ→Windows セキュリティ→ウイルスの驚異の防止 | |
| @rem - ウイルスと驚異の防止の設定→設定の管理 |
| 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%"; | |
| ''' | |
| ) |
CLionでOpenGLを使ったプログラムを作成したい.でもfind_packageしても見つからない...
調べたらやり方について説明してあるyoutubeの解説動画があったので手順をメモ.
参考:https://youtu.be/AUFZnA3lW_Q
MinGWをインストール済みであること.
- Martin Payne's Windows binaries (MSVC and MinGW) から
freeglut MinGW Package(私の場合は3.0.0)をダウンロードそして展開.
| //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 |
This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.
This gist will no longer update, instead please go to https://github.com/lifehome/systemd-cfddns for more updated versions.
- Put the
cfupdaterfiles to/usr/local/bin
- If you are using IPv4 for A record, append
-v4tocfupdaterin the following systemd service unit.
| https://tsuchinoko.dmmlabs.com/?p=4175 | |
| "IPv4トランスポート、Aレコードを問い合わせ | |
| IPv4トランスポート、AAAAレコードを問い合わせ | |
| IPv6トランスポート、Aレコードを問い合わせ | |
| IPv6トランスポート、AAAAレコードを問い合わせ" |
| DOMAIN_NAME=mstdn.jp | |
| curl -s https://$DOMAIN_NAME/api/v1/custom_emojis | jq -r '.[] | "curl -s -o " + .shortcode + ".png " + .url' | sh -x |
- 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)
MITGo - 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)
MITGo - pastebin - pastebin is a simple pastebin service with convenient CLI. (Demo)
MITGo - shorturl - shorturl is a simple URL shortener with very tiny URL(s). (Demo)
MITGo - todo - todo is a simple todo manager. (Demo)
MITGo - [wiki](https://git.mills.io/prolog
This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.
The key for achieving this is to modify the EFI Variable PreviousBoot with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740, which rEFInd uses to store the last entry selected in the menu and, if using the + default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.