Replace user with the name of the user you want to ssh as.
Replace the ip with the ip of the machine / host / vps you want to connect to.
cat ~/.ssh/id_rsa.pub | ssh user@ip "cat >> ~/.ssh/authorized_keys"| @echo off | |
| rem System provided date and time | |
| echo %DATE% | |
| echo %TIME% | |
| rem Capture Hour | |
| set hour=%time:~0,2% | |
| rem Remove leading space if single digit | |
| if "%hour:~0,1%" == " " set hour=0%hour:~1,1% |
| ; :shrug: ¯\_(ツ)_/¯ | |
| :B0:`:shrug:: | |
| if (A_EndChar == ":") { | |
| SendInput, {BS 7}¯\_(ツ)_/¯ | |
| } | |
| return | |
| ; :whatever: ◔_◔ | |
| :B0:`:whatever:: |
| // ==UserScript== | |
| // @name csgolounge-autobump | |
| // @namespace csgoloungeAutobump | |
| // @include http://csgolounge.com/mytrades | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| /*global $, console*/ | |
| (function ($) { |
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
| Sublime text 3 (Build 3100 to 3114) - license key [ tested on Mac OS ] | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
| B085E65E 2F5F5360 8489D422 FB8FC1AA |
| /* | |
| [search folders] | |
| folder_1 = | |
| folder_2 = | |
| [ignore paths] | |
| C:\Users\documents\scripts\example script name.ahk | |
| C:\Users\documents\scripts\example folder name | |
| [settings] |
[Environment variables][7] are a set of dynamic named values that can affect the way running processes will behave on a computer. The variables can be used both in scripts and on the command line. Environment variables makes it easy when certain standard directories and parameters need to be referenced but where the actual locations or names can vary from computer to computer.
This tutorial will show you a complete list of environment variables that can be used to reference standard directories and parameters in Windows 10.
| #NoEnv | |
| SendMode Input | |
| #IfWinActive, DayZ | |
| SetNumlockState, off | |
| ~NumLock:: | |
| if (GetKeyState("NumLock", "T")) { | |
| Send, {lshift Down} | |
| Send, {w Down} |
| # Base16-Monokai | |
| # | |
| # color values from https://github.com/chriskempson/base16-vim/blob/037f328/colors/base16-monokai.vim | |
| function bobthefish_colors -S -d 'Define a custom bobthefish color scheme' | |
| __bobthefish_colors base16-dark | |
| set -l base00 272822 | |
| set -l base01 383830 | |
| set -l base02 49483e |