This file contains hidden or 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
#поиск подстрок в файлах | |
grep -R "% {" . |
This file contains hidden or 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
#connect/disconnect | |
#if you use usb cable, you do not need connect to devices | |
adb connect [ip] | |
adb disconnect [ip] | |
#show all devices | |
adb devices | |
#sceenshots | |
alias s='adb shell screencap -p | perl -pe "s/\x0D\x0A/\x0A/g" > ~/Documents/$(date +%d-%m-%Y_%k-%M-%S)_screen.png' |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Пример</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<script src="http://api-maps.yandex.ru/2.0/?load=package.full&lang=ru-RU" | |
type="text/javascript"></script> | |
<script type="text/javascript"> | |
// Как только будет загружен API и готов DOM, выполняем инициализацию |
NewerOlder