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
<%* | |
const newline = `\r\n`; | |
const responses = ["✅","❌","🆗"]; | |
const reflections = { | |
"TCB" : [ | |
[ "Did you write down your goals for the day?", responses ], | |
[ "Did you make progress on your goals for the day?", responses ], | |
[ "Do you feel good about the work you completed today?", responses ], |
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
// run this in the dev console on RealClearPolitics polling chart pages | |
// https://www.realclearpolitics.com/epolls/2020/president/us/2020_democratic_presidential_nomination-6730.html | |
function hide(c, idx) { | |
c.forEach(function (ci) { | |
Array.from(document.getElementsByClassName(ci)).forEach((el, i) => { | |
el.style.visibility = 'visible'; | |
if (!idx.includes(i)) el.style.visibility = 'hidden'; | |
}); | |
}); |
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
# Inspired by Mark Embling | |
# http://www.markembling.info/view/my-ideal-powershell-prompt-with-git-integration | |
$global:GitPromptSettings = New-Object PSObject -Property @{ | |
DefaultForegroundColor = $Host.UI.RawUI.ForegroundColor | |
DefaultBackgroundColor = $Host.UI.RawUI.BackgroundColor | |
BeforeText = ' [' | |
BeforeForegroundColor = [ConsoleColor]::Yellow | |
BeforeBackgroundColor = $DefaultBackgroundColor |
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
Push-Location (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) | |
# Load posh-git module from current directory | |
Import-Module .\posh-git | |
# If module is installed in a default location ($env:PSModulePath), | |
# use this instead (see about_Modules for more information): | |
# Import-Module posh-git | |
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
# look for profile.example.ps1 in your %USERPROFILE%\AppData\Local\GitHub\PoshGit_somerandomlettersandnumbers\ folder | |
# add the following after the Enable-GitColors line | |
$global:GitPromptSettings.IndexForegroundColor = [ConsoleColor]::Green | |
$global:GitPromptSettings.WorkingForegroundColor = [ConsoleColor]::Red | |
$global:GitPromptSettings.UntrackedForegroundColor = [ConsoleColor]::Magenta | |
$global:GitPromptSettings.BranchAheadForegroundColor = [ConsoleColor]::Green | |
$global:GitPromptSettings.BranchBehindForegroundColor = [ConsoleColor]::Magenta |
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
[color "status"] | |
header = black normal bold # the header text of the status message | |
added = green normal bold # files which are added but not committed | |
updated = green normal bold # files which are added but not committed | |
hanged = yellow normal bold # files which are changed but not added in the index | |
untracked = cyan normal bold # files which are not tracked by Git | |
branch = magenta normal bold # the current branch | |
nobranch = normal normal bold # the color the no branch warning is shown in, defaulting to red | |
unmerged = red normal bold # files which have unmerged changes | |
# available colors are normal, black, red, green, yellow, blue, magenta, cyan and white |
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
cinst 1password | |
cinst 7zip | |
cinst 7zip.install | |
cinst AdobeAIR | |
cinst adobereader | |
cinst Atom | |
cinst markdownpad2 | |
cinst autohotkey.portable | |
cinst beyondcompare | |
cinst curl |
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
namespace ConsoleApplication1 | |
{ | |
using Castle.MicroKernel.Registration; | |
using Castle.Windsor; | |
using Castle.Windsor.Installer; | |
public interface IFoo | |
{ | |
} |