Skip to content

Instantly share code, notes, and snippets.

View sorashi's full-sized avatar

Dennis Pražák sorashi

View GitHub Profile
@thitemple
thitemple / dev_setup.ps1
Last active March 22, 2022 05:19
A PowerShell script for installing a dev machine using Chocolatey.
function Add-Path() {
[Cmdletbinding()]
param([parameter(Mandatory=$True,ValueFromPipeline=$True,Position=0)][String[]]$AddedFolder)
# Get the current search path from the environment keys in the registry.
$OldPath=(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
# See if a new folder has been supplied.
if (!$AddedFolder) {
Return 'No Folder Supplied. $ENV:PATH Unchanged'
}
# See if the new folder exists on the file system.
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
#EXTINF:-1,BBC - Radio 2
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p
#EXTINF:-1,BBC - Radio 3
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-aac-lc-a/format/pls/vpid/bbc_radio_three.pls
#EXTINF:-1,BBC - Radio 4
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p
#EXTINF:-1,BBC - Radio 5 live
@tos-kamiya
tos-kamiya / powerline-shell-install.md
Last active July 8, 2017 07:50
Powerline-shell install
@sorashi
sorashi / kana.txt
Last active March 7, 2024 07:59 — forked from Cybuster/kana
Kana and kanji list for development purposes
Katakana Codes
ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶヷヸヹヺ・
Basic Katakana
アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン
Punctuation and Symbols
゛゜ーヽヾ
Phonetic Extensions for Ainu
@MarkTiedemann
MarkTiedemann / download-latest-release.ps1
Last active June 22, 2024 16:34
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "dotnet/codeformatter"
$file = "CodeFormatter.zip"
$releases = "https://api.github.com/repos/$repo/releases"
Write-Host Determining latest release
$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name
@sorashi
sorashi / readme.md
Last active September 28, 2018 20:12
Custom AppVeyor webhook for Discord
{
  "embeds": [
    {
      "title": "Build {{buildId}}",
      "url": "{{buildUrl}}",
      "color": {{#passed}}40973{{/passed}}{{^passed}}11672839{{/passed}},
      "footer": {
        "icon_url": "{{#passed}}https://i.imgur.com/Rf4g8v6.png{{/passed}}{{^passed}}https://i.imgur.com/QaERwAW.png{{/passed}}",
 "text": "{{#passed}}Success{{/passed}}{{^passed}}Failure{{/passed}}"
@sorashi
sorashi / _readme.md
Last active December 26, 2023 05:01
Windows registry edit that adds Windows command-line (cmd), Powershell and optionally GIT Bash to directory context menu

Registry edit that allows you to add Windows command-line, Powershell and/or GIT Bash to explorer context menu. source