This file contains hidden or 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
| go through the steps here: https://fedoraproject.org/wiki/MariaDB | |
| sudo dnf install mariadb-devel | |
| then pip install mysql-python |
This file contains hidden or 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
| python -m sphinx.ext.intersphinx http://xlrd.readthedocs.io/en/latest/objects.inv > log | |
| :func:`xlrd.open_workbook` |
This file contains hidden or 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
| import webdriver from 'selenium-webdriver'; | |
| this.driver = new webdriver.Builder().forBrowser('chrome').build(); | |
| => | |
| var selenium_webdriver_1 = require("selenium-webdriver"); |
This file contains hidden or 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
| sudo apt-get update | |
| sudo apt-get install liabssl-dev libsasl2-dev | |
| then python setup.py install inside incubator-superset |
This file contains hidden or 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
| https://github.com/angular/protractor/issues/4307 | |
| use node 7.10.0 -> browser.pause() works | |
| c -> next | |
| any other versions of Node, browser.pause() wont work |
This file contains hidden or 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
| #{} would escape your json | |
| !{} would not, but not clearly documented |
This file contains hidden or 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
| create an instance in gcloud | |
| you need java | |
| sudo apt install openjdk-8-jre-headless | |
| then following these commands | |
| wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
| sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' |
This file contains hidden or 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
| from tornado.websocket import WebSocketHandler | |
| from tornado.web import Application, RequestHandler | |
| from tornado.ioloop import IOLoop | |
| HTML = """ | |
| <html> | |
| <div id="messages"></div> | |
| <script> | |
| var ws = new WebSocket("ws://localhost:8888/websocket"); |
This file contains hidden or 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
| resolve: { | |
| extensions: ['.js', '.jsx'] | |
| }, |
This file contains hidden or 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
| https://www.tecmint.com/mariadb-master-slave-replication-on-centos-rhel-debian/ | |
| CHANGE MASTER TO MASTER_HOST='10.154.0.2' MASTER_USER='slave' MASTER_PASSWORD='SlavePassword' MASTER_PORT=3306 MASTER_LOG_FILE='mariadb-bin.000001' MASTER_LOG_POS=602 MASTER_CONNECT_RETRY=10; | |
| MASTER_USE_GTID=current_pos is deprecated |