- Copy these color codes.
- Open the following menu
Preferences
->Themes
. - Paste it into the
Colors
item.
Or send a direct message to slackbot and click Switch sidebar theme
.
function Save-ImageFromClipboard | |
{ | |
[CmdletBinding()] | |
param( | |
[Parameter(ValueFromPipelineByPropertyName=$false, ValueFromPipeline=$false, Position=0, Mandatory=$false, HelpMessage="Path of image file that you want to save")] | |
[String] $Path, | |
[Parameter(ValueFromPipelineByPropertyName=$false, ValueFromPipeline=$false, Mandatory=$false, HelpMessage="Open default image viewer")] |
function dirname | |
{ | |
Param | |
( | |
[Parameter(Mandatory=$true, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true, Position=1, | |
HelpMessage="Files or directories for which you want to get the parent directory name")] | |
[String[]] $Path | |
) | |
foreach ($item in (Get-Item $Path)) { |
function say | |
{ | |
Param ( | |
[Parameter(Mandatory=$true, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$false, Position=1)] | |
[String] $Text | |
) | |
$spVoice= New-Object -ComObject Sapi.Spvoice | |
$spVoice.Speak($Text) | |
} |
{ | |
"kae": "d", | |
"kax": "v266-1", | |
"ks": "m", | |
"kbc": "1", | |
"ko": "s", | |
"k7": "161821", | |
"kt": "n", | |
"k21": "1e2139", | |
"k9": "84a0c6", |
1..30 | %{1..10+9..2 | %{$host.ui.RawUI.WindowTitle = "💩"*$_; sleep 0.06}} |
format = """ | |
[┌─ ](bold white)$shell$time$directory$git_branch$git_status$cmd_duration | |
[└─](bold white)$character""" | |
scan_timeout = 10 | |
[character] | |
success_symbol = "[❯❯❯](bold white) " | |
error_symbol = "[❯❯❯](bold red) " |
#!/bin/bash | |
# Listen to radio cli | |
# Dependence: | |
# - fzf: fuzzy finder | |
# - ffplay: music player (Install `ffmpeg`) | |
cat << EOS | ffplay -i -nodisp -v quiet "$(fzf <<< "${channels}" | awk '{print $2}')" | |
NHKR1 https://nhkradioakr1-i.akamaihd.net/hls/live/511633/1-r1/1-r1-01.m3u8 | |
NHKR2 https://nhkradioakr2-i.akamaihd.net/hls/live/511929/1-r2/1-r2-01.m3u8 |
#!/bin/sh | |
printf "%s" "${*}" | od -tx1 -An | tr ' ' % | tr -d \\n |