Skip to content

Instantly share code, notes, and snippets.

Sergey Petrenko grayru

Block or report user

Report or block grayru

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2182107
.vBulletin_editor {
background: {$istyles[pi_button_normal][0]};
padding: $stylevar[cellpadding]px;
}
.imagebutton {
background: {$istyles[pi_button_normal][0]};
color: {$istyles[pi_button_normal][1]};
padding: {$istyles[pi_button_normal][2]};
border: {$istyles[pi_button_normal][3]};
}
@grayru
grayru / livefyre
Created May 26, 2012
Код для вставки Livefyre
View livefyre
<!-- START: Livefyre Embed -->
<script type='text/javascript' src='http://zor.livefyre.com/wjs/v1.0/javascripts/livefyre_init.js'></script>
<script type='text/javascript'>
var fyre = LF({
site_id: 303778
});
</script>
<!-- END: Livefyre Embed -->
View gist:b963d22fd95675c7e98b
View git-pull-yosemite-fix
// Open:
/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-pull
// Replace line 11 & 12
. git-sh-setup
. git-sh-i18n
// With this:
. /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-setup
. /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-i18n
@grayru
grayru / gist:097097cdaefb799919fdb5d789a8b33b
Last active Jun 17, 2016
Работа с параметрами посетителей в Метрике
View gist:097097cdaefb799919fdb5d789a8b33b
<script type="text/javascript">
(function(w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter35570 = new Ya.Metrika({id:35570, enableAll: true, webvisor:true});
yaCounter35570.userParams({username: $username});
}
catch(e) { }
});
})(window, "yandex_metrika_callbacks");
@grayru
grayru / gist:caf6f9bf8ee64ea3eebe8d5421bd7778
Last active Jul 24, 2017
Open Sans для форума
View gist:caf6f9bf8ee64ea3eebe8d5421bd7778
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=cyrillic');
body {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
}
]
td, th, p, li, textarea, .bginput {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
}
@grayru
grayru / 1.css
Last active Jul 24, 2017
Ubuntu на форуме
View 1.css
@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,400i,700&subset=cyrillic');
body {
font-family: 'Ubuntu', sans-serif;
font-size: 16px;
}
td, th, p, li, textarea, .bginput {
font-family: 'Ubuntu', sans-serif;
font-size: 16px;
line-height: 20px;
@grayru
grayru / 2.css
Last active Jul 26, 2017
Source Sans Pro — final
View 2.css
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700&subset=cyrillic');
body {
font-family: 'Source Sans Pro', sans-serif;
font-size: 16px;
}
td, th, p, li, textarea, .bginput, input {
font-family: 'Source Sans Pro', sans-serif;
font-size: 16px;
line-height: 20px;
@grayru
grayru / blueprint.json
Created Feb 10, 2019
Woocommerce offline transactions to GA scenario config
View blueprint.json
{
"name": "Woocommerce POS to GA",
"flow": [
{
"id": 1,
"module": "woocommerce:WatchOrders",
"version": 2,
"parameters": {
"limit": 10,
"__IMTCONN__": 521435
You can’t perform that action at this time.