Theme Name: Wylsacom Media
Theme URI: http://underscores.me/
Author: Alexander Kuprianov
Author URI: alikkuprianov.ru
Description: Wylsacom Media
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Wylsa
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
wylsa is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
git reflog
# вы увидите список всего,
# что сделали в git, во всех ветках!
# у каждого элемента есть индекс HEAD@{индекс}
# найдите тот, перед которым всё сломалось
git reset HEAD@{index}
# волшебная машина времени
Используйте это чтобы вернуть случайно удалённые штуки, или убрать то чем Вы всё сломали, или восстановиться после неудачного слияния, или просто вернуться туда, когда всё работало. Я ОЧЕНЬ ЧАСТО использую reflog. Снимаю шляпу перед теми, кто предложил добавить это.
# найти хеш коммита, до которого нужно откатиться
git log
# используйте стрелочки, чтобы прокрутить историю
# сохраните хеш нужного коммита
git checkout [сохранённый хеш] -- путь/к/файлу
# старая версия файла окажется в вашем индексе
git commit -m "Ого, теперь не придётся копипастить, чтобы отменить изменения!"
Боты не могут создавать каналы, группы и супергруппы, они могут быть добавлены в группы или канал только вручную пользователями-людьми в качестве администратора.
$path_to_file = 'file1.html';
$new_file = 'file2.html';
$file_contents = file_get_contents($path_to_file);
$file_contents = str_replace("текст","текст2",$file_contents);
file_put_contents($new_file,$file_contents);
pip install -U requests[socks]
import requests
proxies = {'http': "socks5://server:port"}
r = requests.get('https://ramziv.com/ip', proxies=proxies).text
print(r)
git reflog
dbb617a (HEAD -> master, origin/master) HEAD@{0}: commit:
1ca5b87 HEAD@{1}: commit:
1019604 HEAD@{2}: commit:
1ca5b87 HEAD@{3}: commit:
d12b1cc HEAD@{4}: commit:
a3ac3cd HEAD@{5}: commit:
d12b1cc HEAD@{6}: commit:
dfeec8b HEAD@{7}: commit:
771269e HEAD@{8}: commit:
d5abae5 HEAD@{9}: commit:
33ec341 HEAD@{10}: commit:
git reset HEAD@{index}