:Git [args] # does what you'd expect
all of your ~/.gitconfig aliases are available.
:Git! [args] # same as before, dumping output to a tmp file
Moving inside a repo.
| package main | |
| import ( | |
| "fmt" | |
| "github.com/samber/lo" | |
| ) | |
| type User struct { | |
| ID int |
| // ex) deno run --allow-read --allow-env --allow-run .\main.ts ..\..\OneDrive\ドキュメント\20240114-cream.m3u8 out | |
| import { Parser } from "npm:[email protected]"; | |
| import mm from "npm:[email protected]"; | |
| import Kuroshiro from "npm:[email protected]"; | |
| //import Kuroshiro from "./core.ts"; | |
| import Analyzer from "npm:[email protected]"; | |
| const args = Deno.args; | |
| console.log(args); |
| require 'rexml/parsers/sax2parser' | |
| require 'rexml/sax2listener' | |
| # define types | |
| module Modes | |
| Unknown = 'Unknown' # unknown key name, ignore parse | |
| TrackID = 'Track ID' | |
| Name = 'Name' | |
| end |
| class Reciprocal | |
| include Enumerable | |
| def initialize(i) | |
| @denon = i | |
| end | |
| def each | |
| numer = 1 | |
| nums = [] | |
| loop do |
| (function() { | |
| 'use strict'; | |
| // Your code here... | |
| var loading = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">'; | |
| $('head').append(loading); | |
| $.getScript("https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js", () => {var simplemde = new SimpleMDE({ element: $("#content textarea")[0] });}); | |
| })(); |
| yes 'echo $((RANDOM%3))' | bash | head -n 100 | while read X;do E=$P;P=$N;N=$X; echo $X;if [[ "$N" == 2 && "$P" == 1 && "$E" == 0 ]];then echo "ガッ!!!";break;fi;done | sed -e 's/0/ぬ/' -e 's/1/る/' -e 's/2/ぽ/' |
| x=$(gshuf -i 196-226 -r|head -n 20|xargs);for ((i=0;i<30;i++));do y=$x;x=$((echo $x|cycle|head -n 2;echo $x|cycle|tail -n 1;echo $y)|awk '{for(i=1;i<=NF;i++){a[i]+=$i}}END{for(x in a)printf int(a[x]/4)" ";print ""}');echo $x;done|awk '{for(i=1;i<=NF;i++){printf "\033[48;05;%dm%d",$i,$i};print"\033[m"}' | gtac |
| cat attend | php -B '$n=explode(",",chop(file_get_contents("attend6")));' -R '$l=explode(" ",$argn);echo "$l[0] $l[1] $l[2]",in_array($l[0], $n)?"出":"欠","\n";' |
| #!/usr/bin/env zsh | |
| FO=$(cat) | |
| X=$(head -n 1 <<<$FO) | |
| YL=$(echo $FO|wc -l|bc) | |
| FF=$((echo $X|tr 1 0;echo $FO;echo $X|tr 1 0)|addl 0\ |addr \ 0) | |
| for L in {1..$YL};do | |
| for C in {1..$(echo $X|awk '{print NF}')}; do | |
| echo $FF | sed -n $L,$((L+2))p | cut -d \ -f $C,$((C+1)),$((C+2)) | xargs | { | |
| read B | |
| if echo $B | grep -q '. . . . 1 . . . .';then |