Skip to content

Instantly share code, notes, and snippets.

View KanybekMomukeyev's full-sized avatar

Kanybek Momukeev KanybekMomukeyev

View GitHub Profile
@KanybekMomukeyev
KanybekMomukeyev / text_text_text123.m
Created May 11, 2016 04:38
FOR_MAXIM_COPY_PASTE_ALWAYS_RULES
//
// GRIncomingCVCell.m
// GRCollectionViewMessengerLayout
//
// Created by kanybek on 12/26/15.
// Copyright © 2015 kanybek. All rights reserved.
//
#import "GRIncomingCVCell.h"
#import "SPLMMessage.h"
import Foundation
extension String
{
var length: Int {
get {
return countElements(self)
}
}
@KanybekMomukeyev
KanybekMomukeyev / mysql.sql
Created March 13, 2017 08:27 — forked from logrusorgru/mysql.sql
SQL: uniqueness, automatic created_at, updated_at refresh + soft delete. SQLite, PostgreSQL, MySQL
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- mysql --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
-- mysql <http://sqlfiddle.com/#!9/91afb5/2>
-- note: sqlfiddle is very stupid
@KanybekMomukeyev
KanybekMomukeyev / channel_queue_example.go
Last active March 30, 2017 04:58
Channel queue example
//HTTP method
func (s *server) CreateOrderWith(ctx context.Context, creatOrdReq *pb.CreateOrderRequest) (*pb.CreateOrderRequest, error) {
ordReq := new(OrdReq)
ordReq.createOrdReq = creatOrdReq
ordReq.ctx = ctx
dbSaveChannel <- ordReq
select {
case createOrdReq := <-outputChannel:
@KanybekMomukeyev
KanybekMomukeyev / channel_queue_example2.go
Last active March 31, 2017 06:10
Go 1 queue example, 1 worker queue example
package main
import (
_ "expvar"
"flag"
"fmt"
"log"
"net/http"
_ "net/http/pprof"
"time"
@KanybekMomukeyev
KanybekMomukeyev / Jonathan_Robson_Resume.md
Created April 7, 2017 10:59 — forked from jnrbsn/Jonathan_Robson_Resume.md
A Markdown version of my resume.

Jonathan Robson

8918 W 64th Pl, Apt 203 / Merriam, KS 66202
816-200-7301 / jnrbsn@gmail.com

Objective

To obtain a position working with web technologies that leverages my skills,

//
// GRConversationController.m
// GroupChat
//
// Created by kanybek on 5/18/16.
// Copyright © 2016 Grouvi. All rights reserved.
//
#import "GRConversationController.h"
#import "GRConversationCollectionView.h"
@KanybekMomukeyev
KanybekMomukeyev / pageSource.html
Created May 11, 2017 23:51
loading page resource
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>iTunes Connect</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-itunes-app" content="app-id=376771144,affiliate-data=ct=itcweblogin&pt=2003" />
<meta http-equiv="CACHE-CONTROL" content="no-cache, no-store, must-revalidate">
@KanybekMomukeyev
KanybekMomukeyev / helloworldnatsio.go
Last active July 13, 2017 10:14
HelloWorldNatsIO
//==========>>>>>> README <<<<<<==============//
//(1) Download Nats Server --> go get github.com/nats-io/gnatsd
//(2) Start Nats Server --> gnatsd
//(3) go run helloworldnatsio.go
@KanybekMomukeyev
KanybekMomukeyev / MainDocumentGVC.swift
Last active June 5, 2018 09:05
MainDocumentGVC.swift
//
// MainDocumentGVC.swift
// RentautomationPhone
//
// Created by kanybek on 3/6/18.
// Copyright © 2018 kanybek. All rights reserved.
//
import UIKit
import IGListKit