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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This example code is in the Public Domain (or CC0 licensed, at your option.) | |
Unless required by applicable law or agreed to in writing, this | |
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | |
CONDITIONS OF ANY KIND, either express or implied. | |
*/ | |
/**************************************************************************** | |
* | |
* This file is for gatt server. It can send adv data, be connected by client. |
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') | |
}; |
##Philips
###Hue http://www2.meethue.com/en-us/the-range/hue/
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 | ColorTunable White | $59.95 | 300 @ 4000K 210 @ 3000K 145 @ 2000K 230 @ 6500K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Read file line by line "synchronous" | |
* | |
* require nodejs ~0.11, run with "node --harmony" | |
* | |
* Example: | |
* | |
* var readLineSync = require('./readLineSync'); | |
* | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script was inspired by http://blog.diogot.com/blog/2013/09/18/static-libs-with-support-to-ios-5-and-arm64/ | |
# | |
# 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. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin : 'war' | |
group = 'com.cadrlife' | |
version = '1.0.0' | |
buildscript { | |
repositories { | |
mavenCentral() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* entire container, keeps perspective */ | |
body .flip-container { | |
width: 100%; | |
} | |
body .flip-container .flipper { | |
position: relative; | |
} | |
/* hide back of pane during swap */ |
NewerOlder