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
<snippet> | |
<content><![CDATA[ | |
class ${1:TABLENAME}TableSeeder extends Seeder { | |
public function run() | |
{ | |
\$${1} = [ | |
${2} | |
]; |
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> | |
<title>Todo App - Super simple Todo App with Backbone JS</title> | |
<meta charset="utf-8" /> | |
<style> | |
#todoapp ul { | |
list-style-type: none; | |
} |
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
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
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> | |
<title>Responsive Image</title> | |
<meta charset="utf-8" /> | |
<style> | |
#wrapper{ | |
border: 1px solid #ccc; | |
width: 80%; | |
margin:20px; |
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
VIM: | |
moving: | |
gg - beginning of file | |
G - end of file | |
$ - end of line | |
^ - beginning of line | |
Basic Editing: |
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
Cross Browser Testing Resources: | |
Mozilla addons: | |
- colorzilla | |
https://addons.mozilla.org/en-us/firefox/addon/colorzilla/ | |
- MeasureIt | |
https://addons.mozilla.org/en-us/firefox/addon/measureit/?src=search |
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
Responsive web design Myth: | |
1: Fluid Grids (not liquid layout) | |
-set html font size for browser consistency | |
html{ | |
font-size:16px; | |
} | |
- 10 is good divider so |
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> | |
<title>custom list styling</title> | |
<meta charset="utf-8" /> | |
<style> | |
#wrapper{ | |
background: #eee; | |
width: 80%; | |
border: 1px solid #ccc; |
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
How to set virtual host in windows 7: | |
1: C:\xampp\apache\conf\extra\httpd-vhosts.conf | |
add below lines: | |
<VirtualHost *:80> | |
DocumentRoot "C:\xampp\htdocs\l3.2\public" | |
ServerName "site.dev" | |
</VirtualHost> |
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
How to use git | |
git init | |
git status | |
git add . | |
git commit -m "my 1st commit" | |
git log | |
sign in or create your GitHub account. | |
git remote add origin git@github.com:hemantajax/try_git.git | |
git push -u origin master |