Skip to content

Instantly share code, notes, and snippets.

@bebound
bebound / build.cmd
Last active October 12, 2024 09:27
@echo off
SetLocal EnableDelayedExpansion
REM Double colon :: should not be used in parentheses blocks, so we use REM.
REM See https://stackoverflow.com/a/12407934/2199657
echo build a msi installer using local cli sources and python executables. You need to have curl.exe, unzip.exe and msbuild.exe available under PATH
echo.
set "PATH=%PATH%;%ProgramFiles%\Git\bin;%ProgramFiles%\Git\usr\bin;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin"
@bebound
bebound / # azure-cli - 2024-06-26_16-11-13.txt
Created June 26, 2024 09:16
azure-cli on macOS 14 - Homebrew build logs
Homebrew build logs for azure-cli on macOS 14
Build date: 2024-06-26 16:11:13
Nov 30, 2021 22:25:36.650 [0x7ff74dea6b38] INFO - Plex Media Scanner v1.24.5.5173-8dcc73a59 - QNAP TS-453Dmini x86_64 - build: linux-x86_64 - GMT 08:00
Nov 30, 2021 22:25:36.650 [0x7ff74dea6b38] INFO - Linux version: QTS 5.0.0.1858, language: en-US
Nov 30, 2021 22:25:36.650 [0x7ff74dea6b38] INFO - Processor Intel(R) Celeron(R) J4125 CPU @ 2.00GHz
Nov 30, 2021 22:25:36.650 [0x7ff74dea6b38] INFO - /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner --match --type 8 --log-file-suffix Matcher --files @/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/2145-b99b-47cb-9b79.txt
Nov 30, 2021 22:25:36.651 [0x7ff750dc6848] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Nov 30, 2021 22:25:36.790 [0x7ff750dc6848] DEBUG - [MI] Opening input file: "/share/CACHEDEV1_DATA/Download/qBittorrent/音乐/Aimer/190409 Sun Dance && Penny Rain/disc2/01. pluie.flac"
Nov 30, 2021 22:25:36.790 [0x7ff750dc6848] DEBUG - [FFMPEG] - Opening '/share/CACHEDEV1_DATA/Down
@bebound
bebound / README.md
Created April 18, 2021 17:49 — forked from ZipFile/README.md
Pixiv OAuth Flow

Retrieving Auth Token

  1. Run the command:

    python pixiv_auth.py login

    This will open the browser with Pixiv login page.

;; -*- mode: emacs-lisp; lexical-binding: t -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Layer configuration:
This function should only modify configuration layer settings."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; `+distribution'. For now available distributions are `spacemacs-base'
@bebound
bebound / test.py
Last active October 29, 2018 08:30
import json
with open('test.json') as f:
list1 = json.load(f)
with open('test2.json') as f:
list2 = json.load(f)
for index, (dict1, dict2) in enumerate(zip(list1, list2)):
for (top_level_key1, top_level_value1), (top_level_key2, top_level_value2) in zip(dict1.items(), dict2.items()):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
" Base Configuration
set t_Co=256
let mapleader = ","
set timeoutlen=400 "mapping timeout
set ttimeoutlen=50 "keycode timeout
set mouse=a "enable mouse
set mousehide "hide when characters are typed
set history=1000 "number of command lines to remember
set ttyfast "assume fast terminal connection
" NeoBundle
" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
" Required:
Loading /home/kk/.emacs.d/core/core-load-paths.el (source)...done
Loading /home/kk/.spacemacs...done
(Spacemacs) Calling dotfile init...
(Spacemacs) Warning: Cannot find font "Source Code Pro"!
(Spacemacs) Banner: /home/kk/.emacs.d/core/banners/000-banner.txt
Mark set
(Spacemacs) Executing user init...
(Spacemacs) Calling dotfile layers...
(Spacemacs) Looking for configuration layers in /home/kk/.emacs.d/contrib/
(Spacemacs) -> Discovered configuration layer: pcre2el