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
| -- login to my local MySql server | |
| mysql -u root -p | |
| -- password: | |
| SHOW databases; | |
| CREATE DATABASE db_name; | |
| USE db_name; | |
| SHOW tables; | |
| CREATE TABLE table_name ( | |
| id int(10) NOT NULL AUTO_INCREMENT, | |
| foreign_key_id int(10), |
Using default Bootstrap 3.0, here's a short CSS snippet to style your login form.
A Pen by Ace Subido on CodePen.
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
| <style type="text/css" src="gauge.css"> | |
| .chart-gauge | |
| { | |
| width: 400px; | |
| margin: 100px auto | |
| } |
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
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.3/nv.d3.min.js"></script> | |
| <script src="https://rawgit.com/enplore/nvd3-charts/master/gauge.js"></script> | |
| <script src="https://rawgit.com/enplore/nvd3-charts/master/gaugeChart.js"></script> | |
| <div id="gauge-chart"> | |
| <svg></svg> | |
| </div> |
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
| Type vimtutor into terminal for a “how to” guide | |
| Try playing VIM Adventures, search for it in Google | |
| Helpful Link | |
| http://www.cs.colostate.edu/helpdocs/vi.html | |
| :q - Quit Editing | |
| :q! - Quit without questioning it | |
| *u - Undo/redo | |
| dw - deletes word starting with the letter where the cursor sits | |
| *o - add new line and enter text |
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 -V // shows 2.7.6 | |
| python3 -V // shows 3.4.0 | |
| django-admin.py version // 1.10.dev20160420170647 |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Bootstrap CDN</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <!-- Bootstrap core CSS --> | |
| <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" media="screen"> |
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
| Javac *.java // compile all java files |