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
@main[] ^header[Создание плаката ко Дню независимости Украины (2014)] ^maindir[] | |
^include[../../holidays.p] | |
^tabs_poster_son[] | |
^include[../../ukraine-independence-day.p] | |
^tabs_son[] | |
Создание плаката ко Дню независимости Украины (2014) | |
^include[../auto.p] |
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
var server = sinon.fakeServer.create(); | |
server.autoRespond = true; | |
Object.defineProperty(server, 'autoRespondAfter', { | |
get: function() { | |
if (someSmartCondition) { | |
return 100; | |
} | |
return 10; |
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
SELECT * FROM `yourdatabase`.wp_posts WHERE post_status=’publish’ order by post_date DESC |
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
mysql -u root -D ‘yourdatabase’ -e “UPDATE wp_posts SET post_content=’`cat your-local-file.html | perl -i -pe “s/’/\\\\\\’/g”`’ WHERE ID=6826" |
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
osascript -e ‘tell application “Google Chrome”’ -e ‘set t to active tab of window 1’ -e ‘end tell’ -e ‘return t’ |
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
osascript -e ‘tell application “Google Chrome”’ -e ‘reload tab id 5456 of window id 18’ -e ‘end tell’ |
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
body { | |
padding-top: 100px; | |
padding-left: 30px; | |
font: 12px arial; | |
} | |
div.ballon { | |
position: absolute; | |
display: inline-block; | |
border: 1px solid #EEE; |
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
a { | |
display: inline-block; | |
padding: 3px 12px; | |
border: 1px solid #999; | |
border-top-color: #BBB; | |
border-radius: 3px; | |
font: 11px arial; | |
text-decoration: none; |
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
a { | |
display: inline-block; | |
padding: 3px 12px; | |
border: 1px solid #999; | |
border-top-color: #BBB; | |
border-radius: 3px; | |
font: 11px arial; | |
text-decoration: none; |
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
// «archive» button for yandex mail | |
// version 0.1.5 | |
// 2012-03-28 | |
// | |
// ==UserScript== | |
// @name «Yandex Mail Archive button» | |
// @namespace http://gurugray.ru | |
// @description Создаём кнопку «В архив» на web-почте Яндекса | |
// @include http*://mail.yandex*/neo2/* |
OlderNewer