- Homebrew, run
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
from the command line to install it. - Homebrew Cask, run
brew tap caskroom/cask
from the command line to install it. - Alfred, buy the powerpack to get the full use of it.
- Spectacle
- Fish shell
- VLC
- Unarchiver
- f.lux
- n, run
brew install n
from the command line to install it. - Fisherman, run
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
from the command line to install it.
HA Proxy Logging on Lion | |
------------------------- | |
# To enable haproxy logging we need to change syslogd startup procedure to include its network listener. | |
# Backup syslogd start up file | |
sudo cp /System/Library/LaunchDaemons/com.apple.syslogd.plist /System/Library/LaunchDaemons/com.apple.syslogd.plist.bakup | |
# Convert binary file to xml to be human readable / editable |
using System.Net; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Mvc.Testing; | |
using Snapshooter.Json; | |
using Xunit; | |
namespace MyCompany.MyService | |
{ | |
public class GraphQLSchemaTests | |
: IClassFixture<WebApplicationFactory<Startup>> |
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "shell", | |
"style": "plain", |
tu### Download from a list of files url usin Youtube-dl
choco install -y youtube-dl
choco install -y aria2
choco install -y ffmpeg
youtube-dl -v -i -c --add-metadata --write-info-json --write-all-thumbnails --embed-thumbnail -o "%(title)s.%(ext)s" --external-downloader aria2c --external-downloader-args "-x 16 -s 16" --download-archive _downloaded.txt -a {\\path\to\list.txt} --config-location PATH
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory)] | |
[string] | |
$RiderHome | |
) | |
function Update-WindowsDefenderForRider { | |
[CmdletBinding()] | |
param ( |
Visual Studio project folders contains a lot of files that it generates each time you compile your project, so you don't need them when zipping the folder, what about if we could use .gitignore?
There are ways to do this :) lets check them down
Here is the link to 7zip if not installed
Instructions to obtain ZSH on a windows environment, without the input funny business presented by some other attempted solutions.
The final result is ZSH running on a mintty terminal, emulated by cygwin, and being handled by the popular cmder.
For the benefit of myself and others. I've already followed these instructions twice. It took me hours to figure all this out, maybe someone else can save a few.
- Installing and setting up cmder
That’s by the way also true for IEnumerable itself. This interface provides only the basic functionality for working with collections (really, just iterating through them), and so if your method requires more than that, also state that requirement up front. For example, if the only thing you need out of a collection is the capability to enumerate its elements, it’s fine to use IEnumerable:
public void SomeMethod(IEnumerable<string> collection) { foreach (string element in collection)
# Taps | |
tap 'homebrew/cask-fonts' | |
tap 'homebrew/cask-versions' | |
tap 'heroku/brew' | |
# Install CLI Tools | |
## Shell Utilities | |
brew 'coreutils' | |
brew 'findutils' | |
brew 'autojump' |