Skip to content

Instantly share code, notes, and snippets.

View techno-tanoC's full-sized avatar
💻

techno-tanoC techno-tanoC

💻
View GitHub Profile
{-# START_FILE package.yaml #-}
name: {{name}}
version: 0.1.0.0
#synopsis:
#description:
homepage: https://github.com/{{github-username}}{{^github-username}}githubuser{{/github-username}}/{{name}}#readme
license: BSD3
author: {{author-name}}{{^author-name}}Author name here{{/author-name}}
maintainer: {{author-email}}{{^author-email}}example@example.com{{/author-email}}
copyright: {{copyright}}{{^copyright}}{{year}}{{^year}}2019{{/year}} {{author-name}}{{^author-name}}Author name here{{/author-name}}{{/copyright}}
@techno-tanoC
techno-tanoC / config
Created September 23, 2021 08:53
regolith linux i3 configuration
###############################################################################
# i3-gaps config file for the Regolith Desktop Environment
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
###############################################################################
#
# In this config file many values are taken from Xresources with the directive
# set_from_resource:
#
@techno-tanoC
techno-tanoC / go.go
Last active December 3, 2021 09:18
slack incoming webhook snippets
package main
import (
"bytes"
"encoding/json"
"io/ioutil"
"net/http"
)
func notifySlack(url, msg string) (string, error) {
package main
import (
"fmt"
"net/http"
"time"
)
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
@techno-tanoC
techno-tanoC / DinD
Last active February 23, 2020 17:15
DinDを使って他のコンテナからDockerを使う
@techno-tanoC
techno-tanoC / .zshrc
Last active September 25, 2019 09:28
.zshrcの作りかけ
# Created by newuser for 5.7.1
# prompt
PROMPT='%(5~,%-1~/.../%2~,%~) %F{red}%B❯%b%f%F{yellow}%B❯%b%f%F{green}%B❯%b%f '
# before autoload
fpath=(~/.zsh/completion $fpath)
# enable completions
autoload -U compinit
{
"cfgver": 4.1,
"cursor": {
"img": null,
"scale": 1
},
"drag": {
"ddirect": true,
"ddirectcolor": "778899",
"ddirectopa": 0.9,
#!/bin/sh
youtube-dl -i --playlist-reverse -o '%(autonumber)s-%(title)s-%(id)s.%(ext)s' https://www.youtube.com/channel/UCFv2z4iM5vHrS8bZPq4fHQQ