This file contains 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
##======================================================= | |
#create a new repository on the command line | |
# echo "NEW REPO" >> README.md | |
# git init | |
# git add README.md | |
# git commit -m "first commit" | |
# git branch -M numbnet | |
# git remote add origin https://github.com/numbnet/TEST.git | |
# git push -u origin numbnet |
This file contains 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
##=== OpenSSH Win10 === | |
echo "----------- !!! START !!! ----------" | |
## ================= ≠≠≠ ================= | |
param([switch]$Elevated) | |
function TestAdmin { | |
$currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent()) | |
$currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) |
This file contains 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
# ============= .bashrc ============= # | |
##==================≠================== | |
## Aliases | |
##==================≠================== | |
alias ls="ls -a" | |
alias rm='rm -rf' | |
alias cp='cp -i' | |
alias mv='mv -i' |
This file contains 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
#!/bin/bash | |
# https://gist.githubusercontent.com/numbnet/16283d639aa316c8a1925c779dbd225c/raw/e44a093421e9988ffcfee7c43b2da95b5be98b57/1Etap.sh | |
kastom() { | |
TITLE = "" | |
SUBTITLE = "Кастомизации Termux" | |
NIK.NAME = "NUMBNET" | |
LastNAME |
This file contains 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
## :::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
## | |
PKG="nano"; | |
# read -p "ENTER name install PKG: " insPKG; | |
if [ "$(dpkg-query -W -f='${Status}' "$PKG" 2>/dev/null | grep -c "ok installed")" == "1" ]; then | |
echo "$PKG OK" |
This file contains 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
#!/bin/bash | |
# | |
# Steps to build GCC 10 on Debian Buster. | |
# | |
set -e -x | |
# Install all dependencies. | |
export DEBIAN_FRONTEND=noninteractive | |
apt update |
This file contains 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
## ******************************* ## | |
## | |
## ДАННЫЕ ПОЛЬЗОВАТЕЛЯ | |
## Примеры конфигурации облака | |
## | |
## ******************************* ## | |
## ******************************* ## | |
title="Включая пользователей и группы" |
NewerOlder