One block element styled as icon. No additional markup, just CSS.
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
.blur { | |
-webkit-filter: url(#blur); | |
filter: url(#blur); | |
-webkit-filter: blur(3px); | |
filter: blur(3px); | |
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='3'); | |
-webkit-transition: 1s -webkit-filter linear; | |
transition: 1s filter linear; | |
} | |
.blur:hover { |
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
.noselect { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: 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
.terminal. | |
Dedicated to memory of | |
#[b.nobr "EC-ЭBM 70"]. | |
#[br]#[br] | |
Do you really remember | |
80th in USSR? [Y/n] |
Zebra style background for text, code, etc. Applicable to any brightness or hue of base color for background. Try to change it. To check corrections for sizes, try to set large enough quantity of lines (100 - 300) in HTML template.
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
#!/usr/bin/env python | |
import paramiko | |
hostname = 'localhost' | |
port = 22 | |
username = 'foo' | |
password = 'xxxYYYxxx' | |
if __name__ == "__main__": |
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
// Определение города посетителя | |
// Готовый код вставки в любое место сайта с указанием города, региона и страны. | |
<script src="http://yastatic.net/jquery/2.1.1/jquery.min.js"></script> | |
<script src="http://api-maps.yandex.ru/2.0-stable/?load=package.standard&lang=ru-RU" type="text/javascript"></script> | |
<script type="text/javascript"> | |
window.onload = function () { | |
jQuery("#user-city").text(ymaps.geolocation.city); | |
jQuery("#user-region").text(ymaps.geolocation.region); | |
jQuery("#user-country").text(ymaps.geolocation.country); | |
} |
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 | |
/** | |
* Session Handling Functions using MySQL. | |
* simply include() this file at the top of any script you wish to use sessions in. | |
* As long as the table exists in the database, all sessions will be stored in that table. | |
* This file can be places onto multiple webservers running the same website and they will | |
* begin to share sessions between them. | |
*/ |
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
<# | |
Note: Eliminate `-WhatIf` parameter to get action be actually done | |
Note: PS with version prior to 4.0 can't delete non-empty folders | |
#> | |
Get-ChildItem -Path "." -Include "node_modules" -Recurse -Directory | Remove-Item -Recurse -Force -WhatIf |
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
#!/bin/bash | |
# search for js, php & css files from current dir and below | |
# trim trailing spaces and tabs | |
# replace groups of 4 spaces to tab | |
# TODO: replace indents only, ie - only spaces at start of lines | |
# Problem: indentation tabs number must exact match to number of full spaces' groups | |
find ./ -type f -regex ".*\.\(js\|php\|css\)$" -exec sed -i -r 's/[ \g]+$//;s/^ {4}/\t/g' {} \; |
OlderNewer