This is the sequence of steps to follow to create a root gh-pages branch. It is based on a question at [SO]
cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
| exports.I18n = | |
| en: | |
| title: "Free YouTube video download" | |
| navi: | |
| home: "Home" | |
| howto: "Tutorial" | |
| blog: "Blog" | |
| termsofuse: "Terms of Use" | |
| support: "Support" | |
| imprint: "Imprint" |
| <?php | |
| /** | |
| * @file | |
| * Demo module, Basic Ajax form submit (Ajax framework). | |
| */ | |
| /** | |
| * Implements hook_menu(). | |
| */ |
| <iframe src="http://docs.google.com/gview?url=http://example.com/mypdf.pdf&embedded=true" style="width:100%; height:1000px;" frameborder="0"></iframe> |
| environment = process.env.NODE_ENV || "development"; | |
| var settings = { | |
| development: { | |
| public: {}, | |
| private: {} | |
| }, | |
| staging: { | |
| public: {}, | |
| private: {} |
This is a short overview on how to completely remove any old mysql server installs in OSX and upgrade to MariaDB without conflicts. Things can get a bit weird when you have various old installs of MySQL server floating around, and utilizing homebrew to install and upgrade MariaDB as a drop in replacement for MySQL has worked well, especially if you're used to managing MySQL installs via yum in linux.
Backup all of your current databases with mysqldump
This isn't a tutorial on backups, and there are many ways to do it. You should know how to backup your data anyway. For this example, we'll do a full backup of our InnoDB databases.
| Session.set('modalData', {template: "modal-backups", title: "Backup", files: [{name: "blah", date: new Date()}]}); | |
| $('#myModal').modal(); |
I am running a WordPress multisite network with sub-directory setup. When I check my error.log file, it is full of entries like this one:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'Limit InternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
The problem was, in my case, one specific rewrite rule in the .htaccess file.
This is a very simple method, and for me (as a SysAdmin) it's very practical as I usually make things through SSH terminal.
For me it's never been a problem so far, but one never knows
First we generate the dump itself, for example:
mysqldump -umyuser -pmypass mydatabase > mydumpfile.sql
| <?php | |
| /** | |
| * @author Ivan Melgrati | |
| * @copyright 2018 | |
| */ | |
| function YouTube_Check_ID($videoID) | |
| { | |
| $is_valid = true; |