サポートしない、というのが一番楽だとは思いますが…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# branch.oid d66d6aa78a36c28b109ae6d3dbf98b876aeb3506 | |
# branch.head daily | |
# branch.upstream origin/daily | |
# branch.ab +0 -0 | |
! WebInstall/ | |
! src/ConEmu/graphics.src/ | |
! src/WebInstall/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Exports Issues from a specified repository to a CSV file | |
Uses basic authentication (Github username + password) to retrieve Issues | |
from a repository that username has access to. Supports Github API v3. | |
""" | |
import csv | |
import requests | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo Clink.bat was started: %* | |
@set clink | |
:: Copyright (c) 2012 Martin Ridgers | |
:: | |
:: Permission is hereby granted, free of charge, to any person obtaining a copy | |
:: of this software and associated documentation files (the "Software"), to deal | |
:: in the Software without restriction, including without limitation the rights | |
:: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
:: copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@localhost:/mnt/c# cat /etc/resolv.conf | |
nameserver 8.8.8.8 | |
root@localhost:/mnt/c# ping 8.8.8.8 | |
ping: icmp open socket: Socket type not supported | |
root@localhost:/mnt/c# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[void][reflection.assembly]::LoadWithPartialName("System.Windows.Forms") | |
$form = New-Object System.Windows.Forms.Form | |
$form.Text = "Hello World" | |
$set_pos = { $form.Location = New-Object System.Drawing.Point(0, 0); } | |
$form.add_Load($set_pos) | |
[void]$form.ShowDialog() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pacman -S base-devel | |
:: There are 52 members in group base-devel: | |
:: Repository msys | |
1) asciidoc 2) autoconf 3) autoconf2.13 4) autogen 5) automake-wrapper 6) automake1.10 7) automake1.11 8) automake1.12 9) automake1.13 10) automake1.14 11) automake1.15 | |
12) automake1.6 13) automake1.7 14) automake1.8 15) automake1.9 16) bison 17) diffstat 18) diffutils 19) dos2unix 20) file 21) flex 22) gawk 23) gdb 24) gettext | |
25) gettext-devel 26) gperf 27) grep 28) groff 29) help2man 30) intltool 31) lemon 32) libtool 33) libunrar 34) m4 35) make 36) man-db 37) pacman 38) patch 39) patchutils | |
40) perl 41) pkg-config 42) pkgfile 43) rcs 44) scons 45) sed 46) swig 47) texinfo 48) texinfo-tex 49) ttyrec 50) unrar 51) wget 52) xmlto | |
Enter a selection (default=all): | |
warning: asciidoc-8.6.9-4 is up to date -- reinstalling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
]0;fish /home/Max[30m(B[mWelcome to fish, the friendly interactive shell | |
Type [32mhelp[30m(B[m for instructions on how to use fish | |
]0;fish /home/Max[30m(B[m[38;5;245m⏎[0m [32m~[30m(B[m $ [30m(B[m[K [32m~[30m(B[m $ [30m(B[mecho "***"[K[10D[38;5;26mecho[30m(B[m [33m"***"[30m(B[m [32m~[30m(B[m $ [30m(B[m[38;5;26mecho[30m(B[m [33m"***"[30m(B[m[K | |
[30m(B[m]0;echo /home/Max[30m(B[m*** | |
]0;fish /home/Max[30m(B[m[38;5;245m⏎[0m [32m~[30m(B[m $ [30m(B[m[K |
It's a common confusion about terminal colours... Actually we have this:
- plain ascii
- ansi escape codes (16 colour codes with bold/italic and background)
- 256 colour palette (216 colours + 16 ansi + 24 gray) (colors are 24bit)
- 24bit true colour ("888" colours (aka 16 milion))
printf "\x1b[${bg};2;${red};${green};${blue}m\n"