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 <Foundation/Foundation.h> | |
int main (int argc, const char * argv[]) { | |
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; | |
const char *monthArray[12] = {"January", "February", "March", "April", | |
"May", "June", "July", "August", | |
"September", "October", "November", "December"}; | |
if (argc > 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
package com.pocketgator.placeholder.common; | |
import java.io.File; | |
import java.net.URL; | |
import java.util.ArrayList; | |
import java.util.List; | |
import net.java.ao.RawEntity; | |
public class PackageScanner { |
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 | |
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
namespace Udevi\ChurchBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; |
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
bazinga_faker: | |
orm: doctrine | |
entities: | |
Udevi\ChurchBundle\Entity\Person: | |
number: 25 | |
custom_formatters: | |
LastName: { method: lastName } | |
FirstName: { method: firstName } | |
Active: { method: boolean, parameters: [100]} | |
BirthDay: { method: dateTimeThisCentury } |
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
{ | |
"version": "1.0.0-*", | |
"buildOptions": { | |
"debugType": "portable", | |
"emitEntryPoint": true | |
}, | |
"dependencies": {}, | |
"frameworks": { | |
"netcoreapp1.0": { | |
"dependencies": { |
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
onFileChosen(event: Event) { | |
const pickedFile = (event.target as HTMLInputElement).files[0]; | |
if (!pickedFile) { | |
return; | |
} | |
let originalOrientation = 1; | |
ImageHelper.getOrientation(pickedFile, (orientation) => { | |
console.log('Orientation', orientation); |