Skip to content

Instantly share code, notes, and snippets.

View eggplants's full-sized avatar
🏠
Working from home

haruna eggplants

🏠
Working from home
View GitHub Profile
@dreamcat4
dreamcat4 / wayland-global-hotkey-instructions.md
Last active May 22, 2024 10:19
wayland gnome - how to setup a global hotkey, to trigger something useful inside of an application, etc.

Global Hotkeys in Wayland (Gnome) - 2021

1st task - Configure just 1 global hotkey

  • Figure out how to set up 1 global hotkey in your chosen desktop environment,
  • Assign to it some simple dummy target ommand. Which you know always works. And is easily verified

That will ensure you can check and test that a specific hotkey assignment is actually definately working independantly of the specific desired action. This is important because the desktop environment can also occupy pre-configured 'system keys' and if they are already being mapped to something other default system wide actions then (likely) will silently be ignored.

So being independant here from the subsequent specific desired target actions in some special app or whatever. Which themselves definately might have other own different issues or not behave correctly. And especially when being invoked from the compositor via this method (rather than a logged in user terminal etc.)

@sounisi5011
sounisi5011 / README.md
Last active May 5, 2023 17:46
けもケット10で売られるvoreいモノまとめ

けもケット10で売られるvoreいモノまとめ

2021年9月20日開催の同人誌イベント【けもケット】にて配布される、vore関係の同人誌やモノのまとめです。

著:sounisi5011 (Twitter / pixiv)
最終更新日時:2021年9月20日 午後1時24分(更新履歴)

注意

  • 「巨大娘やモンスター娘、人間」などの捕食者が丸呑み・捕食を行うvoreモノは含みません。ポケモン・ドラゴン・獣人《ケモノ》などの、人外系voreのみとなります。
openapi: 3.0.1
info:
title: エンジニア・プログラマにしか使えないSNS
description: |
通常のSNSで胡散臭い人が多いと感じてしまいました
プログラミングスクールが流行り、エンジニアになって億稼いでます!みたいな・・・
そこで、本当のエンジニア・プログラマしか使えないSNSを作ってみました!
つまり、WebApi提供のみのSNSです
一般ピープルが使うようなフロントエンドなんてありません!!
@upbit
upbit / README.md
Last active July 5, 2025 07:01 — forked from ZipFile/README.md
Pixiv OAuth Flow (with Selenium)

Retrieving Auth Token (with Selenium)

  1. Setup, install Selenium/ChromeDriver
pip install selenium
# download chromedriver from https://chromedriver.storage.googleapis.com/index.html?path=91.0.4472.101/
# eg: wget https://chromedriver.storage.googleapis.com/91.0.4472.101/chromedriver_mac64.zip && unzip chromedriver_mac64.zip
@axzxc1236
axzxc1236 / rtp.reg
Last active December 29, 2022 14:13
A script to install rtp programs in wine.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\ASCII]
[HKEY_LOCAL_MACHINE\SOFTWARE\ASCII\RPGツクール2000 ランタイムパッケージ]
[HKEY_LOCAL_MACHINE\SOFTWARE\ASCII\RPGツクール2000 ランタイムパッケージ\1.00.000]
[HKEY_LOCAL_MACHINE\SOFTWARE\Enterbrain]
@voluntas
voluntas / webrtc_turn.rst
Last active July 10, 2025 15:34
WebRTC で利用されいる TURN プロトコルの解説

WebRTC で利用されいる TURN プロトコルの解説

日時:2021-01-29
作:@voluntas
バージョン:2021.2
url:https://voluntas.github.io/

@cschin
cschin / hosts-yt-ads
Created December 16, 2020 07:33 — forked from ewpratten/hosts-yt-ads
youtube ads hosts file
0.0.0.0 ads.doubleclick.net
0.0.0.0 s.ytimg.com
0.0.0.0 ad.youtube.com
0.0.0.0 ads.youtube.com
0.0.0.0 clients1.google.com
0.0.0.0 dts.innovid.com
0.0.0.0 googleads4.g.doubleclick.net
0.0.0.0 pagead2.googlesyndication.com
0.0.0.0 pixel.moatads.com
0.0.0.0 rtd.tubemogul.com
@takemikami
takemikami / add_outline_to_pdf.py
Last active May 14, 2022 01:32
PDFにoutlineをつけるスクリプト
# PDFにoutlineをつけるスクリプト
#
# 概要:
# PDFファイルの本文中にある目次の文字列を解析し、
# 解析結果を元にPDFにアウトラインを設定する
# セットアップ:
# pip install pdfminer.six
# pip install pdfrw
# pip install reportlab
# 実行方法:
@marccarre
marccarre / list_kindle_releases.py
Created October 24, 2020 08:46
List all available versions of Kindle for Mac and Kindle for PC.
#!/usr/bin/env python
'''
List all available versions of Kindle for Mac and Kindle for PC.
Dependencies:
- asyncio==3.4.3
- aiohttp==3.6.3
'''
import os
import sys
@michaelbutler
michaelbutler / Steam_Proton_Exe.md
Last active June 16, 2025 06:52
How to run another .exe in an existing proton wine prefix

Running games through Steam's Proton is great. But what if there is a secondary exe or configuration application bundled with the game? How can you launch it if Steam itself only launches the game?

Simply run this command in a terminal:

cd /path/to/steam/steamapps/compatdata/20920/pfx

STEAM_COMPAT_DATA_PATH="/path/to/steam/steamapps/compatdata/20920" WINEPREFIX=$PWD \
    "$HOME/.steam/root/steamapps/common/Proton 5.0/proton" run ./drive_c/path/to/custom_application.exe