Skip to content

Instantly share code, notes, and snippets.

💭
¯\_(ツ)_/¯

Talgat Uspanov talgautb

💭
¯\_(ツ)_/¯
Block or report user

Report or block talgautb

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
@talgautb
talgautb / Samsung Smart Tv keys
Created Mar 4, 2014
Don't forget to remove the name of the scene and unnecessary buttons
View Samsung Smart Tv keys
Scene.prototype.handleKeyDown = function (keyCode) {
switch (keyCode) {
case sf.key.LEFT:
this.keyLeft();
break;
case sf.key.RIGHT:
this.keyRight();
break;
case sf.key.UP:
this.keyUp();
View Key Value for Samsung smart tv
7 - PL_APPCOMMON_KEY_VOLUP
11 - PL_APPCOMMON_KEY_VOLDOWN
27 - PL_APPCOMMON_KEY_MUTE
20 - PL_APPCOMMON_KEY_GREEN
21 - PL_APPCOMMON_KEY_YELLOW
22 - PL_APPCOMMON_KEY_CYAN
69 - PL_APPCOMMON_KEY_REWIND
70 - PL_APPCOMMON_KEY_STOP
71 - PL_APPCOMMON_KEY_PLAY
72 - PL_APPCOMMON_KEY_FF
@talgautb
talgautb / Reserved classes
Created Mar 21, 2014
list of not using css classes
View Reserved classes
.print
.exit
.show
.hidden
.block
.more
.span
.container
.row
.table
View font-face.css.sass
@font-face
font-family: 'font'
src: local('font')
src: url('font/font.woff'), url('font/font.ttf')
font-weight: normal
@talgautb
talgautb / blacklist.md
Last active Nov 12, 2015
Сайты, заблокированные на территории Республики Казахстан
@talgautb
talgautb / boilerplate.html
Last active Nov 14, 2015
Simple html boilerplate
View boilerplate.html
<!DOCTYPE html>
<html class="ua" lang="en" itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title itemprop="name">My page</title>
<meta name="description" content="Some description" itemprop="description"/>
<meta name="keywords" content="some, keywords" itemprop="keywords"/>
@talgautb
talgautb / icons.styl
Last active Jul 2, 2016
Stylus mixin: create social links on site
View icons.styl
.icon
display: inline-block
vertical-align: middle
width: 30px
height: @width
background-position center
background-repeat no-repeat
for $icon in vk tw fb ok
.icon--{$icon}
View .eslintrc
{
"rules": {
'accessor-pairs': 0,
'block-scoped-var': 2,
'complexity': [0, 11],
'consistent-return': 2,
'curly': [2, 'multi-line'],
'default-case': 2,
'dot-notation': [2, { 'allowKeywords': true}],
'dot-location': 0,
View phone-codes.json
[
{ "mask": "+247-####", "cc": "AC", "name_en": "Ascension", "desc_en": "", "name_ru": "Остров Вознесения", "desc_ru": "" },
{ "mask": "+376-###-###", "cc": "AD", "name_en": "Andorra", "desc_en": "", "name_ru": "Андорра", "desc_ru": "" },
{ "mask": "+971-5#-###-####", "cc": "AE", "name_en": "United Arab Emirates", "desc_en": "mobile", "name_ru": "Объединенные Арабские Эмираты", "desc_ru": "мобильные" },
{ "mask": "+971-#-###-####", "cc": "AE", "name_en": "United Arab Emirates", "desc_en": "", "name_ru": "Объединенные Арабские Эмираты", "desc_ru": "" },
{ "mask": "+93-##-###-####", "cc": "AF", "name_en": "Afghanistan", "desc_en": "", "name_ru": "Афганистан", "desc_ru": "" },
{ "mask": "+1(268)###-####", "cc": "AG", "name_en": "Antigua & Barbuda", "desc_en": "", "name_ru": "Антигуа и Барбуда", "desc_ru": "" },
{ "mask": "+1(264)###-####", "cc": "AI", "name_en": "Anguilla", "desc_en": "", "name_ru": "Ангилья", "desc_ru": "" },
{ "mask": "+355(###)###-###", "cc": "AL", "name_en": "Albania", "desc_en": "",
View kz_stations.js
[
"Казалинск",
"Казанбасы",
"Казахская",
"Казахстан",
"Казыбек бек",
"Каиыр",
"Кайдауыл",
"Кайракты",
"Кайранкуль",
You can’t perform that action at this time.