Skip to content

Instantly share code, notes, and snippets.

View jonyrock's full-sized avatar
💭
chilling protocol in progress

Alexey Velikiy jonyrock

💭
chilling protocol in progress
View GitHub Profile
@jonyrock
jonyrock / .block
Last active December 20, 2016 04:54
HexCut
license: mit
@jonyrock
jonyrock / .block
Last active December 12, 2016 13:12
RegularPolys
license: mit
var width = 500;
var legendWidth = 120;
var height = 400;
var lineLength = 150;
var svg = d3.select("#svgHolder")
.append("svg")
.attr("width", width)
.attr("height", height)
var poly = undefined;
@jonyrock
jonyrock / add-hash-to-stories.js
Created July 19, 2016 14:25
Sequelize migration vs data fill
'use strict';
var HASH_LENGTH = 11;
var _ = require('lodash');
var randomstring = require('randomstring');
var Promise = require('bluebird');
var Sequelize = require('sequelize');
module.exports = {
<table class="control planeControl">
<tr>
<th style="width:10%"></th>
<th style="width:30%" colspan="2">Пассажиропоток <br/>(пасс/сут)</th>
<th style="width:30%" colspan="2">Взлетно-посадочные операции <br/>(ВПО/сут)</th>
<th style="width:30%" colspan="2"></th>
</tr>
<tr>
<td></td>
<td>ВВЛ</td>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The HTML5 Herald</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
from,to,n
20,175,25705
20,191,2700
20,173,20
20,185,149
20,182,480
20,202,555
20,180,1151
20,275,105
20,139,1902
@400000005579ca751da86264 ===== Starting browser =====
@400000005579ca76008bea5c tcp 0 0 0.0.0.0:4000 0.0.0.0:* LISTEN
@400000005579ca7600ba35ec tcp 0 0 0.0.0.0:4001 0.0.0.0:* LISTEN
@400000005579ca892db8568c ATTENTION: default value of option force_s3tc_enable overridden by environment.
@400000005579ca8b15eb4654 [3154:4021:0611/205057:ERROR:web_data_service_backend.cc(54)] Cannot initialize the web database: 2
@400000005579ca8f0cdf47cc [3154:3154:0611/205101:ERROR:password_store_factory.cc(157)] Could not initialize login database.
@400000005579ca8f32b53574 [3154:3154:0611/205101:ERROR:desktop_window_tree_host_x11.cc(856)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)
@400000005579ca900d3e6374 [3154:3154:0611/205102:ERROR:desktop_window_tree_host_x11.cc(856)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)
@40000000
cmake_minimum_required(VERSION 2.6)
set(APP_NAME CloopPuzzle)
project (${APP_NAME})
include(cocos2d/build/BuildHelpers.CMakeLists.txt)
option(USE_CHIPMUNK "Use chipmunk for physics library" ON)
option(USE_BOX2D "Use box2d for physics library" OFF)
option(DEBUG_MODE "Debug or release?" ON)
#import <UIKit/UIKit.h>
#import "FlurryAdInterstitial.h"
@interface RootViewController : UIViewController {
}
@property (strong) FlurryAdInterstitial* adInterstitial;
- (BOOL) prefersStatusBarHidden;
- (void) showFullScreen;