Tested under webpack-dev-server 1.7.0.
- Clone this gist
npm installnpm start- Visit http://localhost:8080 (or http://192.168.x.x:8080) on multiple devices
- Edit entry.js and hit save
| var mongo = require('mongodb') | |
| ,jqd = require('../jquery-jqd').jqd | |
| ,host = process.env['MONGO_NODE_DRIVER_HOST'] != null | |
| ? process.env['MONGO_NODE_DRIVER_HOST'] : 'localhost' | |
| ,port = process.env['MONGO_NODE_DRIVER_PORT'] != null | |
| ? process.env['MONGO_NODE_DRIVER_PORT'] : mongo.Connection.DEFAULT_PORT | |
| ,db = null | |
| ,gConnection = null; | |
| # Hosts file to access US Netflix using Unblock US without their DNS. | |
| 67.216.222.61 movies.netflix.com | |
| 67.216.222.65 cbp-us.nccp.netflix.com | |
| 67.216.222.130 movies1.netflix.com | |
| 67.216.222.104 movies2.netflix.com | |
| 147.255.171.14 netflix.com | |
| 147.255.171.7 moviecontrol.netflix.com | |
| 69.197.181.166 api-global.netflix.com | |
| 67.216.222.83 api-us.netflix.com | |
| 147.255.227.2 api.netflix.com |
| .SVGIcon { | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| /* fix webkit/blink poor rendering issues */ | |
| transform: translate3d(0,0,0); | |
| /* it's better defined directly because of the cascade shit | |
| width: inherit; | |
| height: inherit; |
| <?xml version="1.0"?> | |
| <root> | |
| <devicevendordef> | |
| <vendorname>WT</vendorname> | |
| <vendorid>0x000d</vendorid> | |
| </devicevendordef> | |
| <deviceproductdef> | |
| <productname>TB</productname> | |
| <productid>0x0000</productid> |
Tested under webpack-dev-server 1.7.0.
npm installnpm start| # Auto-vendor-prefixer | |
| # Finds the vendor prefix to use | |
| # MIT license, Author: Wout Mertens | |
| prefix=null | |
| myStyle=document?.head?.style or {} | |
| foundProps={} | |
| newCssProp = (prop) -> | |
| t = foundProps[prop] |
| Thank you for extending an invitation to speak at HighLoad++. I | |
| sincerely appreciate your consideration. | |
| I am an outspoken advocate for LGBTQ equality; this position is deeply | |
| woven into my work. Clojure From The Ground Up is adamantly | |
| LGBT-inclusive. Jepsen is named after a gay pop anthem and includes | |
| dozens of references to same-sex relationships and trans identities. My | |
| talk slides are populated with bearded nuns, genderqueer punks, and | |
| trans hackers. My twitter feed is about as gay as it is possible to get. |
nix-channel and ~/.nix-defexpr are gone. We'll use $NIX_PATH (or user environment specific overrides configured via nix set-path) to look up packages. Since $NIX_PATH supports URLs nowadays, this removes the need for channels: you can just set $NIX_PATH to e.g. https://nixos.org/channels/nixos-15.09/nixexprs.tar.xz and stay up to date automatically.
By default, packages are selected by attribute name, rather than the name attribute. Thus nix install hello is basically equivalent to nix-env -iA hello. The attribute name is recorded in the user environment manifest and used in upgrades. Thus (at least by default) hello won't be upgraded to helloVariant.
@vcunat suggested making this an arbitrary Nix expression rather than an attrpath, e.g. firefox.override { enableFoo = true; }. However, such an expression would not have a key in the user environment, unlike an attrpath. Better to require an explicit flag for this.
TBD: How to deal with search path clashes.
Proposal for this year's Reactive lightning talks @ReactiveConf - If you want to see my talk, star this gist please :-) [Reactive Blogpost][reactive-conference-blogpost]
As a JavaScript developer, could you imagine using something else than Atom, Sublime or other IDE-like text-editors? During their daily work, people wrangle a lot with different applications, editors, windows, browsers and loose a lot of time because of their tools getting in their way.
| // Based on https://gist.github.com/langpavel/b30f3d507a47713b0c6e89016e4e9eb7 | |
| const serializeDate = value => { | |
| if (value instanceof Date) { | |
| return value.toJSON().slice(0, 10) | |
| } else if (typeof value === 'number') { | |
| return Math.trunc(value) | |
| } else if (typeof value === 'string') { | |
| return (new Date(value)).toJSON().slice(0, 10) | |
| } | |
| return null |