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
# This is a template .gitignore file for git-managed WordPress projects. | |
# | |
# Fact: you don't want WordPress core files, or your server-specific | |
# configuration files etc., in your project's repository. You just don't. | |
# | |
# Solution: stick this file up your repository root (which it assumes is | |
# also the WordPress root directory) and add exceptions for any plugins, | |
# themes, and other directories that should be under version control. | |
# | |
# See the comments below for more info on how to add exceptions for your |
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
(function($){ | |
$.fn.wedgeCountdown = function(options) { | |
//set default options | |
var defaults = { | |
date : null, | |
showSeconds : true, | |
complete : null, | |
completeText: "Timer done!" |
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
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MYSQL driver | |
# gem install mysql2 | |
# | |
# Ensure the MySQL gem is defined in your Gemfile | |
# gem 'mysql2' | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html |
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
class DeviseCreateUsers < ActiveRecord::Migration | |
def self.up | |
create_table(:users) do |t| | |
## Database authenticatable | |
t.string :email, :null => false, :default => "" | |
t.string :encrypted_password, :null => false, :default => "" | |
## Recoverable | |
t.string :reset_password_token | |
t.datetime :reset_password_sent_at |
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
# show current page class in main container | |
togglePageClass = (currentPage) -> | |
currentTemplate = Meteor.render -> | |
currentPage | |
# currentTemplate = Meteor.render -> | |
# Template.About() | |
$pageContainer = $('.main-content') |
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
<style> | |
#smarty_debug { | |
position: fixed; | |
bottom: 0; | |
right: 0; | |
background: rgba(237, 241, 241, .9); | |
overflow: scroll; | |
height: 100%; | |
width: 20%; | |
border-left: 1px solid white; |
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
// this works as expected | |
describe("github test", function() { | |
var res; | |
res = {}; | |
before(function(done) { | |
chai.request(githubReqObj.url).get('').req(function(req) { | |
req.set({ | |
'Accept': 'application/vnd.github.beta+json', | |
'User-Agent': 'A test application for homebrew cask dotfile' | |
}); |
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
# Generated by cask-dotfile-generator | |
# https://github.com/seethroughtrees/brew-cask-dotfile-generator | |
# Make sure we're using the latest Homebrew | |
brew update | |
# Upgrade any already-installed formulae | |
brew upgrade |
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
#!/usr/bin/env bash | |
# Generated by cask-dotfile-generator | |
# Created by: @seethroughtrees | |
# https://github.com/seethroughtrees/brew-cask-dotfile-generator | |
# Make sure we’re using the latest Homebrew | |
brew update |
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
# Generated by cask-dotfile-generator | |
# Created by: @seethroughtrees | |
# https://github.com/seethroughtrees/brew-cask-dotfile-generator | |
install bash | |
install bash-completion | |
install brew-cask | |
install casperjs | |
install cscope |
OlderNewer