Boothで対応アバターなんかを検索するときに商品IDで検索することが面倒だったので、それをするボタンを追加するUserScriptです
Tampermonkeyなどを導入してRawをクリーック!かんたん!
| { | |
| inputs = { | |
| nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| rust-overlay = { | |
| url = "github:oxalica/rust-overlay"; | |
| inputs.nixpkgs.follows = "nixpkgs"; | |
| }; | |
| }; |
| #let init(main: str, author: str, body) = { | |
| set text(lang: "ja", font: "Noto Serif CJK JP", size: 10.5pt) | |
| set page( | |
| paper: "iso-b5", | |
| margin: (left: 20mm, right: 20mm, top: 25mm, bottom: 25mm), | |
| ) | |
| set heading(numbering: "1.") | |
| show heading: it => { |
Boothで対応アバターなんかを検索するときに商品IDで検索することが面倒だったので、それをするボタンを追加するUserScriptです
Tampermonkeyなどを導入してRawをクリーック!かんたん!
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.Windows; | |
| public class MaterialTextureSwapper : EditorWindow | |
| { | |
| public Material TextureSourceMaterial; |
| import sys | |
| def in_the_quote(s): | |
| return s.split('"')[1] | |
| with open(sys.argv[1]) as f: | |
| lines = f.readlines() | |
| titles = [in_the_quote(line) for line in lines if "TITLE" in line] | |
| performers = [in_the_quote(line) for line in lines if "PERFORMER" in line] |
| import subprocess | |
| import webbrowser | |
| artist = subprocess.run('playerctl -i firefox metadata -f "{{ artist }}"', shell=True, text=True, capture_output=True).stdout | |
| title = subprocess.run('playerctl -i firefox metadata -f "{{ title }}"', shell=True, text=True, capture_output=True).stdout | |
| url = subprocess.run('playerctl -i firefox metadata xesam:url', shell=True, text=True, capture_output=True).stdout | |
| artist_and_title = "{0} - {1}".format(artist, title) | |
| intent_url = "https://twitter.com/intent/tweet?hashtags=NowPlaying&text={0}&url={1}".format(artist_and_title, url) |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| typedef struct Node { | |
| int data; | |
| struct Node *next; | |
| } Node; | |
| Node *addNode(Node *list, int data) { | |
| Node* node = (Node*)malloc(sizeof(Node)); |
I hereby claim:
To claim this, I am signing this object:
| call plug#begin() | |
| Plug 'preservim/nerdtree' | |
| Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
| Plug 'junegunn/fzf.vim' | |
| Plug 'vim-denops/denops.vim' | |
| Plug 'Shougo/pum.vim' | |
| Plug 'Shougo/ddc.vim' | |
| Plug 'Shougo/ddc-ui-native' |