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
// 1. Open the browser developper console on the network tab | |
// 2. Start the video | |
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL | |
// 4. Run: node vimeo-downloader.js "<URL>" | |
// (done automatically now) 5. Combine the m4v and m4a files with mkvmerge | |
const fs = require('fs'); | |
const url = require('url'); | |
const https = require('https'); | |
const { exec } = require('child_process'); |
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 | |
use QATools\QATools\HtmlElements\Element\AbstractElementContainer; | |
use QATools\QATools\HtmlElements\Element\Link; | |
use QATools\QATools\HtmlElements\Element\TextBlock; | |
/** | |
* @find-by('css' => 'li.gamer') | |
*/ | |
class GamerElement extends AbstractElementContainer |
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
[?1049h[1;30r[4l[30;1H(B[m[37m[40m(B[m[39;49m | |
[K | |
[?1049l[?1001s[?1002h[?1049h[1;30r[4l[?1h=(B[m[39m[49m[1;30r[H[2J[1;1H[30m[46m [----] 0 L:[ 1+ 0 1/ 1] *(0 / 0b) <EOF>[K | |
[37m[44m[K | |
[K | |
[K | |
[K | |
[K | |
[K | |
[K |
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
→ /usr/local/php-7.0/bin/php ~/.composer/vendor/bin/phpunit | |
PHPUnit 4.6.10 by Sebastian Bergmann and contributors. | |
Configuration read from /mnt/hd/home/alex/web/g/_other/PHP_CodeSniffer/phpunit.xml | |
................................S...........................SS. 63 / 222 ( 28%) | |
............................................................... 126 / 222 ( 56%) | |
.........F......F.............................................. 189 / 222 ( 85%) | |
......S.......................... |
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 | |
class FedExShippingQuotingEngine extends ShippingQuoteEngine | |
{ | |
function GetTrack($tracking_number) | |
{ | |
$path_to_wsdl = realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR . $this->GetWsdlFolder() . DIRECTORY_SEPARATOR.'TrackService_v9.wsdl'; | |
ini_set('soap.wsdl_cache_enabled', '0'); |
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 | |
defined('FULL_PATH') or die('restricted access!'); | |
/** | |
* Extends default UsersTagProcessor class | |
* | |
*/ | |
class EUserTagProcessor extends UsersTagProcessor { |
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 | |
/** | |
* Magento_Sniffs_WhiteSpace_ScopeIndentSniff | |
* | |
* @category CodeSniffer | |
* @package CodeSniffer_Magento | |
* @author Volodymyr Fesko <volodymyr.fesko@smile.fr> | |
* @copyright 2014 Smile | |
*/ |
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 | |
namespace InPortal\Modules\Custom\tests; | |
use Behat\Mink\Element\NodeElement; | |
use InPortal\Core\kernel\tests\BrowserTestCase; | |
class SampleWorkflowTest extends BrowserTestCase | |
{ |
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
Array | |
( | |
[Illuminate\Foundation\Application] => app | |
[Illuminate\Console\Application] => artisan | |
[Illuminate\Auth\AuthManager] => auth | |
[Illuminate\Auth\Reminders\ReminderRepositoryInterface] => auth.reminder.repository | |
[Illuminate\View\Compilers\BladeCompiler] => blade.compiler | |
[Illuminate\Cache\CacheManager] => cache | |
[Illuminate\Cache\Repository] => cache.store | |
[Illuminate\Config\Repository] => config |
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 | |
class PrivateBase | |
{ | |
private $privateProperty = 5; | |
private function privateMethod() | |
{ | |
echo 'PrivateBase:'.$this->privateProperty; |
NewerOlder