Skip to content

Instantly share code, notes, and snippets.

@hengstchon
hengstchon / jietu.sh
Created June 14, 2023 14:22
screenshot and mediainfo
#!/bin/bash
#
# https://github.com/Aniverse/inexistence
# Author: Aniverse
#
# --------------------------------------------------------------------------------
# If you would like to change the output path,
# sets CustomedOutput=1,then write your output path to OUTPUT
CustomedOutput=0
OUTPUT="/replace/here/with/your/output/path"
@hengstchon
hengstchon / zathurarc
Last active December 16, 2021 15:09
config for zathura
set selection-clipboard clipboard
set window-height 1080
set window-width 960
set font "Monaco normal 12"
set statusbar-h-padding 0
set statusbar-v-padding 0
set guioptions ""
set adjust-open width
map u scroll half-up
@hengstchon
hengstchon / customed.json
Created December 2, 2021 16:13
~/.config/karabiner/assets/complex_modifications/
{
"title": "Customed",
"rules": [
{
"description": "Post caps_lock if fn is pressed alone",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "fn",
@hengstchon
hengstchon / init.vim
Last active December 26, 2021 00:32
init.vim
" auto-install vim-plug
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall | source $MYVIMRC
endif
"=======================================================================
" Plugin
"=======================================================================
This file has been truncated, but you can view the full file.
5m Kitchen Hacks,https://bozztv.com/36bay2/gin/giniko_5minkitchen_1500kb_36bay2/index.m3u8
5m Life Hacks,https://bozztv.com/36bay2/gin/giniko_5minlifehacks_1500kb_36bay2/index.m3u8
5m Quick Crafts,https://bozztv.com/36bay2/gin/giniko_5min_1500kb_36bay2/index.m3u8
8TV,https://v4.proofix.ru/8tv-europe/tracks-v1a1/mono.m3u8
8TV,https://v4.proofix.ru/8tv-europe/index.m3u8
218 News,http://95.85.47.43/libya218news/tracks-v1a1/mono.m3u8
ABC News,https://abc-iview-mediapackagestreams-2.akamaized.net/out/v1/6e1cc6d25ec0480ea099a5399d73bc4b/index.m3u8
ABN卫星HD,http://rtmp1.abnsat.com/hls/arabic.m3u8?checkedby:hlscat.com
Al Jazeera,https://live-hls-web-aje.getaj.net/AJE/01.m3u8
Animal Planet,https://livecdn.fptplay.net/qnetlive/animalplanet_hls.smil/chunklist_b2500000.m3u8
♥<央卫>♥,#genre#
CCTV1,http://39.134.115.163:8080/PLTV/88888910/224/3221225642/index.m3u8
CCTV2,http://39.134.115.163:8080/PLTV/88888910/224/3221225619/index.m3u8
CCTV3,http://39.134.115.163:8080/PLTV/88888910/224/3221225647/index.m3u8
CCTV4,http://39.134.115.163:8080/PLTV/88888910/224/3221225621/index.m3u8
CCTV5,http://39.134.115.163:8080/PLTV/88888910/224/3221225633/index.m3u8
CCTV5+,http://39.134.115.163:8080/PLTV/88888910/224/3221225649/index.m3u8
CCTV6,http://39.134.115.163:8080/PLTV/88888910/224/3221225650/index.m3u8
CCTV7,http://39.134.115.163:8080/PLTV/88888910/224/3221225624/index.m3u8
CCTV8,http://39.134.115.163:8080/PLTV/88888910/224/3221225635/index.m3u8
央视直播,#genre#
CCTV-1,http://117.148.187.58/hwltc.tv.cdn.zj.chinamobile.com/PLTV/88888888/224/3221229818/index.m3u8#http://117.148.187.45/hwltc.tv.cdn.zj.chinamobile.com/PLTV/88888888/224/3221230713/01.m3u8?fmt=ts2hls
CCTV-2,http://101.71.255.229:6610/zjhs/2/10089/index.m3u8?virtualDomain=zjhs.live_hls.zte.com#http://39.134.176.163/hwltc.tv.cdn.zj.chinamobile.com/PLTV/88888888/224/3221230716/01.m3u8?fmt=ts2hls
CCTV-3,http://117.148.187.42/hwltc.tv.cdn.zj.chinamobile.com/PLTV/88888888/224/3221230740/index.m3u8#http://101.71.255.229:6610/zjhs/2/10128/index.m3u8?virtualDomain=zjhs.live_hls.zte.com
CCTV-4,http://117.148.187.114/hwltc.tv.cdn.zj.chinamobile.com/PLTV/88888888/224/3221229749/01.m3u8?fmt=ts2hls#http://101.71.255.229:6610/zjhs/2/10090/index.m3u8?virtualDomain=zjhs.live_hls.zte.com
CCTV-5,http://117.148.187.78/hwltc.tv.cdn.zj.chinamobile.com/PLTV/88888888/224/3221228965/01.m3u8?fmt=ts2hls#http://39.134.176.161/hwltc.tv.cdn.zj.chinamobile.com/PLTV/88888888/224/3221229791/01.m3u8?fmt=ts2hls#http://101.71.25
@hengstchon
hengstchon / Vagrantfile
Created June 25, 2021 13:09
Vagrantfile ubuntu 20.04
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@hengstchon
hengstchon / spacebarrc
Created June 9, 2021 12:42
~/.config/spacebar/spacebarrc
#!/usr/bin/env sh
spacebar -m config position top
spacebar -m config display main
spacebar -m config height 26
spacebar -m config title on
spacebar -m config spaces on
spacebar -m config clock on
spacebar -m config power on
spacebar -m config padding_left 20
@hengstchon
hengstchon / yabairc
Last active June 9, 2021 14:09
~/.config/yabai/yabairc
#!/usr/bin/env sh
# the scripting-addition must be loaded manually if
# you are running yabai on macOS Big Sur. Uncomment
# the following line to have the injection performed
# when the config is executed during startup.
#
# for this to work you must configure sudo such that
# it will be able to run the command without password
#