-
Simplenote - Hype 2
- Monosnap
- PopClip
- Soulver
- Xcode
- Gemini
- Patterns
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 | |
class Default_Form_User extends Zend_Form | |
{ | |
public function init() | |
{ | |
// Use the init() method to generate your form | |
$this->addElement('text', 'id', array( | |
'label' => 'Id', |
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
<dl> | |
<dt><label for="username">Username:</label></dt> | |
<dd> | |
<input type="text" id="username" name="username" /> | |
<label for="username" class="instructions">Please enter your username.</label> | |
</dd> | |
</dl> |
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 | |
$options = array( | |
'loginId' => 'Authorize.net Login ID', | |
'transactionKey' => 'Authorize.net Transaction Key', | |
'mode' => 'test' | |
); | |
$gateway = Galahad_Payment::factory('AuthorizeNet', $options); | |
$customer = new Galahad_Payment_Customer(array( | |
'firstName' => 'John', |
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
RewriteCond %{DOCUMENT_ROOT}/css/main.min.css -f | |
RewriteRule ^css/main\.css$ css/main.min.css |
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 | |
/* | |
Template Name: Portfolio | |
*/ | |
?> | |
<?php global $woo_options; ?> | |
<?php get_header(); ?> |
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 | |
/* | |
This User model handles everything related to users. Most of the code is | |
ommitted, because it's not relevant to this example. | |
*/ | |
class User | |
{ | |
public static function loadUserByCredentials($username, $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
<?php | |
if (!function_exists('http_response_code')) { | |
function http_response_code($code = null) | |
{ | |
static $defaultCode = 200; | |
if (null != $code) { | |
switch ($code) { | |
case 100: $text = 'Continue'; break; // RFC2616 |
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 | |
function password_parts_message($password) { | |
$upper = 0; | |
$upperLetters = array(); | |
$lower = 0; | |
$numbers = 0; | |
$special = 0; | |
$length = strlen($password); |
I hereby claim:
- I am inxilpro on github.
- I am inxilpro (https://keybase.io/inxilpro) on keybase.
- I have a public key whose fingerprint is 0ADB 08AD B1C9 8E2C 0B7B 9C63 D03A 8228 B5A7 6AC1
To claim this, I am signing this object:
OlderNewer