View vimeo-downloader.js
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'); |
View clover.xsd
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
elementFormDefault="qualified"> | |
<xs:element name="coverage"> | |
<xs:complexType> | |
<xs:annotation> | |
<xs:documentation> | |
Top-most element describing the coverage report. Contains a | |
project and a test project. | |
</xs:documentation> |
View GamerElement.php
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 |
View gist:4482856
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://woss.name/2005/09/06/bash-completion-for-mac-os-x-open/ | |
if [ "`uname`" = "Darwin" ]; then | |
_open() { | |
local cur prev | |
COMPREPLY=() | |
cur=${COMP_WORDS[COMP_CWORD]} | |
prev=${COMP_WORDS[COMP_CWORD-1]} | |
if [ "${prev}" = -a ]; then | |
local IFS=$'\n' |
View result of "brew doctor"
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
Unbrewed dylibs were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when | |
building Homebrew formulae, and may need to be deleted. | |
Unexpected dylibs: | |
/usr/local/lib/libasprintf.0.0.0.dylib | |
/usr/local/lib/libgettextlib-0.17.dylib | |
/usr/local/lib/libgettextpo.0.4.0.dylib | |
/usr/local/lib/libgettextsrc-0.17.dylib |
View phpunit_output.txt
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.......................... |
View after_fixing.php
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'); |
View e_user_tp.php
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 { |
View ScopeIndentSniff.php
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 | |
*/ |
View SampleWorkflowTest.php
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 | |
{ |
NewerOlder