View my.keybase.io
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
### Keybase proof | |
I hereby claim: | |
* I am raramuridesign on github. | |
* I am tripza (https://keybase.io/tripza) on keybase. | |
* I have a public key ASBmsmW02_Cm50a_v2a1_dvjBz8ceaVbt2-M5gYgtWhseAo | |
To claim this, I am signing this object: |
View wp-sql-replace-url
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
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl'); |
View timezones-simple
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
Select=Please Select a Time Zone | |
(GMT) Casablanca=(GMT) Casablanca | |
(GMT) Coordinated Universal Time=(GMT) Coordinated Universal Time | |
(GMT) Dublin, Edinburgh, Lisbon, London=(GMT) Dublin, Edinburgh, Lisbon, London | |
(GMT) Monrovia, Reykjavik=(GMT) Monrovia, Reykjavik | |
(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna=(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna | |
(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague=(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague | |
(GMT+01:00) Brussels, Copenhagen, Madrid, Paris=(GMT+01:00) Brussels, Copenhagen, Madrid, Paris | |
(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb=(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb | |
(GMT+01:00) West Central Africa=(GMT+01:00) West Central Africa |
View gist:8858597
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
Joomla 1.5 Logout Link | |
<?php | |
$returnURL = base64_encode(JURI::root() . ""); | |
$user =& JFactory::getUser(); | |
echo 'Hi,'.$user->username; | |
?> | |
<a href="index.php?option=com_user&task=logout&return=<?php echo $returnURL; ?>"> | |
<input type="button" name="Submit" class="button" value="Logout"></a> |
View gist:8644087
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
-- Use this to replace the session table if its locked | |
-- Table structure for table `jos_session` | |
-- | |
CREATE TABLE IF NOT EXISTS `jos_session` ( | |
`username` varchar(150) DEFAULT '', | |
`time` varchar(14) DEFAULT '', | |
`session_id` varchar(200) NOT NULL DEFAULT '0', | |
`guest` tinyint(4) DEFAULT '1', | |
`userid` int(11) DEFAULT '0', |
View chronoforms-boostrap.js
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
window.addEvent('domready', function(){ | |
var frontforms_css, template_css, bootstrap_css; | |
// remove ChronoForms CSS | |
frontforms_css = $$('link[href$="frontforms.css"]')[0]; | |
frontforms_css.setProperty('href', ''); | |
// move bootstrap.css | |
template_css = $$('link[href$="template.css"]')[0]; | |
bootstrap_css = new Element('link', | |
{ | |
type: 'text/css', |
View country-lists.php
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
$countrylist = array( | |
"Afghanistan"=>"Afghanistan", | |
"Albania"=>"Albania", | |
"Algeria"=>"Algeria", | |
"Antigua and Barbuda"=>"Antigua and Barbuda", | |
"Argentina"=>"Argentina", | |
"Armenia"=>"Armenia", | |
"Australia"=>"Australia", | |
"Austria"=>"Austria", | |
"Azerbaijan"=>"Azerbaijan", |
View t3-logo-module
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
<fieldset name="theme_params" label="T3_THEME_LABEL" description="T3_THEME_DESC"> | |
<field name="logotype" type="list" default="text" | |
label="T3_THEME_LOGOTYPE_LABEL" | |
description="T3_THEME_LOGOTYPE_DESC" > | |
<option value="text">T3_THEME_LOGOTYPE_TEXT</option> | |
<option value="image">T3_THEME_LOGOTYPE_IMAGE</option> | |
<option value="image">T3_THEME_LOGOTYPE_MODULE</option> | |
</field> | |
</fieldset> |
View vcard_example.php
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 | |
/* | |
* Filename.......: vcard_example.php | |
* Author.........: Troy Wolf [troy@troywolf.com] | |
* Last Modified..: 2005/07/14 13:30:00 | |
* Description....: An example of using Troy Wolf's class_vcard. | |
*/ | |
/* | |
Modify the path according to your system. |
View class_vcard.php
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 | |
/* | |
* Filename.......: class_vcard.php | |
* Author.........: Troy Wolf [troy@troywolf.com] | |
* Last Modified..: 2005/07/14 13:30:00 | |
* Description....: A class to generate vCards for contact data. | |
*/ | |
class vcard { | |
var $log; | |
var $data; //array of this vcard's contact data |
NewerOlder