- author: Thiago Andrade thiagoh@gmail.com
- license: GPLv3
- description:
- watches the given paths for changes
- and executes a given command when changes occur
- usage:
- watchfiles <paths...>
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
/* * | |
* @package Joomla.Platform | |
* @subpackage Document | |
* | |
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE | |
*/ | |
defined('JPATH_PLATFORM') or die; |
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({ | |
type: "GET", | |
url: 'steel_agg_bof_flash_en.xml', | |
dataType: "xml", | |
success: xmlParser | |
}); | |
function xmlParser(xml) { | |
$(xml).find("hotspot").each(function() { |
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
function addCircle(options) { | |
$('#clickAreas').append( | |
$('<div/>', { | |
id: options.hotspotid, | |
title: options.title, | |
'class': 'circle', | |
css: { | |
top: options.top+'px', | |
left: options.left+'px', | |
width: options.width+'px', |
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 | |
// PHP Proxy example for Yahoo! Web services. | |
// Responds to both HTTP GET and POST requests | |
// | |
// Author: Jason Levitt | |
// December 7th, 2005 | |
// | |
// Allowed hostname (api.local and api.travel are also possible here) | |
define ('HOSTNAME', 'http://search.yahooapis.com/'); |
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
if ($request_uri = /) { | |
set $test A; | |
} | |
if ($host ~* teambox.com) { | |
set $test "${test}B"; | |
} | |
if ($http_cookie !~* "auth_token") { | |
set $test "${test}C"; |
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
var require = patchRequire(require); | |
var loginAndPreview = function(baseUrl, bundleLocation, test){ | |
casper.start('http://preview.mobify.com/', function suite() { | |
// Add a title comment so that you know what's happening and when | |
casper.test.comment('Lululemon - 2013 Refresh'); | |
// Log out what we are doing |
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
var links = []; | |
var quotes = []; | |
var tempUrl = []; | |
var infos = []; | |
var maxLinks = 10; | |
var firstUrl = 'http://www.imdb.com/search/title?at=0&num_votes=5000,&sort=user_rating,desc&start=1&title_type=tv_infoss'; | |
var newUrl; | |
var x = require('casper').selectXPath; |
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
Microsoft Windows [Version 10.0.10586] | |
[m[32m]9;8;"USERNAME"\@]9;8;"COMPUTERNAME"\ [92mC:\Users\zkr32[90m | |
[90m$[m ]9;12\dir | |
Volume in drive C is Windows | |
Volume Serial Number is A2EF-3521 | |
Directory of C:\Users\zkr32 | |
04/12/2017 04:17 μμ <DIR> . |
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
[37m[40mMicrosoft Windows [Version 10.0.10586] [m | |
[37m[40m [m | |
[32m[40mzkr32@ZKRWS [92m[40mC:\Users\zkr32[37m[40m [m | |
[90m[40m>[37m[40m cd E:\Programming\Android\ReactNative\ZKRTestSharedProject [m | |
[37m[40m [m | |
[32m[40mzkr32@ZKRWS [92m[40mC:\Users\zkr32[37m[40m [m | |
[90m[40m>[37m[40m e: [m | |
[37m[40m |
OlderNewer