This file contains hidden or 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="container"> | |
<div class="text"> | |
<h1 class="shimmer">taste</h1> | |
<div class="progress-bar"></div> | |
<p>For everything</p> | |
</div> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Normal_Logo" x="0px" y="0px" width="83.847px" height="91.571px" viewBox="0 0 83.847 91.571" enable-background="new 0 0 83.847 91.571" xml:space="preserve"> | |
<g class="piece purple back"> |
This file contains hidden or 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
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="robbyrussell" | |
# Aliases | |
alias ct="find . -name '._*' -type f -delete -o -name '*.DS_Store' -type f -delete -o -name '.AppleDouble' -type f -delete -o -name 'Thumbs.db' -type f -delete" | |
alias iown="sudo chown -R `whoami` $1" | |
alias zz="ssh -L 15704:127.0.0.1:15704 [email protected]" | |
alias sc=screen |
This file contains hidden or 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 setFixed(modal_element) { | |
modal_element.css({"-webkit-transition": "0", "-moz-transition": "0", "-ie-transition": "0", "-o-transition": "0", "transition": "0"}); | |
modal_element.css({top: "auto", position: "fixed", bottom: 0}); | |
$(window).unbind('scroll'); | |
} | |
function openModal(response) { | |
response.content = "<div class='flamedeer-contest'>" + response.content + "</div>"; | |
$('body').append(response.content); |
This file contains hidden or 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
def is_palindrome(int) | |
int.to_s == int.to_s.reverse | |
end | |
palindromes = [] | |
# start high | |
[*100...1000].reverse.each do |x| | |
[*100...1000].reverse.each do |y| | |
z = x*y |
This file contains hidden or 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 hidden characters
{ | |
"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"*.png", | |
"*.gif", | |
".DS_Store", | |
".rspec", | |
"config.ru", |
This file contains hidden or 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
var Slugify = function() { | |
this.charmap = { | |
'€': 'euro', '₢': 'cruzeiro', '₣': 'french franc', '£': 'pound', | |
'₤': 'lira', '₥': 'mill', '₦': 'naira', '₧': 'peseta', '₨': 'rupee', '₹': 'indian rupee', | |
'₩': 'won', '₪': 'new shequel', '₫': 'dong', '₭': 'kip', '₮': 'tugrik', | |
'₯': 'drachma', '₰': 'penny', '₱': 'peso', '₲': 'guarani', '₳': 'austral', | |
'₴': 'hryvnia', '₵': 'cedi', '¢': 'cent', '¥': 'yen', '元': 'yuan', | |
'円': 'yen', '﷼': 'rial', '₠': 'ecu', '¤': 'currency', '฿': 'baht', | |
"$": 'dollar', | |
'©':'(c)', 'œ': 'oe', 'Œ': 'OE', '∑': 'sum', '®': '(r)', '†': '+', |
This file contains hidden or 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
jQuery.fn.loopy = function(options){ | |
var s = jQuery.extend({ | |
child: 'img', | |
duration: 1500, | |
controls: false, | |
count: function(num){ | |
this.counter = (num) ? num : (this.counter < this.element.length - 1) ? ++this.counter : 0; | |
// num=(!num) ? 1 : num; |
This file contains hidden or 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 Counter(length) { | |
this.length = (typeof length == 'undefined') ? 5 : length; | |
this.iterator = (typeof this.iterator == 'undefined') ? 0 : this.iterator; | |
this.next = function() { | |
return ( this.iterator > this.length) ? this.iterator = 0 : this.iterator++; | |
} | |
this.slide = function() { | |
console.log("IT: "+ this.iterator ); |
This file contains hidden or 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
<?php | |
define( 'DB_HOST', '' ); | |
define( 'DB_NAME', '' ); | |
define( 'DB_TABL', '' ); | |
define( 'DB_USER', '' ); | |
define( 'DB_PASS', '' ); | |
define ( 'E_DATE', 'eventdate' ); | |
class DB_Connection |
This file contains hidden or 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
<?php | |
define( 'DB_HOST', '' ); | |
define( 'DB_NAME', '' ); | |
define( 'DB_USER', '' ); | |
define( 'DB_PASS', '' ); | |
define( 'TBL_CORP_NEWS', 'corporate_news' ); | |
define( 'TBL_CORP_EVNT', 'corporate_events' ); | |
define( 'TBL_GOLF_NEWS', 'golf_news' ); | |
define( 'TBL_GOLF_EVNT', 'golf_events' ); |