Skip to content

Instantly share code, notes, and snippets.

Andres Kievsky anknetau

Block or report user

Report or block anknetau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@balupton
balupton / README.md
Last active Jun 5, 2019
Summary of the Node.js Board controversy from what I can gather
View README.md
@zadr
zadr / results.txt
Last active May 27, 2019
locking microbenchmarking
View results.txt
NSLock: 1.175440 sec
NSLock+IMP Cache: 1.120450 sec
pthread_mutex: 0.750234 sec
OSSpinlock: 0.364442 sec
@synchronized: 2.958938 sec
dispatch_sync: 0.816864 sec
objc_sync_enter: 3.057307 sec
MacBook Pro (Retina, 15-inch, Mid 2015)
2.2 GHz Intel Core i7
View orthodoxc++.md

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@misterwell
misterwell / CreateP12PushCert.sh
Last active Jul 14, 2018
A shell script for creating a .p12 certificate file containing the Certificate & private key for use by an APNS push provider application
View CreateP12PushCert.sh
#!/bin/sh
# Script for generating .p12 files from APNS .cer files.
# Instructions:
# 1. Generate & download the push certificate inside Apple's developer portal
# 2. Import the .cer file into your Mac's Keychain Access, find it in your certificate list, and expand it to show the paired private key.
# 3. Select both the certificate and the paired private key, CTRL-Click & select Export Keys. Save it as Certificates.p12 in the same folder as the downloaded .cer file. You may give it a passphrase if you'd like, but be sure to remember it if you do.
# 4. Execute this shell file, with the format './CreateP12PushCert.sh <DownloadedCerFilename> <ExportedP12Filename> <OutputP12Filename>'
usage ()
{
View gist:9956023

OpenCart Issue #1286

This is the full version of the thread for opencart#1286, archived from notification emails.
The discussion has since been deleted almost entirely by OpenCart's developer.
Everyone who posted in it has also been blocked from the OpenCart repo.


Damian Bushong

@troystribling
troystribling / gist:2936763
Created Jun 15, 2012
Set Title of Terminal Window
View gist:2936763
function settitle() { echo -ne "\e]2;$@\a\e]1;$@\a"; }
@tomohisa
tomohisa / gist:2897676
Created Jun 8, 2012
Add and Remove ChildViewController
View gist:2897676
// add child view
UIViewController* controller = [self.storyboard instantiateViewControllerWithIdentifier:@"test"];
[self addChildViewController:controller];
controller.view.frame = CGRectMake(0, 44, 320, 320);
[self.view addSubview:controller.view];
[controller didMoveToParentViewController:self];
// remove child view
UIViewController *vc = [self.childViewControllers lastObject];
[vc.view removeFromSuperview];
@maxrice
maxrice / us-state-names-abbrevs.php
Created May 23, 2012
US State Names & Abbreviations as PHP Arrays
View us-state-names-abbrevs.php
<?php
/* From https://www.usps.com/send/official-abbreviations.htm */
$us_state_abbrevs_names = array(
'AL'=>'ALABAMA',
'AK'=>'ALASKA',
'AS'=>'AMERICAN SAMOA',
'AZ'=>'ARIZONA',
'AR'=>'ARKANSAS',
You can’t perform that action at this time.