A collection of simple tips to help up your jQuery game.
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
# Local reset: | |
git reset --hard fj5789sufj | |
# Remote reset: | |
git push -f origin fj5789sufj:master |
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
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | |
██ ██ | |
█▌ - FUN ON THE TERMINAL - █▌ | |
█▌ PUBLIC TELNET ASCII ART, GAMES, ETC (ALL OSes) █▌ | |
█ ▐▌ | |
█ ▐▌ | |
█ Connect to other servers through telnet to view their animated ASCII art, ▐▌ | |
█ games, etc they offer the public. If no port is specified than it is the ▐▌ | |
█ default port 23; you don't need to specify it. ▐▌ | |
█ ▐▌ |
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
[{"value":"ACURA","title":"Acura","models":[{"value":"CL_MODELS","title":"CL Models (4)"},{"value":"2.2CL","title":" - 2.2CL"},{"value":"2.3CL","title":" - 2.3CL"},{"value":"3.0CL","title":" - 3.0CL"},{"value":"3.2CL","title":" - 3.2CL"},{"value":"ILX","title":"ILX"},{"value":"INTEG","title":"Integra"},{"value":"LEGEND","title":"Legend"},{"value":"MDX","title":"MDX"},{"value":"NSX","title":"NSX"},{"value":"RDX","title":"RDX"},{"value":"RL_MODELS","title":"RL Models (2)"},{"value":"3.5RL","title":" - 3.5 RL"},{"value":"RL","title":" - RL"},{"value":"RSX","title":"RSX"},{"value":"SLX","title":"SLX"},{"value":"TL_MODELS","title":"TL Models (3)"},{"value":"2.5TL","title":" - 2.5TL"},{"value":"3.2TL","title":" - 3.2TL"},{"value":"TL","title":" - TL"},{"value":"TSX","title":"TSX"},{"value":"VIGOR","title":"Vigor"},{"value":"ZDX","title":"ZDX"},{"value":"ACUOTH","title":"Other Acura Models"}]},{"value":"ALFA","title":"Alfa Romeo","models":[{"value":"ALFA164","title":"164"},{"value":"ALFA8C","title":"8C Competizione" |
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
<?php | |
session_start(); | |
// ***************************************** // | |
// ********** DECLARE VARIABLES ********** // | |
// ***************************************** // | |
$username = 'username'; | |
$password = 'password'; |
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
var panel = new Ext.form.FormPanel({ | |
title: 'Example', | |
width: 350, | |
items: [], | |
listeners: { | |
add: function(me, component, index) { | |
component.on('change', function(f,n,o) { | |
alert('detected! '+f.label+' value changed from '+o+' to '+n); | |
console.log(component.startValue); | |
}); |
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
# Locate the 'Info.plist' by right clicking app and 'Show Package Contents' | |
# Add this just before the closing of the `</dict>` tag near where you see | |
# something similar to `<string>MainMenu</string><key>NSPrincipalClass</key>` | |
<key>LSUIElement</key> | |
<true/> |
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 python | |
""" Convert values between RGB hex codes and xterm-256 color codes. | |
Nice long listing of all 256 colors and their codes. Useful for | |
developing console color themes, or even script output schemes. | |
Resources: | |
* http://en.wikipedia.org/wiki/8-bit_color | |
* http://en.wikipedia.org/wiki/ANSI_escape_code |
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
<!--[if lte IE 6]> | |
<div style="background-color:#FFFFCC;padding:15px;border:solid 1px #000000;margin-bottom:20px;"> | |
<h1 style="color:#000000;margin-bottom:10px;">Warning - Unsupported Browser</h1> | |
<p>You are using an outdated version of Internet Explorer that has security issues and does not support global web standards. To ensure you have a better user experience online, across all sites (that includes capitolsales.com), we recommend that you upgrade <a class="getie7" href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx" target="_blank">your version of Internet Explorer</a> or choose any of these <strong>other excellent browsers</strong>: <a href="http://www.opera.com/download/" target="_blank">Opera</a>, <a href="http://www.mozilla.com/firefox/" target="_blank">Firefox</a>, <a href="http://www.apple.com/safari/download/" target="_blank">Safari</a> or <a href="http://www.google.com/chrome" target="_blank">Chrome</a>. It's free!</p> | |
</div> | |
<![endif]--> |
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 millisecondsToStr (milliseconds) { | |
// TIP: to find current time in milliseconds, use: | |
// var current_time_milliseconds = new Date().getTime(); | |
function numberEnding (number) { | |
return (number > 1) ? 's' : ''; | |
} | |
var temp = Math.floor(milliseconds / 1000); | |
var years = Math.floor(temp / 31536000); |