Skip to content

Instantly share code, notes, and snippets.

View KanybekMomukeyev's full-sized avatar

Kanybek Momukeev KanybekMomukeyev

View GitHub Profile
@KanybekMomukeyev
KanybekMomukeyev / cuda_11.2_installation_on_Ubuntu_20.04
Last active December 24, 2021 04:35 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v11.2 and cuDNN 8.1 installation on Ubuntu 20.04 for Pytorch 1.8 & Tensorflow 2.7.0
#!/bin/bash
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
### to verify your gpu is cuda enable check
@KanybekMomukeyev
KanybekMomukeyev / flutter_cheatsheet.md
Last active September 4, 2018 03:23 — forked from vmwsree/flutter_cheatsheet.md
Cheat Sheet For Flutter

Container to be full width

constraints: BoxConstraints.expand() so the child a column can have expanded

Outlined Text Box

TextField(
  controller: _usernameController,
  decoration: InputDecoration(
@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 / 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 / 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
import Foundation
extension String
{
var length: Int {
get {
return countElements(self)
}
}
@KanybekMomukeyev
KanybekMomukeyev / Macros.h
Created December 7, 2015 08:25 — forked from numo16/Macros.h
Some useful iOS/Objective-C Macros
#define ApplicationDelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])
#define UserDefaults [NSUserDefaults standardUserDefaults]
#define NotificationCenter [NSNotificationCenter defaultCenter]
#define SharedApplication [UIApplication sharedApplication]
#define Bundle [NSBundle mainBundle]
#define MainScreen [UIScreen mainScreen]
#define ShowNetworkActivityIndicator() [UIApplication sharedApplication].networkActivityIndicatorVisible = YES
#define HideNetworkActivityIndicator() [UIApplication sharedApplication].networkActivityIndicatorVisible = NO
#define NetworkActivityIndicatorVisible(x) [UIApplication sharedApplication].networkActivityIndicatorVisible = x
#define NavBar self.navigationController.navigationBar