I hereby claim:
- I am bhank on github.
- I am coynea (https://keybase.io/coynea) on keybase.
- I have a public key ASBCne7N-xdqgyKBwBkp4H20Dcl6-nqynmwgXC1_k8esZAo
To claim this, I am signing this object:
# Tortoise-CommitSolution by Adam Coyne <[email protected]> | |
# Edit your NuGet PowerShell profile ($Env:UserProfile\Documents\WindowsPowerShell\NuGet_profile.ps1) to source this file (like ". $Env:UserProfile\Documents\WindowsPowerShell\commit.ps1") and add a convenient alias (like "Set-Alias commit Tortoise-CommitSolution") | |
function Tortoise-CommitSolution { | |
[string[]]$projectpaths = Get-Project -All | foreach { [System.IO.Path]::GetDirectoryName($_.FullName) } | |
$projectpaths += $dte.Solution.FullName | |
if($projectpaths.length -gt 0) { | |
$filename = Write-PathFile(Filter-PathArray($projectpaths)) | |
# Visual Studio is 32-bit, but I have 64-bit TortoiseSvn and TortoiseGit installed | |
$programfiles = $Env:ProgramW6432 | |
if(!$programfiles) { $programfiles = $Env:ProgramFiles } |
@ECHO OFF | |
SET FOUND= | |
SET SEARCHPATH=%CD% | |
SET LASTSEARCHPATH= | |
ECHO %~nx0: finding source control dir for %SEARCHPATH% | |
:loop | |
CALL :checkdir "%SEARCHPATH%" | |
IF NOT "%FOUND%"=="" GOTO %FOUND% |
-- Ctrl-Q in conemu to reload Clink Lua scripts | |
-- Clink match generators: https://github.com/mridgers/clink/blob/master/docs/clink.md#user-content-match-generators | |
-- Strings: http://lua-users.org/wiki/StringLibraryTutorial | |
-- Patterns: http://lua-users.org/wiki/PatternsTutorial | |
-- Escaping: http://www.lua.org/pil/20.2.html | |
-- local: http://www.lua.org/pil/4.2.html | |
-- git commands which will autocomplete branch names after them: | |
local git_commands = {"checkout", "co", "merge", "branch -d", "branch -D"} |
@ECHO OFF | |
SET GITCOMMAND=%1 | |
SET GITPATH=%2 | |
SET GITPARAMS=%3 | |
IF "%GITCOMMAND%"=="" GOTO :EOF | |
IF NOT "%GITPATH%"=="" SET GITPATH=/path:%GITPATH% | |
IF /I "%GITCOMMAND%"=="ci" SET GITCOMMAND=commit | |
IF /I "%GITCOMMAND%"=="status" SET GITCOMMAND=repostatus | |
IF /I "%GITCOMMAND%"=="s" SET GITCOMMAND=repostatus | |
IF /I "%GITCOMMAND%"=="refs" SET GITCOMMAND=refbrowse |
@rem Copied from C:\Program Files\ConEmu\ConEmu | |
@echo off | |
rem Simple "ver" prints empty line before Windows version | |
rem Use this construction to print just a version info | |
cmd /d /c ver | "%windir%\system32\find.exe" "Windows" | |
rem Now we form the command prompt |
I hereby claim:
To claim this, I am signing this object:
local w = require('tables').wrap | |
local path = require('path') | |
-- https://stackoverflow.com/questions/59788504/how-to-use-the-clink-lua-api | |
-- https://github.com/vladimir-kotikov/clink-completions/blob/master/chocolatey.lua | |
local parser = clink.arg.new_parser | |
local envs = function (token) | |
envdir = clink.get_env('conda_prefix_1') |
#!/bin/bash | |
# using bash for `printf -v` to zero-pad month | |
# slackdump: https://github.com/rusq/slackdump | |
# instructions for getting secrets to put in secrets.txt: https://github.com/rusq/slackdump/blob/master/doc/login-manual.rst | |
# Run it from a directory containing subdirectories named after slack workspaces, each containing a secrets.txt: | |
# getmonth.sh some-slack-workspace-name lastmonth | |
# getmonth.sh other-slack-workspace-name 2024 6 |