Skip to content

Instantly share code, notes, and snippets.

View jabaltorres's full-sized avatar

Jabal Torres jabaltorres

View GitHub Profile
@jabaltorres
jabaltorres / Sublime-keymap.snippets
Created December 12, 2015 10:19
Sublime user key bindings
[
{ "keys": ["ctrl+shift+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"}}
]
@jabaltorres
jabaltorres / index.html
Last active February 5, 2016 23:37
ww-poll-demo
<div class="content">
<div class="img-wrapper">
<span>
<img src="http://placehold.it/400x300&text=reset" alt="" />
</span>
</div><!-- end img-wrapper -->
<div class="poll-wrapper">
<div class="poll-two-result-bar-wrap">
<div class="two-line-result">
<div class="results-text"></div>
@jabaltorres
jabaltorres / jt-data.json
Last active March 21, 2016 02:43
Some test data
{
"thumbnails": [
{ "client" : "Digital Meaning",
"description" : "Digital Meaning",
"role": "UI Design, Web Development",
"imgSrc" : "http://jabaltorres.com/assets/img/thumbnails/Digital-Meaning-thumbnail.png",
"linkHref" : "http://www.jabaltorres.com/digital-meaning/",
"extLink" : false
},
<script>
jQuery(function( $ ){
// using gist as a temporary bandaid
$.getJSON('https://gist.githubusercontent.com/capitalJT/ca53e151727f781fee85/raw/7d09da686dc73a1007abf93518aa391034f70e9b/jt-demos-listing.json', function(data) {
var items = [];
$.each(data, function(idx, obj){
$.each(obj, function(key, value){
// check for external link
var aTarget = null;
@jabaltorres
jabaltorres / adaptive-mega-menu.html
Last active September 6, 2016 15:07
Adaptive Insights Mega Menu
<button type="button" data-toggle="collapse" data-target="#navbar-collapse-1" class="navbar-toggle">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div id="navbar-collapse-1" class="navbar-collapse collapse">
<ul class="nav navbar-nav yamm menu-wrapper">
<li class="ai-list-item nav-link-products dropdown yamm-fw"><a href="/products/adaptive-suite" data-toggle="dropdown" class="dropdown-toggle">Products & Solutions</a>
<ul class="dropdown-menu">
@jabaltorres
jabaltorres / Adaptive-Utility-Nav-Translated.html
Last active March 9, 2017 21:56
Adaptive Utility Nav Translated
<!-- US -->
<ul id="utilityNav">
<li><a class="narrow lang-link" href="/free-trial">Free Trial</a></li>
<li class="uPhone"><a href="tel:8003036346">800.303.6346</a></li>
<li class="uContact"><a href="/about/contact">Contact Us</a></li>
<li class="utilityNav-dropdown uLanguage">
<i class="fa fa-globe" aria-hidden="true"></i>
<span class="location">United States</span>
<ul class="utilityNav-dropdown-list ulangList">
<li><a href="/uk">United Kingdom</a></li>
@jabaltorres
jabaltorres / Contract Killer 3.md
Created May 27, 2017 04:48
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

Quick Command Reference

git add .
git git commit -m "init commit"
git remote add origin https://github.com/capitalJT/new-repo.git
git push origin master

Setup


@jabaltorres
jabaltorres / lorem-grid.scss
Created February 27, 2018 06:17
Custom gird for wordpress development
.grid-container {
width :100%;
max-width: 1240px;
}
.grid-container {
box-sizing: border-box;
/*-- our cleafix hack -- */
.row:before,
.row:after {
@jabaltorres
jabaltorres / windows-commands.md
Last active January 19, 2019 18:47
List of windows commands
Command Decription
call calls a batch file from another one
cd change directory
cls clear screen
cmd start command prompt
color change console color
date show/set date
dir list directory content
echo text output