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 | |
$client = new Client(); | |
$api = new Api($client); | |
$api->patient()->sendReceiptEmail($practiceId, $appointmentId, $paymentId, '[email protected]'); | |
$api->appointment()->get($practiceId, $appointmentId); |
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
Process: phpstorm [20244] | |
Path: /Applications/PhpStorm.app/Contents/MacOS/phpstorm | |
Identifier: com.jetbrains.PhpStorm | |
Version: 8.0.3 (PS-139.1348) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: phpstorm [20244] | |
User ID: 501 | |
Date/Time: 2015-05-28 20:05:52.713 +0300 |
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
+ (UIImage *)imageNamedWithoutCache:(NSString *)imagePath withMask:(NSString *)maskPath | |
{ | |
UIImage *realImage = [self imageNamedWithoutCache:imagePath]; | |
UIImage *maskImage = [self imageNamedWithoutCache:maskPath]; | |
CGImageRef maskRef = maskImage.CGImage; | |
CGImageRef mask = CGImageMaskCreate(CGImageGetWidth(maskRef), | |
CGImageGetHeight(maskRef), | |
CGImageGetBitsPerComponent(maskRef), |
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
#import "UIScreen+ScreenBounds.h" | |
@implementation UIScreen (ScreenBounds) | |
+ (CGRect)screenBounds | |
{ | |
CGRect screenBounds = [UIScreen mainScreen].bounds; | |
if(NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_7_1){ | |
return screenBounds; |
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
/** | |
ks0066.c - Working with LCD displays on based controllers KS0066 | |
Author: Vitaliy Zhuk | |
*/ | |
#include <util/delay.h> | |
#include "ks0066.h" | |
void lcdInit() |
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
/** | |
ds18b20.c - work with temperature sensor DS18B20 | |
Author: Vitaiy Zhuk | |
*/ | |
#include <util/delay.h> | |
#include "ds18b20.h" | |
/** |
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 Acme\Demo; | |
/** | |
* Parsed from http://timezone.help.ch/ | |
* | |
* @author Vitaliy Zhuk <[email protected]> | |
*/ | |
class CountryContinent |
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 Acme\Demo\Monolog\Handler; | |
use Monolog\Handler\StreamHandler as BaseStreamHandler; | |
use Symfony\Component\Filesystem\Filesystem; | |
/** | |
* Auto create log directory, if directory not found. | |
* The base stream handler in monolog package not auto created |
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 | |
interface iA | |
{ | |
public function someA(); | |
public function thisIs(); | |
} | |
interface iB | |
{ |
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 Acme\DemoBundle\HttpFoundation; | |
use Symfony\Component\HttpFoundation\Response; | |
/** | |
* Response for download excel file | |
*/ | |
class ExcelFileResponse extends Response |
NewerOlder