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
defaults write com.apple.Dock appswitcher-all-displays -bool true | |
killall Dock |
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
function gmailAutoarchive() { | |
var threads = GmailApp.search("in:inbox label:auto-archive older_than:2d"); | |
Logger.log("found " + threads.length + " threads:"); | |
for(var i = 0; i < threads.length; i++) { | |
var thread = threads[i]; | |
Logger.log((i+1) + ". " + thread.getFirstMessageSubject()); | |
} | |
var batch_size = 100; |
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
param ( | |
[string]$Version = "0.0.0-dev", | |
[string]$OutputDirectory = "bin" | |
) | |
Get-ChildItem $OutputDirectory -Include "*.nupkg" -Depth 1 | Remove-Item | |
$nuspecs = Get-ChildItem "*.nuspec" -File -Recurse | |
foreach($nuspec in $nuspecs) { | |
nuget pack $nuspec.FullName -OutputDirectory "bin" -Version $version |