For new versions of Mac OSX (10.12+), you will most likely run into some errors. To avoid that, install XCode found here
https://sourceforge.net/projects/git-osx-installer/files/
git config --global user.name "[Full Name]"
| function hasOverflowScrolling() { | |
| var prefixes = ['webkit', 'moz', 'o', 'ms']; | |
| var div = document.createElement('div'); | |
| var body = document.getElementsByTagName('body')[0]; | |
| var hasIt = false; | |
| body.appendChild(div); | |
| for (var i = 0; i < prefixes.length; i++) { | |
| var prefix = prefixes[i]; |
| /* modernizr-test_position_fixed_ios.js | |
| * Original by Daniel Ott (https://gist.github.com/1333800) | |
| * 3 March 2011 | |
| * Updated by Philipp Söhnlein 3 November 2011 | |
| * Custom Tests using Modernizr's addTest API | |
| */ | |
| /* iOS | |
| * There may be times when we need a quick way to reference whether iOS is in play or not. | |
| * While a primative means, will be helpful for that. |
| /* modernizr-test_position_fixed_ios.js | |
| * Original by Daniel Ott (https://gist.github.com/1333800) | |
| * 3 March 2011 | |
| * Updated by Philipp Söhnlein 3 November 2011 | |
| * Custom Tests using Modernizr's addTest API | |
| */ | |
| /* iOS | |
| * There may be times when we need a quick way to reference whether iOS is in play or not. | |
| * While a primative means, will be helpful for that. |
For new versions of Mac OSX (10.12+), you will most likely run into some errors. To avoid that, install XCode found here
https://sourceforge.net/projects/git-osx-installer/files/
git config --global user.name "[Full Name]"
| var five = require("johnny-five") | |
| // or "./lib/johnny-five" when running from the source | |
| var express = require('express'); | |
| var app = express(); | |
| var value = 0; | |
| // Add headers |
brew| @function linear() { | |
| @return cubic-bezier(0.250, 0.250, 0.750, 0.750); } | |
| @function ease() { | |
| @return cubic-bezier(0.250, 0.100, 0.250, 1.000); } | |
| @function ease-in() { | |
| @return cubic-bezier(0.420, 0.000, 1.000, 1.000); } | |
| @function ease-in-quad() { | |
| @return cubic-bezier(0.550, 0.085, 0.680, 0.530); } |
| 'use strict'; | |
| const autoprefixer = require('autoprefixer'); | |
| const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| const path = require('path'); | |
| const { | |
| CheckerPlugin, | |
| TsConfigPathsPlugin, | |
| } = require('awesome-typescript-loader'); | |
| const HappyPack = require('happypack'); |
| # repair luarocks | |
| sudo rm -rf ~/.cache/luarocks/ | |
| luarocks install loadcaffe | |
| luarocks install cutorch | |
| luarocks install cudnn | |
| luarocks install cunn | |
| # get cudnn (https://developer.nvidia.com/cudnn) and then (assuming cudnn 7.*) ... | |
| git clone https://github.com/soumith/cudnn.torch.git -b R7 && cd cudnn.torch && luarocks make cudnn-scm-1.rockspec && cd .. && rm -rf cudnn.torch |
| ::-webkit-scrollbar{ | |
| height:16px; | |
| overflow:visible; | |
| width:16px; | |
| } | |
| ::-webkit-scrollbar-button{ | |
| height:0; | |
| width:0; | |
| } |