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
-webkit-font-smoothing: subpixel-antialiased !important; | |
-webkit-perspective: 0px !important; | |
-webkit-backface-visibility: visible !important; | |
font-weight:normal !important; |
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
$ cd /ruta/hacia/su/webroot | |
$ git clone git://git.moodle.org/moodle.git (1) | |
$ cd moodle | |
$ git branch -a (2) | |
$ git branch --track MOODLE_27_STABLE origin/MOODLE_27_STABLE (3) | |
$ git checkout MOODLE_27_STABLE (4) |
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
$.ajax({ | |
url: "languageDropdown.php", | |
data: "contentId=" + contentId, | |
type: "POST" | |
success: function (data) { | |
// What to do when is OK. | |
}, | |
}).done(function() { | |
// What to do when is over. | |
}); |
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
ssh-keygen -R {domain} |
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
tr:nth-child(even) {background: #CCC} | |
tr:nth-child(odd) {background: #FFF} |
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
git clone -b <NOMBRE_BRANCH> --single-branch <URL_REPO> |
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
public function isInDevMode() { | |
return false; // Change it to return 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
sudo chown -R apache:apache /var/www/html | |
o | |
wp-config.php-> define('FS_METHOD', 'direct'); |
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
jQuery('.expire-btn').on('click', function(e) { | |
e.stopImmediatePropagation(); | |
tagID = jQuery(this).attr("data-id"); | |
tagName = jQuery(this).attr("data-name"); | |
if (confirm(ET.delete_confirm)) { | |
jQuery("#" + tagID ).val('1970-01-01'); | |
jQuery("#submit").click(); | |
} else { | |
return false; |
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
http://www.weareo3.com/wordpress-custom-post-type-generator/ |
OlderNewer