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 strict'; | |
var mysqlBackup = require('./mysql-backup'); | |
var schedule = require('node-schedule'); | |
schedule.scheduleJob({ hour: 22, minute: 0 }, mysqlBackup); |
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
using System; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.iOS; | |
using YourProject.iOS; | |
using System.ComponentModel; | |
using MonoTouch.UIKit; | |
using MonoTouch.Foundation; | |
using PixateFreestyleLib; | |
using Common; |
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 is an example batch request for app_key GYRCLYSnfHKGlA9iQoYjeVQ0297Fr4kvW5kaZ9Zw, please remember to switch to your own. | |
$url = 'http://staticw2.yotpo.com/batch'; | |
//Building the batch data | |
$data = array('methods' => ' | |
[{"method":"main_widget","params":{"pid":"295823037"}}, | |
{"method":"bottomline","params":{"pid":"295823037", | |
"link":"", |
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
SetEnvIfNoCase Request_URI "^/status\.php" noauth | |
AuthType Basic | |
AuthName "Identify yourself" | |
AuthUserFile /path/to/.htpasswd | |
Require valid-user | |
Order Deny,Allow | |
Deny from all | |
Allow from env=noauth |
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
NewerOlder