Skip to content

Instantly share code, notes, and snippets.

View KanybekMomukeyev's full-sized avatar

Kanybek Momukeev KanybekMomukeyev

View GitHub Profile
@KanybekMomukeyev
KanybekMomukeyev / regex_ex.dart
Last active August 23, 2018 07:14
regex_ex.dart
void main() {
//на вход идет: +996-552-44-23-88
//на выходе: 996552442388
var phoneNumber = "+996-552-44-23-88";
phoneNumber.replaceAll(new RegExp(r"\d+"), "");
print(phoneNumber);
@KanybekMomukeyev
KanybekMomukeyev / main.dart
Created August 3, 2018 09:50 — forked from branflake2267/main.dart
Flutter fonts example use.
import 'package:flutter/material.dart';
const String words1 = "Almost before we knew it, we had left the ground.";
const String words2 = "A shining crescent far beneath the flying vessel.";
const String words3 = "A red flair silhouetted the jagged edge of a wing.";
const String words4 = "Mist enveloped the ship three hours out from port.";
void main() {
runApp(new MyApp());
}
@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
@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
//
// GRConversationController.m
// GroupChat
//
// Created by kanybek on 5/18/16.
// Copyright © 2016 Grouvi. All rights reserved.
//
#import "GRConversationController.h"
#import "GRConversationCollectionView.h"
@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,

@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 / 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 / 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