Skip to content

Instantly share code, notes, and snippets.


Artur apokusin

Block or report user

Report or block apokusin

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 SketchSystems.spec
# Grading flow
Attempt View
Assignment done?
yes -> Grading area
no -> Attempt View
Grading area
numerical keypress -> Number
enter keypress -> Submit grade
View SketchSystems.spec
# Timeline
View Assignment
edit -> Edit assignment
open attempt -> Attempt
Edit assignment
save -> Assignment
cancel -> Assignment
apokusin / country_code_select.js
Last active Aug 18, 2017 — forked from basiam/
An AngularJS directive for selecting a country code from a select dropdown
View country_code_select.js
'use strict';
.directive('countryCodeSelect', ['$parse', function($parse) {
return {
restrict: 'A',
template: '<select><option ng-repeat="(key, value) in countries" value="{{ value }}">{{ key }} ({{ value }})</option></select>',
replace: true,
link: function(scope, elem, attrs) {
var assignCountry;
apokusin / sample-social-meta.html
Last active Jun 14, 2017
Social Meta tags with Jekyll
View sample-social-meta.html
{% unless page.layout == 'error' %}
{% if page.layout == 'article' %}<meta name="description" content="{{ page.content | strip_html | xml_escape | truncate: 200 }}">{% endif %}
<meta property="og:title" content="{{ page.title }}"
{% if page.layout == 'article' %}<meta property="og:description" content="{{ page.content | strip_html | xml_escape | truncate: 200 }}"
/>{% endif %}
<meta property="og:url" content="{{ site.blogURL }}{{ page.url }}" />
<meta property="og:image" content="{{ site.og_image }}"
<meta property="og:site_name" content="{{ }}"
apokusin / author-display.html
Created Dec 12, 2013
Display author(s), reliant on a 'post' loop.
View author-display.html
{% if %}
{% assign author =[] %}
{% assign p = post %}
{% else %}
{% assign author =[] %}
{% assign p = page %}
{% endif %}
<div class="author">
<div class="image">
apokusin / basic-author-display.html
Created Dec 12, 2013
Basic author via global data
View basic-author-display.html
<!-- Get the appropriate author object based on the `` variable, specified in your Front-matter -->
{% assign author =[] %}
<div class="author">
<div class="image">
<img src="{{ author.img }}" alt="{{ }}" width="50" height="50">
<div class="author_info">
<span class="name">{{ }}</span>
<span class="date">{{ | date: '%B %d, %Y' }}</span>
apokusin / sample-authors.yml
Created Dec 12, 2013
Author database file
View sample-authors.yml
name: Artur Pokusin
url: ""
img: ""
twitter: "@apokusin"
name: Andrew Benton
View gist:7922610
<link href='//,400,600,300italic,400italic,600italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/css/reset.css">
<link rel="stylesheet" href="/css/syntax.css">
<link rel="stylesheet" href="/css/main.css">
apokusin / sample-default-layout.html
Created Dec 12, 2013
A sample default layout file for the Bolt Jekyll Blog
View sample-default-layout.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width">
{% include %}
apokusin / index.html
Created Aug 16, 2013
A CodePen by Artur Pokusin. Code Unlock - A simple unlock UI element that I'm working on for a side project. It validates to "1234"
View index.html
<h3>enter code</h3>
<form class="code_input">
<input type="text" maxlength="1" placeholder="#" autofocus></input>
<input type="text" maxlength="1" placeholder="#"></input>
<input type="text" maxlength="1" placeholder="#"></input>
<input type="text" maxlength="1" placeholder="#"></input>
<ul class="hint">
You can’t perform that action at this time.