This file contains hidden or 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
# After DHCP changes | |
dhcpcd | |
# Disable fast boot on windows when dual booting with linux | |
Control Panel -> Power Options -> Choose what power button does -> uncheck turn on fast startup | |
This file contains hidden or 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
# Configuration of Ubiquity EdgeRouter Lite (Router), Ubiquiti UniFi Switch 8 60W (Switch), and Ubiquiti UniFi UAP-AC-LITE Dual-band AP (Wireless AP) | |
# OS: Ubuntu 22.04 | |
## Switch configuration | |
Connect computer to eth0 | |
Connect internet to eth1 | |
reset router | |
## Connection profiles |
This file contains hidden or 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
# Notes based on ffmpeg documentation: https://trac.ffmpeg.org/wiki/Capture/Desktop and general googling | |
# These settings work on Ubuntu 18.04 with rode podcaster usb microphone. | |
# Show screen information | |
xdpyinfo | |
# List audio capture devices | |
arecord -l | |
# Check device information (external usb mic in this case) |
This file contains hidden or 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
# This installation guide will create basic working arch linux installation with encryption. | |
# Encryption is implemented with dm-crypt + LUKS on a single disk. | |
# Following articles/posts/gists were used as reference | |
# https://www.happyassassin.net/2014/01/25/uefi-boot-how-does-that-actually-work-then/ | |
# https://wiki.archlinux.org/index.php/Installation_guide | |
# https://wiki.archlinux.org/index.php/Dm-crypt/System_configuration | |
# https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption | |
# https://blog.tinned-software.net/automount-a-luks-encrypted-volume-on-system-start/ | |
# https://gist.github.com/mattiaslundberg/8620837 |
This file contains hidden or 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
# This installation guide will create basic working arch linux installatio with encryption. | |
# Encryption is implemented with dm-crypt + LUKS on a single disk. | |
# +-----------------------+------------------------+-----------------------+ | |
# | Boot/EFI partition | LUKS encrypted root | Rest of the space | | |
# | (unencrypted) | partition | allocated to home | | |
# | | | partition | | |
# | /boot | / | | | |
# | | | | | |
# | | /dev/mapper/cryptroot | /dev/mapper/crypthome | |
This file contains hidden or 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
using NUnit.Framework; | |
using System; | |
using System.Threading.Tasks; | |
namespace MassTransit.SerializationTest | |
{ | |
[TestFixture] | |
public class SerializationFixture | |
{ | |
private IBusControl receiverBus; |
This file contains hidden or 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
# General | |
URxvt*saveLines: 12000 | |
xvt.perl-ext-common: ...,clipboard | |
URxvt.keysym.C-C: perl:clipboard:copy | |
URxvt.keysym.C-V: perl:clipboard:paste | |
# Fonts | |
URxvt*font: xft:DejaVu Sans Mono:pixelsize=15:antialias=true:hinting=true | |
URxvt*boldFont: xft:DejaVu Sans Mono:bold:pixelsize=15:antialias=true:hinting=true |
This file contains hidden or 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
#ble path name expansion or * will be expanded in the line | |
# cmd=( $line ) | |
set -f | |
monitor=${1:-0} | |
geometry=( $(herbstclient monitor_rect "$monitor") ) | |
if [ -z "$geometry" ] ;then | |
echo "Invalid monitor $monitor" | |
exit 1 | |
fi |
This file contains hidden or 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
Sunrise() { cd /c/Code ; } | |
Sunrise |
This file contains hidden or 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
$env:Path += ";C:\Chocolatey\bin" | |
cinst git.commandline | |
cinst VisualStudio2013Professional | |
cinst python | |
cinst notepadplusplus linqpad4 | |
cinst fiddler4 wireshark | |
cinst Firefox Wget curl | |
cinst adblockplusfirefox | |
cinst skype vlc paint.net 7zip spotify | |
cinst sumatrapdf |