Skip to content

Instantly share code, notes, and snippets.

View toshi75's full-sized avatar
💭
alive

toshi75

💭
alive
  • Japan
  • 21:16 (UTC +09:00)
View GitHub Profile
#!/usr/bin/env bash
#https://lore.kernel.org/lkml/20190830143027.cffqda2vzggrtiko@chatter.i7.local/
#https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/
cd "$(pwd)"
git clone https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git
cd ./pgpkeys/keys
for i in *.asc ;do
sudo gpg --import "$i"
done
@toshi75
toshi75 / makepkg.conf
Last active November 30, 2019 15:21
makepkg.conf
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
@toshi75
toshi75 / url-list_to_youtube-dl_with_aria2.bash
Last active November 30, 2019 15:24
url-list_to_youtube-dl_with_aria2.bash
#!/usr/bin/env bash
#=============================
DL_TO=$(cd "$(dirname "$0")" && pwd) #~/dl #~/mov
#=============================
cat << '_____ARIA2CONF_____' >aria2.conf
console-log-level=warn
max-connection-per-server=4
min-split-size=5M
summary-interval=300
continue
# --==@@ PhotoCollage/photocollage/gtkgui.py @@==--
# 1. 2018.8.6 line 660- add 1920x1080, 1080x1920, 1080x1080, 1600x1200, 1200x1600
#
#-*- coding: utf-8 -*-
# Copyright (C) 2013 Adrien Vergé
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
@toshi75
toshi75 / gtkgui.py
Last active August 30, 2018 19:26
Change defalt setting,templates of https://github.com/adrienverge/PhotoCollage
# Change defalt setting,templates of https://github.com/adrienverge/PhotoCollage
# Add 1920x1080 1080x1920
# ./photocollage/gtkgui.py
# -*- coding: utf-8 -*-
# Copyright (C) 2013 Adrien Vergé
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@toshi75
toshi75 / RunCommandPromptBabkgroundOnWindows.vbs
Created December 3, 2017 10:51
Run Command Prompt Babkground On Windows
'Set ws=CreateObject("Wscript.Shell")
'ws.run "aria2c.exe --enable-rpc",vbhide
' Only Commands OK
'#############################################################
'Set ws=CreateObject("Wscript.Shell")
'ws.run "cmd.exe /c Foo.bat",vbhide
'#############################################################
@toshi75
toshi75 / Make_multi_ico.bat
Created November 30, 2017 16:32
Make Multi icon Script for Windows using Imagemagick
:: makin' multi icon for windows
:: http://www.imagemagick.org/index.php
:: path to magick.exe required
:: All you need is Dropin' images.
@chcp 65001>nul
@echo off
cd /d %~dp1
@toshi75
toshi75 / ##Downloader_watch_torrent_inside_v7.cmd
Last active November 12, 2017 16:26
Aria2c Download Script Dev-minimum comments
:### Drop torrent file, or start this script and paste url.
:### Usage of "chcp" depends on environment and needs.
:### Setting Path to "aria2c.exe" is required
@chcp 65001 > nul
@echo off
color 1a
cd /d %~dp0
cls