Skip to content

Instantly share code, notes, and snippets.

View nehalist's full-sized avatar

Kevin nehalist

View GitHub Profile
$(function() {
var Login = {
loginButton: $('#login-button'),
loginButtonContent: $('#login-button').html(),
errorContainer: $('#error-container'),
loadingSpinner: $('#loading-spinner'),
showErrorContainer: function(message) {
this.errorContainer.show();
this.errorContainer.html(message);
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 46.7%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
#include <iostream>
#include <stdlib.h>
#include <time.h>
class RandomNumberGenerator {
public:
bool found;
int tries;
int current;
#include <iostream>
#include <stdlib.h>
#include <time.h>
class RandomNumberGenerator {
public:
bool found;
int tries;
int current;
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 46.7%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
<?php
remove_filter('the_content', 'wpautop');
/*
|----------------------------------------------------------
| Sample output
|----------------------------------------------------------
*/
add_shortcode('sample', function($atts, $content = null) {
return '<samp>' . $content . '</samp>';
var app = require('express')()
, server = require('http').Server(app)
, io = require('socket.io')(server)
, Twit = require('twit');
server.listen(8000);
app.get('/', function (req, res) {
res.sendfile(__dirname + '/index.html');
});
"devDependencies": {
"bower": "^1.4.1",
"grunt": "^0.4.5",
"grunt-bower-concat": "^0.4.0",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-concat": "^0.5.1",
"grunt-contrib-csslint": "^0.4.0",
"grunt-contrib-sass": "^0.9.2",
"grunt-contrib-watch": "^0.6.1",
<?php
// WordPress Content Width
// See https://codex.wordpress.org/Content_Width
$content_width = 1000;
// Theme Features
// See https://codex.wordpress.org/Function_Reference/add_theme_support
$theme_support = [
];
/*!
Theme Name: Boilerplate
Theme URI: http://nehalist.io
Version: 1.0.0
Text Domain: boilerplate
Author: Kevin Hirczy
Author URI: http://nehalist.io
Description: ...
Tags:
License: GNU General Public License v2 or later