Skip to content

Instantly share code, notes, and snippets.

@dexterbt1
dexterbt1 / future-programming-manifesto.md
Last active August 29, 2015 14:05
Future Programming Manifesto

The Future Programming Manifesto

http://alarmingdevelopment.org/?p=893

By JONATHAN EDWARDS | Published: AUGUST 27, 2014
It’s time to reformulate the principles guiding my work.

Inessential complexity is the root of all evil

Docker on Amazon EC2 Notes

Dependencies

  • Amazon Linux AMI

Installation

yum install -y docker
@dexterbt1
dexterbt1 / person.js
Created November 18, 2013 05:57
Implementing a REST Data Service in Angular
// http://blog.nebithi.com/angularjs-dos-and-donts/
(function () {
var person = angular.module("person");
person.factory("PersonService", [
'$http',
'httpRestValue',
function ($http, httpRestValue) {
var PersonService = {
data: {
currentPerson: {},
@dexterbt1
dexterbt1 / git_push.py
Created October 17, 2013 16:39
Fabric helper function: deploy a git repo by pulling a clone locally, then create remote destination hidden repo + hooks + worktree, and lastly, push to it
def git_push(repo=None, branch='master', dest_name=None, dest_base_path='opt', host_string=None):
# create local clone
user, host, port = normalize(host_string)
tmpprojdir = os.path.join(tempfile.gettempdir(), 'deploy', host, 'port-'+port, user )
if not local('ls %s/%s/.git && echo OK; true' % (tmpprojdir, dest_name), capture=True).endswith('OK'):
local('mkdir -p %s' % tmpprojdir)
local('(cd %s && git clone -q %s %s && cd %s && git checkout branch)' % (tmpprojdir, repo, dest_name, dest_name, branch))
with lcd('%s/%s' % (tmpprojdir, dest_name)):
local('git fetch -q origin')
local('git reset -q --hard origin/%s' % branch )
@dexterbt1
dexterbt1 / full-stack-developer.txt
Last active May 4, 2018 06:45
Full Stack Developer
Job Title:
Developer (Full-Stack)
Overall Description:
Develop, maintain, extend, and operate Platform and Services around Mobile, Voice and Web technologies.
Background:
We are IG Group of Companies, a specialist technology group focused in helping our clients make a difference
in the Mobile / Enterprise / Telco solutions space. We have always been pioneering innovators and have
consistently maintained leadership in the industry; seen as top-of-mind, go-to partners by our clients.
@dexterbt1
dexterbt1 / gist:6523980
Last active December 22, 2015 20:08
Front-end Mobile Developer
We are an early-stage startup focused in making a difference in the mobile commerce space.
We have an open opportunity for professional and experienced front-end/mobile developers to
help us build our MVP and our next beta product.
Requirements:
- You have relevant commercial experience in modern Front-end Web Development.
- You have practical experience and continuously self-improve skills in Mobile Application Development.
- You are disciplined, you get things done and you take personal responsibility to committed deliverables.
- You are be able to work under limited supervision and you work well with a team.
@dexterbt1
dexterbt1 / bench.dict.insert.py
Last active May 7, 2021 06:23
Perl Hash vs Python Dictionary - a micro benchmark we want to benchmark the performance of populating a hash, mapping a fixed-length 10-byte key to the same value
#!/usr/bin/env python
import timeit
REPEATS= 10
using_forloop_total = timeit.timeit(
"""
d={}
for n in range(1000000):
d["%10d" % n] = "%10d" % n
""", number=REPEATS)
@dexterbt1
dexterbt1 / mobile-dev-web-resources.md
Last active December 20, 2015 17:59
Mobile Development Web Resources - links to tools, frameworks, tutorials
@dexterbt1
dexterbt1 / rest-api-design.md
Created August 1, 2013 07:26
REST API Design Checklist

Inputs:

  • State requirements
  • Number of clients
  • Security classification of data in the API request or response
  • Peak volumes
  • Service level distinctions for clients
  • Availability requirements
  • Latency expectations
  • Business metrics
  • Transactionality