Skip to content

Instantly share code, notes, and snippets.

View ChaseFlorell's full-sized avatar
🇨🇦

Chase Florell ChaseFlorell

🇨🇦
View GitHub Profile
@ChaseFlorell
ChaseFlorell / Hexadecimal opacity transparency codes.md
Last active January 6, 2020 21:44 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

Set-Alias less "C:\Program Files\Git\usr\bin\less.exe"
function f($text, $files="*.*")
{
findstr /spin $text $files | less
}
@ChaseFlorell
ChaseFlorell / markdown.css
Last active December 26, 2023 19:29 — forked from imjasonh/markdown.css
.md *{
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
.md h1::before { content: "# "; }
source ~/.git-completion.bash
source ~/.git-prompt.sh
alias edit='open -a visual\ studio\ code'
alias cd..='cd ..'
alias co='git checkout'
alias pull='git fetch;git pull'
alias chr='open -a Google\ Chrome'
alias projects='cd ~/Projects'
$apiKey = "Your API Key"
$OctopusURL = "Your Octopus URL"
$Header = @{ "X-Octopus-ApiKey" = $apiKey }
#Getting all machines given an Environment name
$EnvironmentName = Read-Host 'What environment do you want to wipe out?'
Write-Warning "You are about to remove ALL machines from the $EnvironmentName environment."
$confirm = Read-Host 'Are you sure you want to continue? Y/N'
'use strict';
/*
*usage: <markdown ng:model="box.content"></markdown>
*/
myApp.directive('markdown', function ($compile) {
var nextId = 0;
//Make converter only once to save a bit of load each time - thanks to ajoslin
var converter = new Markdown.Converter();