- An attempt to categorize operations by their effect on the shape of the data.
- abs
- acos
- asin
- atan
- cbrt (cubed-root)
- ceil
| # Downloads the video and coverts to audio, then clips it from $start to $stop time and saves as $file | |
| # The time formats must be "hh:mm:ss" and are relative to the beginning of the source video. | |
| $youtubeUrl = "https://www.youtube.com/watch?v=T6SyM0Kw6GA" | |
| $start = "00:00:36" | |
| $stop = "00:04:55" | |
| $file = "clip" | |
| $youtube_id = [regex]::new("[^/=]+$").Match($youtubeUrl).Value | |
| md $youtube_id -ErrorAction SilentlyContinue | |
| cd $youtube_id |
| { | |
| "userConfigMajorVersion": 4, | |
| "userConfigMinorVersion": 0, | |
| "userConfigPatchVersion": 0, | |
| "deviceName": "My UHK", | |
| "doubleTapSwitchLayerTimeout": 250, | |
| "iconsAndLayerTextsBrightness": 255, | |
| "alphanumericSegmentsBrightness": 255, | |
| "keyBacklightBrightness": 255, | |
| "mouseMoveInitialSpeed": 4, |
| using System; | |
| using System.Threading; | |
| namespace Sellars.Functional.Fluent | |
| { | |
| static class FunctionalExtensions | |
| { | |
| /// <summary> | |
| /// Creates a <see cref="Lazy{T}"/> from <see cref="valueFactory"/>. | |
| /// </summary> |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Concurrent; | |
| using System.Text.RegularExpressions; | |
| using System.Linq; | |
| using System.Threading; | |
| using static System.Console; | |
| using Microsoft.FSharp.Core; | |
| using Microsoft.FSharp.Collections; |
| # java -cp \clojure-1.8.0\clojure-1.8.0.jar -Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl :bind-err false}" clojure.main | |
| # I had to change keyprefix/suffix from looking like a keyword | |
| # to being a string because keywords don't support spaces well. | |
| # Original: | |
| ## key_prefix <- ":" | |
| ## key_suffix <- "" | |
| # Todo: Technically, might want to escape quotes in "named lists". |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Management; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.ComponentModel; | |
| static class Program |
| # editorconfig.org | |
| # top-most EditorConfig file | |
| root = true | |
| # Default settings: | |
| # A newline ending every file | |
| # Use 2 spaces as indentation | |
| # Trim trailing whitespace | |
| [*] |
I hereby claim:
To claim this, I am signing this object:
| :: Credit to http://gitimmersion.com/lab_11.html | |
| :: This is useful when you don't care to know where your .gitconfig is. | |
| :: support `fixup!` automatically | |
| git config --global rebase.autosquash true | |
| :: git hist | |
| git config --global --add alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short" | |
| git config --global --add alias.histc "log --pretty=format:'pick %h # %ad | %s%d [%an]' --date=short --reverse" |