Skip to content

Instantly share code, notes, and snippets.

View indapublic's full-sized avatar
🏠
Working from home

Vasilii indapublic

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
Showing Recent Messages
Prepare build
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel
This file has been truncated, but you can view the full file.
Showing Recent Messages
Prepare build
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel
note: Removed stale file '/Users/myusername/Library/Developer/Xcode/DerivedData/macroactive-hheghogsvyojwifcuvuxuctvyxae/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/glog.build/StaticAnalyzer/Pods/glog/normal/arm64/demangle.plist'
@indapublic
indapublic / mac-setup.md
Created September 21, 2017 01:01 — forked from orlando/mac-setup.md
Fresh Mac OS Setup

1. Run Software Update

Make sure everything is up to date.

Software Update

2. Install Xcode and its "Command Line Tools"

  1. Go to App Store and install Xcode.
  2. Open and accept the terms
@indapublic
indapublic / test.sql
Last active June 22, 2017 09:38
test dump
-- MySQL dump 10.16 Distrib 10.2.6-MariaDB, for osx10.12 (x86_64)
--
-- Host: localhost Database: test
-- ------------------------------------------------------
-- Server version 10.2.6-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@indapublic
indapublic / gist:37d059042cc7b676ca0c2d548656e80f
Created April 4, 2017 02:40
npm install oracledb --verbose
npm info it worked if it ends with ok
npm verb cli [ '/root/.nvm/versions/node/v7.8.0/bin/node',
npm verb cli '/root/.nvm/versions/node/v7.8.0/bin/npm',
npm verb cli 'install',
npm verb cli 'oracledb',
npm verb cli '--verbose' ]
npm info using npm@4.2.0
npm info using node@v7.8.0
npm verb request uri https://registry.npmjs.org/oracledb
npm verb request no auth needed
App.js
import { Router, Route, IndexRoute, browserHistory } from 'react-router'
render() {
return (
<Router history={browserHistory}>
<Route path="/" component={Main}>
<IndexRoute component={Home} />
<Route path="*" component={NotFound} status={404} />
ALTER TABLE `shop_product_reviews` CHANGE `id` `id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `left_key` `left_key` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `right_key` `right_key` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `depth` `depth` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `parent_id` `parent_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `product_id` `product_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `review_id` `review_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `contact_id` `contact_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `ip` `ip` BIGINT(11);
@indapublic
indapublic / gist:e4331f207fab836ca02c
Created December 25, 2015 05:35
Nsmarty example
var
util = require('util'),
http = require('http'),
nsmarty = require('nsmarty'),
Router = require('node-simple-router');
var router = new Router();
nsmarty.tpl_path = __dirname + '';
@indapublic
indapublic / gist:a9ae39b72cfac8643a1b
Created December 25, 2015 05:35
Nsmarty template example
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<p>Hello, {$name}</p>
<a href="/">Index</a> | <a href="/one">One</a> | <a href="/two">Two</a> | <a href="/three">Three</a>
</body>
</html>
{
"Ansi 7 Color" : {
"Green Component" : 0.7333333492279053,
"Blue Component" : 0.7333333492279053,
"Red Component" : 0.7333333492279053
},
"Tags" : [
],
"Ansi 12 Color" : {