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
<?php | |
function hide_cat_widget($args){ | |
$args ["hide_empty"] = 0; | |
return $args; | |
} | |
add_filter("widget_categories_args","hide_cat_widget"); |
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
@echo off | |
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
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
$(function (){ | |
function setEqualHeight(columns) | |
{ | |
var tallestcolumn = 0; | |
columns.each( | |
function() | |
{ | |
currentHeight = $(this).height(); | |
if(currentHeight > tallestcolumn) |
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
.img-wrap:before { | |
content: ""; | |
display: inline-block; | |
width: 1px; | |
height: 100%; | |
margin-left: -1px; | |
vertical-align: middle; | |
} |
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
::-webkit-input-placeholder {color:#c0392b;} | |
::-moz-placeholder {color:#c0392b;}/* Firefox 19+ */ | |
:-moz-placeholder {color:#c0392b;}/* Firefox 18- */ | |
:-ms-input-placeholder {color:#c0392b;} |
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
-webkit-transform: translateX(-50%); | |
-moz-transform: translateX(-50%); | |
-ms-transform: translateX(-50%); | |
-o-transform: translateX(-50%); | |
transform: translateX(-50%); |
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
//Вставить в адресную строку браузера и удалить *** | |
java***script:var h = document.getElementsByClassName("ui_actions_menu _ui_menu"); | |
var i = 0;function del_wall(){var fn_str = h[i].getElementsByTagName("a")[0].onclick.toString(); | |
var fn_arr_1 = fn_str.split("{"); | |
var fn_arr_2 = fn_arr_1[1].split(";"); | |
eval(fn_arr_2[0]);if(i == h.length){clearInterval(int_id)}else{i++}};var int_id=setInterval(del_wall,500); |
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 h = document.getElementsByClassName("ui_actions_menu _ui_menu"); | |
var i = 0; | |
var clickEvent = new MouseEvent("click", { | |
"view": window, | |
"bubbles": true, | |
"cancelable": false | |
}); | |
function del_wall(){ |
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 h = document.getElementsByClassName("fans_idol_unsub"); | |
var i = 0; | |
var clickEvent = new MouseEvent("click", { | |
"view": window, | |
"bubbles": true, | |
"cancelable": false | |
}); | |
function del_wall(){ |
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 gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var uglify = require('gulp-uglify'); | |
var minifyCSS = require('gulp-minify-css'); | |
var htmlreplace = require('gulp-html-replace'); | |
var clean = require('gulp-clean'); | |
var imagemin = require('gulp-imagemin'); | |
var cache = require('gulp-cache'); |