Skip to content

Instantly share code, notes, and snippets.


David J. Kordsmeier truedat101

Block or report user

Report or block truedat101

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
anamorph /
Last active Jun 19, 2019
HOWTO Lightroom sync with s3 windows/macos

HOWTO Lightroom sync with s3 windows/macos

1. The pitch

As I am an avid photographer & travelling quite a lot, I wanted to sync my Adobe Lightroom library from Macbook to my Microsoft Windows desktop at home with very little/no human intervention. It is also a good thing that both Lightroom versions (mac & windows) share a common file system/structure, this helped alot in synchronizing data from one environment to another.

This HOWTO assumes you already have an AWS account created and running with an IAM user configured.

Put together, the solution would look as such (pardon my poor diagram skills):

macbook pro                     (`  ).                     windows desktop
Couto / webpack.js
Last active Jul 9, 2019
Fetch polyfill with webpack
View webpack.js
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var path = require('path');
var folders = {
APP: path.resolve(__dirname, '../app'),
BUILD: path.resolve(__dirname, '../build'),
BOWER: path.resolve(__dirname, '../bower_components'),
NPM: path.resolve(__dirname, '../node_modules')
atommclain /
Last active Feb 12, 2017
An informal list of ZigBee lights



Name Capabilities Cost lumen output
A19 Connected Bulb Color

Tunable White

$59.95 600 @ 4000K
510 @ 3000K
360 @ 2000K
550 @ 6500K
BR30 Connected Bulb Color

Tunable White

$59.95 630 @ 4000K
538 @ 3000K
376 @ 2000K
581 @ 6500K
GU10 Connected Bulb Color

Tunable White

$59.95 300 @ 4000K
210 @ 3000K
145 @ 2000K
230 @ 6500K
luislavena /
Last active Sep 29, 2019
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

SSL upgrades on and RubyInstaller versions

UPDATE 2016-12-01: Please refer to the official guide instead of this process.

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


dwilliamson / gist:e9b1ba3c684162c5a931
Last active Mar 8, 2019
Workflow for using git subtree on Windows
View gist:e9b1ba3c684162c5a931
To include a library as a subtree, follow these steps:
1. Add the project as a remote
git remote add <remote-name> <source-repo>
2. Fetch the remote
git fetch <remote-name>
3. Add the project
git subtree add --prefix "path/to/project" <remote-name> <remote-branch-name> --squash
Basemm / readLineSync.js
Last active May 17, 2018
Read file line by line "synchronous"
View readLineSync.js
* Read file line by line "synchronous"
* require nodejs ~0.11, run with "node --harmony"
* Example:
* var readLineSync = require('./readLineSync');
rehos /
Last active Feb 22, 2019
Script for XCode 5 to generate fat static library for iOS containing i386, x86_64, armv7, armv7s and arm64 architectures.
# This script was inspired by
# This script uses a temporary folder for intermediate build products.
# Minimum deployment target is 5.0 for 32 bit architectures and for 64 bit architectures it is 7.0.
maicki /
Last active Mar 16, 2019
JavaScript Testing with Grunt, Mocha and Chai

JavaScript Testing with Grunt, Mocha and Chai

In the following post I would like to introduce one way how you can setup your testing workflow for JavaScript development. The central components in the testing environment are Grunt, Mocha and Chai that I will cover from the introduction and installation of each component to the cooperation of all components for the execution of tests.

If you are already an experienced Grunt user and just look for the Gruntfile.js and the Mocha / Chai setup just skip the central components section and skip to the installing components part.

You can find the sample project with all code at GitHub on:

Central Components

View tomcat deploy build.gradle
apply plugin: 'java'
apply plugin : 'war'
group = 'com.cadrlife'
version = '1.0.0'
buildscript {
repositories {
smockle / Flip.css
Created May 9, 2013
Flip demonstrates a flip animation using CSS. Tested in Google Chrome 26, IE 10, and Firefox Nightly.
View Flip.css
/* entire container, keeps perspective */
body .flip-container {
width: 100%;
body .flip-container .flipper {
position: relative;
/* hide back of pane during swap */
You can’t perform that action at this time.