Skip to content

Instantly share code, notes, and snippets.

View Artnoc1's full-sized avatar
💭
I may be slow to respond.

Alex Artnoc1

💭
I may be slow to respond.
View GitHub Profile

SSH (PuTTY) Commands

The Secure Shell (SSH) Protocol lets a user connect to a remotely located computer from one computer. This communication takes place through a secured encryption process.
This kind of connection can be used for file transfer and issuing other remote commands. The SSH Protocol follows a client-server model in which connection is established by SSH Client to the SSH server.
The SSH client uses public key cryptography to ensure a safe connection to the SSH server. After setting up the connection, the SSH client also ensures that the privacy and integrity of data are maintained throughout the network by using symmetric encryption, asymmetric encryption, and hashing algorithms.
The client-server based model of SSH commands or PuTTY commands allows the authentication of two remotely located systems while encrypting the data that passes through them.
By default, SSH operates on TCP port 22, but it can be changed if required. The client connects with the server by performi

@Artnoc1
Artnoc1 / KeyEvent.md
Last active November 5, 2020 02:17
KeyEvent

developer.android.com KeyEvent | Для разработчиков Android | Android Developers

public

class

deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
#При необходимости открытый ключ Raspbian можно сохранить в связке ключей apt-get,
#используя следующие 4 команды:
- `wget https://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -`
-----------------------------------
#В некоторых случаях можно воспользоваться более простым поиском:
#https://packages.debian.org/имя — поиск по имени пакета.

android-keyboard-gadget

.gitmodules CONTRIBUTE_TO_DEVICE_TABLE.md CONTRIBUTING_AND_ISSUE_TEMPLATE.md DEVICES_AND_THEIR_KERNELS.md HTCM7_patch_steps ISSUE_TEMPLATE.md LICENSE README.md

@Artnoc1
Artnoc1 / .GIST.md
Last active November 24, 2021 03:54

##Basic search

This search Finds repositories with…

#cat stars:>100 Find cat gists with greater than 100 stars. #user:defunkt Get all gists from the user defunkt. #cat anon:true Include anonymous gists in your search for cat-related gists. NOT cat Excludes all results containing cat. #cat fork:only Search all forked gists for results containing cat. Contents search

@Artnoc1
Artnoc1 / .SEARCH
Last active September 29, 2021 13:15

!Put the following in your “.git/config” file:

[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green

@Artnoc1
Artnoc1 / .UPDATEZIP
Last active September 29, 2021 13:14
```
|-----------------------------------------------|--------------------------------------------------|
| flashing: | flashing: |
|-----------------------------------------------|--------------------------------------------------|
|update ZIP |Flash all partitions from an update.zip package |
|flashall |Flash all partitions from |
|$ANDROID_PRODUCT_OUT. |On A/B devices, flashed slot is set as active. |
| |Secondary images may be flashed to inactive slot |
|flash PARTITION [FILENAME] |Flash given partition, using the image from |
| |$ANDROID_PRODUCT_OUT if no filename is given. |
# Blocklist for use with hosts files to block ads, trackers, and other nasty things
#
# For more information about this list, see: https://pgl.yoyo.org/adservers/
# ----
# last updated:   Fri, 28 Aug 2020 08:20:20 GMT
# entries:        3545
# format:         hosts (hosts -- in hosts file format)
# credits:        Peter Lowe - pgl@yoyo.org - https://pgl.yoyo.org/ - https://twitter.com/pgl
# this URL:       https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext