Skip to content

Instantly share code, notes, and snippets.

View sdaaish's full-sized avatar
😀
Spending to much time with my Emacs config.

Stig Dahl sdaaish

😀
Spending to much time with my Emacs config.
View GitHub Profile
@sdaaish
sdaaish / config.el
Created February 21, 2022 17:06
Rational config files
;; Load rational modules
(require 'rational-defaults)
(require 'rational-screencast)
(require 'rational-ui)
(require 'rational-editing)
(require 'rational-completion)
(require 'rational-windows)
(require 'rational-use-package)
;;; example-config.el ends here
FROM alpine:latest
RUN apk update && \
apk add git make && \
git clone https://github.com/mitmproxy/mitmproxy.git /src
@sdaaish
sdaaish / sdaaish.ini
Created February 18, 2020 21:59
ColorTool Scheme
[table]
DARK_BLACK = 0,0,0
DARK_BLUE = 0,55,218
DARK_GREEN = 19,161,14
DARK_CYAN = 58,150,221
DARK_RED = 197,15,31
DARK_MAGENTA = 136,23,152
DARK_YELLOW = 193,156,0
DARK_WHITE = 204,204,204
BRIGHT_BLACK = 118,118,118
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
//https://github.com/microsoft/terminal/blob/901a1e1a09ed66f5556407d34b39af7404fa7f69/doc/cascadia/SettingsSchema.md
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals" :
{
"alwaysShowTabs" : true,
"showTabsInTitlebar" : true,
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
//https://github.com/microsoft/terminal/blob/901a1e1a09ed66f5556407d34b39af7404fa7f69/doc/cascadia/SettingsSchema.md
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals" :
{
"alwaysShowTabs" : true,
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
//https://github.com/microsoft/terminal/blob/901a1e1a09ed66f5556407d34b39af7404fa7f69/doc/cascadia/SettingsSchema.md
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals" :
{
"alwaysShowTabs" : true,
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"profiles":
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
//https://github.com/microsoft/terminal/blob/901a1e1a09ed66f5556407d34b39af7404fa7f69/doc/cascadia/SettingsSchema.md
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals" :
{
"alwaysShowTabs" : true,
$text = @"
Print som text with updated information `n
$(Get-Date)`n
Some more text`n
"@
$html = ConvertTo-HTML -Body $text
"$html"
Set-Content -path index.html -value $html
"$text"
#Requires -Version 3
[cmdletbinding()]
Param (
[Parameter(Mandatory=$true, ValueFromPipelineByPropertyName=$true)]
[string]$Path,
[string]$User,
[string]$Collection
)