Skip to content

Instantly share code, notes, and snippets.

View gkobilansky's full-sized avatar

Gene Kobilansky gkobilansky

View GitHub Profile
@gkobilansky
gkobilansky / .gitignore
Last active August 29, 2015 14:03 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
var init = function () {
var closure = true;
var stillClosure = function () {
console.log(closure);
}
}
@gkobilansky
gkobilansky / _best-practices.scss
Last active April 20, 2016 15:22
Pacem Grid System
// alternating grid system
div.row:nth-of-type(odd) {
&:before {
@include make-md-column(2);
@include make-md-column-offset(2);
}
div.main-benefit {
text-align: left;
@include make-md-column(5);
@include make-md-column-push(2);
<div class="container best-practice">
<div class="row">
<div class="main-benefit">
<strong>Personalize your online safe deposit based on your needs and desires.</strong>
Use the organizational system that fits better with your needs and desires, by creating personalized folders inside the pre-established bins, which will allow you to easily locate and find your documents.</div>
</div>
<div class="row">
<div class="main-benefit">
<strong>Backup your information without risking aging and damaging your documentation.</strong>
Storing a backup of your documents in your virtual strongbox will allow you to conserve them in an optimal state without worrying about the vulnerabilities of physical damage.
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400';
form.wufoo {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
background-color: #58585b;
color: #fff;
}
label.desc, form li div label {
font-weight: 300;
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400';
form.wufoo {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
}
label.desc, form li div label {
font-weight: 300;
width: 125px;
}
// API call for Send Text plugin
// Based on this post, http://stackoverflow.com/questions/5004233/jquery-ajax-post-example-with-php?rq=1
// Variable to hold request
var request;
// Bind to the submit event of our form
$("#send-text").submit(function(event){
// Prevent default posting of form - put here to work in case of errors
event.preventDefault();
var events = require('events');
var request = require('request');
var Trello = require('node-trello');
// Fill these in
var trelloKey = //AppKEY;
var trelloToken = //UserToken;
var idBoard = //BoardId;
var trello = new Trello(trelloKey, trelloToken);
/* Animations
* ------------------------------------------------------- */
var ssAnimations = function() {
if (!$("html").hasClass('no-cssanimations')) {
$('.animate-this').waypoint({
handler: function(direction) {
var defAnimationEfx = cfg.defAnimation;
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400,700';
form.wufoo {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
width: 98%;
}
label.desc, form li div label {
font-weight: 300;
}