<div class="wrapper">
<div class="col-4">
<p> Text Paragraph </p>
<i class="iconTech devicon-logo colored"></i>
</div>
</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
| /* './server/routes/index.js' */ | |
| var express = require('express'); | |
| var router = express.Router(); | |
| var passport = require('passport'); | |
| var gravatar = require('gravatar'); | |
| /* GET Home page. */ | |
| router.get('/', function(req, res, next) { | |
| res.render('index', { title: 'Express from Server Folder' }); |
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
| <body class="metro"> | |
| <div class="container"> | |
| <div class="tile bg-darkPink"> | |
| <div class="tile-content icon"> | |
| <i class="icon-cart-2"></i> | |
| </div> | |
| <div class="tile-status"> | |
| <span class="name">Store</span> | |
| </div> | |
| </div> |
git initgit add --allgit commit -m "initial commit"git remote add origin [email protected]:user/git_name.gitgit push -u origin master[or branch name]git pull --rebase-> if your branch is ahead by X ammount of commits
###RVM for Pythonistas, Virtualenv for Rubyists
For Python Developers:
virtualenv,virtualenvwrapperorBuildoutNote: envs = environments For Ruby Developers:rvm
####Installation #####Python
| Info | Command |
|---|---|
Install pip |
$ sudo pip install virtualenvwrapper |
# Command 0
# 2to3 on command line
$ 2to3 -w file.py
# Command 1
# Importing modules
import math
# or, import one item
from math import sin
-
function Player(n) { this.name = n; } -
var fred = new Player("Fred"); -
var bob = new Player("Bob");
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
| .element { | |
| width: -webkit-calc(100% + 20px); | |
| width: -moz-calc(100% + 20px); | |
| width: calc(100% + 20px); | |
| } | |
| /* Example */ | |
| img { | |
| width: calc(25% - 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
| <!-- Funcationality of Controller --> | |
| ``` | |
| def create | |
| @current_user = User.find_by_login_and password( | |
| params[:login], params[:password]) | |
| if @current_user | |
| session[:user_id] = @current_user.id | |
| redirect_to XXX_path | |
| else |
NewerOlder