Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block rlam3

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
james2doyle /
Last active Oct 8, 2019
Enable remote debugging on the iOS simulator using Chrome Dev Tools

Install the tools:

brew install ios-webkit-debug-proxy

Run the simulator. And choose an iOS 10 device. The chrome remote debugging doesn't work with iOS 11 yet.

Enable the inspector

DenisIzmaylov /
Last active Sep 7, 2019
Step By Step Guide To Setup Docker Registry

Step By Step Guide To Setup CI/CD With Docker Registry

Step-by-Step Guide how to install CI/CD with Docker Registry On Ubuntu 14.04 LTS from scratch.

  1. Install Docker using Official Manual or just run:
sudo bash
apt-get update
apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
cecilemuller /
Last active Oct 23, 2019
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)

Virtual hosts

Let's say you want to host domains and

Create folders for their files:

AvdLee / ALSwiftyBeaverCLLogger
Last active Apr 19, 2017
CocoaLumberjack logger for SwiftyBeaver
View ALSwiftyBeaverCLLogger
// ALSwiftyBeaverCLLogger.swift
// Created by Antoine van der Lee on 09/05/16.
// Copyright © 2016 Antoine van der Lee. All rights reserved.
import Foundation
import CocoaLumberjack
import SwiftyBeaver
jpgiago / gulpfile.js
Last active Sep 22, 2017
Gulp.js for Stylus (lost, axis, rupture w/ postcss)
View gulpfile.js
var gulp = require('gulp'),
plumber = require('gulp-plumber'),
gutil = require('gulp-util'),
autoprefixer = require('autoprefixer'),
sourcemaps = require('gulp-sourcemaps'),
postcss = require('gulp-postcss'),
poststylus = require('poststylus'),
stylus = require('gulp-stylus'),
axis = require('axis'),
rupture = require('rupture'),
mars /
Last active Oct 20, 2019 — forked from Micka33/
Cassandra on Mac OS X

Installing Cassandra on Mac OS X

Install Homebrew

Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:

ruby -e "$(curl -fsSL"
mbalex99 / gist:8802db1695f20c520ca0
Last active May 19, 2018
Alamofire and RxSwift
View gist:8802db1695f20c520ca0
let rx_request = Observable<Value>.create { (observer) -> Disposable in
let requestReference = Alamofire.request(.POST, url, parameters: payload)
.responseJSON(completionHandler: { (response) in
if let value = response.result.value {
}else if let error = response.result.error {
ikeikeikeike /
Created Mar 30, 2015
Elasticsearch Zero Downtime Reindexing using elasticsearch-dsl-py ref:
from datetime import datetime
from elasticsearch_dsl import (
def _suffix():
ebuildy / gist:5d4ad0998848eaefdad8
Last active Nov 7, 2018
Setup sentry logger on a fresh Ubuntu server
View gist:5d4ad0998848eaefdad8
sudo apt-get update
sudo apt-get install python-virtualenv
sudo apt-get install python-dev
sudo apt-get install postgresql
sudo apt-get install postgresql-server-dev-9.3
sudo apt-get install redis-server
sudo -u postgres createuser -s sentry
sudo -u postgres psql -c "alter user sentry with password 'sentry';"
scabbiaza /
Created Sep 22, 2014
Flask with infinity scroll navigation

Flask with infinity scroll navigation

Using: Flask, SQLAlchemy, Infinite-scroll

You can’t perform that action at this time.