This file contains hidden or 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
| git fetch --prune origin #prune remote branches | |
| git branch -r #list remote brnaches | |
| git branch | select-string -NotMatch -Pattern "main" | %{ git branch -D $_.ToString().Trim() } |
This file contains hidden or 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
| { | |
| "globalHeaders": { | |
| "content-security-policy": "default-src 'self' https://squalr.us; script-src 'self' https://www.google-analytics.com 'sha256-d8WoQSinwBfvQBSI1cIf68DLqh2eUwA1HYB0xu6gBsA=' https://platform.twitter.com https://gist.github.com; style-src 'self' https://squalr.us/ https://github.githubassets.com 'unsafe-inline'; frame-src https://platform.twitter.com; connect-src https://www.google-analytics.com", | |
| "x-frame-options": "DENY" | |
| } | |
| } |
This file contains hidden or 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
| { | |
| "routes": [ | |
| { | |
| "route": "/img/*", | |
| "headers": { | |
| "cache-control": "must-revalidate, max-age=15770000" | |
| } | |
| } | |
| ], | |
| "globalHeaders": { |
This file contains hidden or 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
| git for-each-ref --format '%(refname:short)' refs/heads | ForEach-Object {git branch $_ -d} |
This file contains hidden or 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
| var list = new List<string> | |
| { | |
| "foo", | |
| "bar", | |
| "baz" | |
| }; | |
| foreach (var i in list) | |
| { | |
| if (i.Equals(list.First())) |
This file contains hidden or 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
| MSBuild.exe /m /p:Configuration=Development acom.sln /t:ACOM_Web /v:n | |
| MSBuild.exe /m /p:Configuration=Release |
This file contains hidden or 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
| FIND: @import[ ]+["|']([\.\/\\]*)variables.d.less["|']; | |
| REPLACE: @import (reference) '$1variables.d.less'; |
This file contains hidden or 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
| Get-ChildItem -Recurse *.orig | Remove-Item -Verbose |
This file contains hidden or 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
| Get-ChildItem | Rename-Item -NewName { $_.Name -replace 'old-text', 'NewText' } |
This file contains hidden or 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 Screen() { | |
| this.src = ''; | |
| this.steps = []; | |
| } | |
| function Step(name, category, html) { | |
| this.name = name; | |
| this.category = category; | |
| this.html = html; | |
| } |
NewerOlder