https://github.com/lerna/lerna
lerna init --independent
- create lerna file. Flag independent
defines if all packages should be versioned separatly.
lerna bootstrap --<flags>
- runs npm i && npm run prepare
on all packages
document.dispatchEvent(new CustomEvent('MyInjectedEvent', { detail: window.layoutService })); |
# Perform | |
openssl x509 -noout -modulus -in cert.crt | openssl md5 | |
openssl rsa -noout -modulus -in privkey.txt | openssl md5 |
https://github.com/lerna/lerna
lerna init --independent
- create lerna file. Flag independent
defines if all packages should be versioned separatly.
lerna bootstrap --<flags>
- runs npm i && npm run prepare
on all packages
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
!#/bin/bash | |
git config --global commit.gpgsign false |
var glob = require('glob'); | |
var path = require('path'); | |
module.exports = function(app) { | |
var ds = app.dataSources['automailer-db'] | |
var files = glob.sync(path.join(__dirname, '..', '..', '/common/models/*.json')) | |
files.forEach(function(file) { | |
var modelDefinition = require(file) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
If you're looking at this in 2016, I strongly recommend investigating real headless Chrome: https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
#If you're on Ubuntu or working with a Linux VM...
SSH into your server as a root or do sudo -i.
# Make sure you have python and virtualenv installed | |
# You can refer to this gist https://gist.github.com/indrasantosa/521c890b4f82d30365f77e109c51b39e | |
# Install dependencies | |
sudo apt-get install build-essential libssl-dev libffi-dev python-dev libgmp3-dev libpq-dev python-dev | |
sudo pip install cryptography pyopenssl ndg-httpsclient pyasn1 | |
# Download and install pgadmin | |
wget https://ftp.postgresql.org/pub/pgadmin3/pgadmin4/v1.0/pip/pgadmin4-1.0-py2-none-any.whl | |
pip install pgadmin4-1.0-py2-none-any.whl |