Skip to content

Instantly share code, notes, and snippets.

# Allow the command prompt to wrap to the next line
set horizontal-scroll-mode Off
# Enable 8bit input
set meta-flag On
set input-meta On
# Turns off 8th bit stripping
set convert-meta Off
HISTSIZE=
HISTFILESIZE=
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export HISTCONTROL=ignorespace
xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080
GRC="$(which grc)"
if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
alias colourify="$GRC -es --colour=auto"
alias blkid='colourify blkid'
alias configure='colourify ./configure'
alias df='colourify df'
alias diff='colourify diff'
alias docker='colourify docker'
alias docker-machine='colourify docker-machine'
alias du='colourify du'
@kaimi-
kaimi- / dante.sh
Created April 13, 2018 12:26
Dante proxy setup script
#!/bin/bash
LOGIN="user"
PASSW="pass"
PORT="12345"
DANTE_VERSION="1.4.2"
DANTE_DOWNLOAD_URL="https://www.inet.no/dante/files/dante-$DANTE_VERSION.tar.gz"
DANTE_CFG_PATH="/etc/sockd.conf"
DANTE_INITD_PATH="/etc/init.d/sockd"
@kaimi-
kaimi- / AWUS036ACH
Last active January 2, 2019 09:14
AWUS036ACH
http://fars-robotics.net/install-wifi
https://github.com/aircrack-ng/aircrack-ng
https://github.com/t6x/reaver-wps-fork-t6x (apply https://github.com/t6x/reaver-wps-fork-t6x/issues/265#issuecomment-441272085)
ln -s /lib/udev/rules.d/80-net-setup-link.rules /etc/udev/rules.d/80-net-setup-link.rules
<Configuration>
<Add OfficeClientEdition="64" Branch="Current">
<Product ID="Excel2019Retail">
<Language ID="ru-ru" />
</Product>
<Product ID="Word2019Retail">
<Language ID="ru-ru" />
</Product>
<Product ID="Outlook2019Retail">
<Language ID="ru-ru" />
https://lists.yoctoproject.org/pipermail/linux-yocto/2017-December/006689.html
https://forum.openwrt.org/t/installing-openwrt-on-mikrotik-wap-r-rbwapr-2nd/15423/113
https://drive.google.com/drive/folders/1w9pgfiC9fhQe9mDl6J4icBeK8LAkO7_S
export PROMPT="%F{cyan}%n%f@%F{green}%m%f:%~ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export HISTCONTROL=ignorespace
alias dir='ls'
alias ls='ls -G'
alias cls='clear'
@kaimi-
kaimi- / dotnet-keys.xml
Created December 26, 2020 10:58
.NET machine keys from Github
<?xml version="1.0" encoding="utf-8"?>
<entries>
<entry><repo>072114202/000</repo><validationKey>DA106C928E696E1E4DF1869FE3957AC8A9C625723EA02C806C722561A4BE1F13</validationKey><decryptionKey>9CD496BA0D236966D63072E3DCD717040EFB09927A9D54B6858A14D6A5F3884D</decryptionKey></entry>
<entry><repo>0zzo/AjaxControlToolKit18.1</repo><validationKey>5278D83EDD8E36C27E019D3E975D62A3FDF0E8EF50DB69F659D03EB18A4459D2B3271AA075173012EF122E2B7BFA49CDE16CC0DCC68F3E862E1EEE491D300DC9</validationKey><decryptionKey>7EE421F6987EAFF4998E0F2ED5544AF1B931C82A1602BC2E</decryptionKey></entry>
<entry><repo>1020847665/test</repo><validationKey>1CFEFA045B2C4F8C406C7F94A7D4E8D367621D54</validationKey><decryptionKey>065E62FA2432A0B60832FB4B7CE7325F84B9AE1B319F1A22</decryptionKey></entry>
<entry><repo>1071157808/io.yuyi.jinyinmao.server</repo><validationKey>E36C925743B394CA47D1E0C047823B952202856E9DE62168764FF0DCE537184F0535D5D9AD66DEDCE36C925743B394CA47D1E0C047823B952202856E97DC1ABF</validationKey><decryptionKey>F7FA540B4DFD82E5BB196B95D1