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
// Get Full URL | |
var href = window.location.href; | |
// Get everything before last '/' | |
var baseUrl = href.substr(0, href.lastIndexOf('/')); | |
// Get everything after last '/' | |
var currentPage = href.substr(href.lastIndexOf('/') + 1); | |
// Add Class active to the link if on current page |
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
<form action="/" method="post" enctype="multipart/form-data"> | |
<div class="form-group"> | |
<label for="select_validation">Select Validation: *</label> | |
<select class="form-control" name="select_validation" id="select_validation"> | |
<option value="">Make Selection</option> | |
<option value="selectOne">selectOne</option> | |
<option value="selectTwo">selectTwo</option> | |
<option value="selectThree">selectThree</option> | |
</select> | |
</div> |
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
<div class="column-select" id="select-url"> | |
<select> | |
<option selected>View All Projects</option> | |
<option value="https://sample-url-1.com">Sample URL 1</option> | |
<option value="https://sample-url-2.com">Sample URL 2</option> | |
<option value="https://sample-url-3.com">Sample URL 3</option> | |
</select> | |
</div> |
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
Text in subfolders -r grep -r Walden ~/Documents/* | |
Finds Walden in any file in any subfolder of ~/Documents. | |
Whole words only -w grep -w live | |
Finds only live ; does not find liver , lives , lived , and so on. | |
Case-insensitive text -i grep -i pond | |
Finds pond , POND , or Pond . | |
File names only -l grep -l Walden | |
Finds files containing Walden , but returns only a list of file names. | |
Number of occurrences only -c grep -c Walden | |
Returns the names of files containing Walden and the number of hits in each file. |
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
// The number of spaces a tab is equal to. This setting is overriden | |
// based on the file contents when `editor.detectIndentation` is true. | |
"editor.tabSize": 4, | |
// Insert spaces when pressing Tab. This setting is overriden | |
// based on the file contents when `editor.detectIndentation` is true. | |
"editor.insertSpaces": true, | |
// When opening a file, `editor.tabSize` and `editor.insertSpaces` | |
// will be detected based on the file contents. Set to false to keep |
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
<!-- 2 - COL Responsive : BEGIN --> | |
<tr> | |
<td valign="top" bgcolor="#eeeeee" class="cols-2" style="padding: 10px 30px 25px 30px; background-color: #eeeeee; font-family: Arial, Helvetica, sans-serif;"> | |
<!-- l-col --> | |
<table class="l-col" width="270" align="left"> | |
<tr> | |
<td valign="top" width="100%" style="font-size: 14px; line-height: 16px; color: #222222; padding: 10px 10px 10px 10px"> | |
<img class="center-on-narrow" alt="alt text here" src="http://via.placeholder.com/250x150"> | |
<h3 class="center-on-narrow" style="font-size:16px;">Promo heading here</h3> |
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
<!-- Full Width Content Row : BEGIN --> | |
<td valign="top" bgcolor="#ffffff" valign="top" class="content" style="padding: 0; font-family:Arial, Helvetica, sans-serif; font-size: 16px; line-height:22px; color: #222222;"> | |
XOXO helvetica lumbersexual swag waistcoat schlitz. PBR&B actually cronut hexagon marfa hashtag, snackwave forage freegan gluten-free. Next level selvage bushwick chambray celiac palo santo glossier distillery iPhone asymmetrical farm-to-table pinterest XOXO gentrify. Fashion axe venmo church-key stumptown. | |
</td> | |
<!-- Full Width Content Row : END --> |
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
<!-- Hero Image, Flush : BEGIN --> | |
<tr> | |
<td bgcolor="#ffffff" align="center"> | |
<img src="http://placehold.it/1200x600" width="600" height="" alt="alt_text" border="0" align="center" style="width: 100%; max-width: 600px; height: auto; background: #dddddd; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555; margin: auto;" class="g-img"> | |
</td> | |
</tr> | |
<!-- Hero Image, Flush : END --> |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<head> | |
<meta charset="utf-8"> <!-- utf-8 works for most cases --> | |
<meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine --> | |
<meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely --> | |
<title></title> <!-- The title tag shows in email notifications, like Android 4.4. --> | |
<!-- Web Font / @font-face : BEGIN --> |
NewerOlder