⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains 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
<select name="Country"> | |
<option value="" selected="selected">Select Country</option> | |
<option value="United States">United States</option> | |
<option value="United Kingdom">United Kingdom</option> | |
<option value="Afghanistan">Afghanistan</option> | |
<option value="Albania">Albania</option> | |
<option value="Algeria">Algeria</option> | |
<option value="American Samoa">American Samoa</option> | |
<option value="Andorra">Andorra</option> | |
<option value="Angola">Angola</option> |
This file contains 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
new-film.php | |
<?php | |
if(isset($_POST['submit'])) { | |
$mysqli = new mysqli('localhost', 'root', 'root', 'sakila'); | |
$statement = $mysqli->prepare("INSERT INTO film(first_name, last_name) VALUES(?, ?)"); | |
$statement->bind_param('ss', $_POST['first_name'], $_POST['last_name']); | |
$statement->execute(); |
This file contains 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-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>The Basic Bootstrap Setup HTML</title> | |
<link rel="stylesheet" href="css/bootstrap.css"> | |
<link rel="stylesheet" href="css/bootstrap-responsive.css"> | |
<!-- HTML5 shim for IE backwards compatibility --> | |
<!--[if lt IE 9]> |
This file contains 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
{ | |
"folders": | |
[ | |
{ // theme | |
"path": "/C/wamp/www/wordpress/wp-content/themes/twentyeleven", | |
"name": "Twenty Eleven Theme", | |
"file_exclude_patterns":[ | |
"._*", | |
"*.ico", | |
"*.swf" |
This file contains 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
.ir { | |
border: 0; | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
background-color: transparent; | |
} |
This file contains 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-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link rel="stylesheet" href="assets/css/style.css"> | |
</head> | |
<body> | |
this is a test | |
</body> |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+X | delete line |
Ctrl+↩ | insert line after |
Ctrl+⇧+↩ | insert line before |
Ctrl+⇧+↑ | move line (or selection) up |
This file contains 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
* { | |
vertical-align: baseline; | |
font-weight: inherit; | |
font-family: inherit; | |
font-style: inherit; | |
font-size: 100%; | |
outline: 0; | |
padding: 0; | |
margin: 0; | |
} |
This file contains 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
<!--[if lte IE 8]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<link rel="stylesheet" href="/css/ie.css" media="screen" /> | |
<![endif]--> | |
<!--[if lte IE 7]> | |
<link rel="stylesheet" href="/css/ie7.css" media="screen" /> | |
<![endif]--> | |
<!--[if lte IE 6]> | |
<link rel="stylesheet" href="/css/ie6.css" media="screen" /> | |
<![endif]--> |
NewerOlder