This file contains hidden or 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
[jpeterson@gluster6 glusterd]$ sudo cat glusterd.info | |
UUID=d9150a52-b892-4d23-a45e-b3f837daea3b | |
operating-version=30601 | |
[jpeterson@gluster6 glusterd]$ sudo service glusterd restart | |
Starting glusterd: [FAILED] | |
[jpeterson@gluster6 glusterd]$ sudo nano glusterd.info | |
[jpeterson@gluster6 glusterd]$ sudo cat glusterd.info | |
UUID=d9150a52-b892-4d23-a45e-b3f837daea3b |
This file contains hidden or 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 ZF\OAuth2\Observer; | |
use SplObserver; | |
use SplSubject; | |
class SyslogObserverImpl implements SplObserver | |
{ | |
public function update(SplSubject $subject) |
This file contains hidden or 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 MyCompany; | |
use Zend\Loader\AutoloaderFactory; | |
use Zend\Mvc\Service\ServiceManagerConfig; | |
use Zend\ServiceManager\ServiceManager; | |
error_reporting(E_ALL | E_STRICT); | |
chdir(__DIR__); | |
if (! defined('APPLICATION_ENV')) { |
This file contains hidden or 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
<phpunit bootstrap="./bootstrap.php" colors="true"> | |
<testsuites> | |
<testsuite name="MyCompany Test Suite"> | |
<directory>./MyCompany/Service</directory> | |
</testsuite> | |
</testsuites> | |
<logging> | |
<log type="coverage-html" target="./log/codeCoverage" charset="UTF-8" | |
yui="true" highlight="true" lowUpperBound="50" highLowerBound="80" | |
showUncoveredFiles="false" /> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="ISO-8859-1"> | |
<title>Oauth test</title> | |
<script src="../js/jquery.js"></script> | |
<!-- Latest compiled and minified CSS --> |
This file contains hidden or 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
#!/bin/bash -eux | |
# vi: ts=4 noexpandtab | |
# | |
# Generate a generic Vagrant Box. | |
# | |
# Vagrant images are essentially nothing more than OVA's with extra-metadata. | |
# | |
# We can't use the OVA's for Vagrant since Vagrant uses SSH to modify the instance. | |
# This build step creates a cloud-config ISO so that Cloud-Init will configure | |
# the initial user, creates meta-data that tells Vagrant how to interact with |
This file contains hidden or 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
#!/bin/bash | |
src_dir=$1 | |
src_dir_length=${#src_dir} | |
dest_dir=$2 | |
file_type="ARW" | |
### let's use ufraw-batch. This assumes that you've compiled to the latest ... 0.22 as of this one doesn't cause crappy weirdness with red-spots appearing with under-exposure. | |
# Usage: ./convert_raw_to_jpeg.sh /source/folder /destination/folder | |
# | |
### |
This file contains hidden or 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
### GET WDK for Windows 10: https://developer.microsoft.com/en-us/windows/hardware/windows-driver-kit | |
## Docs for devcon can be found at https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon |
This file contains hidden or 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
/** | |
* Creates an IN() expression with the given arguments. | |
* | |
* @param string $x Field in string format to be restricted by IN() function. | |
* @param mixed $y Argument to be used in IN() function. | |
* | |
* @return Expr\Func | |
*/ | |
public function in($x, $y) | |
{ |
This file contains hidden or 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 Sso\Action; | |
use League\OAuth2\Client\Provider\Facebook; | |
use League\OAuth2\Client\Provider\FacebookUser; | |
use League\OAuth2\Server\Entities\ClientEntityInterface; | |
use League\OAuth2\Server\Repositories\ClientRepositoryInterface; |
OlderNewer