[source]
This manual page is for Mac OS X version 10.9
If you are running a different version of Mac OS X, view the documentation locally:
In Terminal, using the man(1) command
Reading manual pages
| credential.helper=osxkeychain | |
| init.defaultbranch=master | |
| user.name=Anton Petrov | |
| [email protected] | |
| user.signingkey=/Users/anton/.ssh/id_ed25519.pub | |
| core.pager=delta | |
| core.editor=nano | |
| interactive.difffilter=delta --color-only | |
| delta.navigate=true | |
| delta.light=false |
| Windows host: | |
| cp C:\Users\anton\.ssh\id_rsa.pub C:\Users\anton\authorized_keys | |
| cd C:\Users\anton\ | |
| scp authorized_keys [email protected]:~/.ssh | |
| Ubuntu host: | |
| service ssh status Start sshd if necessary | |
| mkdir ~/.ssh/ | |
| chmod 700 ~/.ssh | |
| chmod 600 ~/.ssh/authorized_keys |
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| version: '3' | |
| services: | |
| mongo: | |
| image: mongo:latest | |
| restart: always | |
| container_name: pritunldb | |
| hostname: pritunldb | |
| network_mode: bridge | |
| volumes: |
| # -*- coding: utf-8 -*- | |
| import binascii | |
| import struct | |
| def parse(fmt, binary, offset=0): | |
| ''' | |
| Unpack the string |
[source]
This manual page is for Mac OS X version 10.9
If you are running a different version of Mac OS X, view the documentation locally:
In Terminal, using the man(1) command
Reading manual pages
| type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {IP-ADDRESS} "cat >> .ssh/authorized_keys" |
I hereby claim:
To claim this, I am signing this object:
| # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
| # Initialization code that may require console input (password prompts, [y/n] | |
| # confirmations, etc.) must go above this block; everything else may go below. | |
| if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
| source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
| fi | |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH |