I hereby claim:
- I am jslatts on github.
- I am jslatts (https://keybase.io/jslatts) on keybase.
- I have a public key whose fingerprint is BEAC D369 6650 0EA1 E5BD 8E0A BABD ED49 FC7B 0E86
To claim this, I am signing this object:
srcdir = '.' | |
blddir = 'build' | |
VERSION = '0.0.1' | |
def set_options(opt): | |
opt.tool_options('compiler_cxx') | |
def configure(conf): | |
conf.check_tool('compiler_cxx') | |
conf.check_tool('node_addon') |
ReactSiteConfiguration.Configuration.AddScriptWithoutTransform("~/wwwroot/ng-server.bundle.js"); | |
ReactSiteConfiguration.Configuration.JsonSerializerSettings = new Newtonsoft.Json.JsonSerializerSettings | |
{ | |
ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore, | |
}; | |
// Don't use slower IE engine | |
ReactSiteConfiguration.Configuration.AllowMsieEngine = false; |
// Example of usage | |
import { selectors } from './rootReducer'; | |
import { selectors } from '../../reducers/rootReducer'; | |
const mapStateToProps = (state: State, ownProps: any) => ({ | |
theseObjects: selectors.getTheseObjects(state), | |
thoseObjects: selectors.getThoseObjects(state), | |
showSomethinginUi: selectors.getSomethingFromUiSelectors(state), |
// converts commonJS requires to es6 imports | |
// var foo = require('foo'); | |
// -> | |
// import foo from 'foo'; | |
// | |
// jscodeshift -t requiresToImports.js src/**/*.js* | |
'use strict'; | |
module.exports = function(fileInfo, api) { | |
var j = api.jscodeshift; |
Data failed to compile: | |
---------- | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/salt/state.py", line 2293, in call_highstate | |
top = self.get_top() | |
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1880, in get_top | |
return self.merge_tops(tops) | |
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1814, in merge_tops | |
top[env][tgt] = ctop[env][tgt] | |
TypeError: list indices must be integers, not str |
Currently we can do this for file system mapping: | |
file_roots: | |
base: | |
- /srv/salt/base | |
dev: | |
- /srv/salt/dev | |
qa: | |
- /srv/salt/qa | |
prod: |
Processing 1 | |
Processing 2 | |
Processing 3 | |
Processing 4 | |
Processing 5 | |
[Error: Exploding on 5] | |
Processing 6 | |
Processing 7 | |
Processing 8 | |
Processing 9 |
I hereby claim:
To claim this, I am signing this object:
#!py | |
def run(): | |
''' | |
Manage sudo enabled user adds/removes | |
''' | |
users_root = [] | |
if 'users_grp1' in pillar: | |
users_root = users_root + pillar['users_grp1'] |
Installing node couchbase driver | |
apt-get install build-essential | |
apt-get install autoconf | |
apt-get install libtool | |
apt-get install libev-dev | |
git clone git://github.com/couchbase/libcouchbase.git |