Skip to content

Instantly share code, notes, and snippets.

View artem78's full-sized avatar

Artem artem78

  • Russia
View GitHub Profile
@artem78
artem78 / git_commands_help.md
Last active September 11, 2024 12:27
Шпаргалка по командам GIT

Git-logo

Заметки по наиболее часто используемым командам GIT для себя и не только

Подтянуть новые коммиты из удалённого репозитория

Или в чём разница между git pull и git fetch? Если совсем коротко, то:

git pull = git fetch + git merge
@artem78
artem78 / nokia_registration_reset.bat
Created July 13, 2019 21:32
Symbian sdk trial reset
ECHO HKEY_CURRENT_USER\Software\Nokia\Product Registration [1 8] > _ACL.txt
REGINI _ACL.txt
REG DELETE "HKCU\Software\Nokia\Product Registration" /f
DEL _ACL.txt
PAUSE
@artem78
artem78 / make_requirements_txt.bat
Created April 30, 2019 14:26
Make requirements.txt for currect directory. Tested on Windows 7 with Python 3.6.
pip3 install pipreqs
pipreqs --encoding=utf-8 --force .
@artem78
artem78 / send_email.ps1
Last active March 21, 2019 12:26
Sending email with attachment from Windows using PowerShell
$User = "[email protected]"
$Password = "mypass"
$From = $User
$To = "[email protected]"
$Subject = "Log"
$Body = "Here is your log file"
$SMTPServer = "smtp.gmail.com"
$SMTPPort = 587