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
public class ExternalNews { | |
ObjectReference[] refs; | |
NewsData news; | |
public void addReference(ObjectReference ref) { | |
refs.add(ref); | |
} | |
public Stream<ObjectReference> references() { | |
return StreamSupport.join(movies.stream(), person.stream()); |
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
@Path("/person") | |
@Produces(MediaType.APPLICATION_JSON) | |
public class PersonResource { | |
final private static Logger LOGGER = LoggerFactory.getLogger(PersonResource.class); | |
ArrayList<PersonData> data = new ArrayList<>(); | |
public static class PersonDAO extends OClassDAO { | |
@Override |
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
2015-08-03 05:14:58 +0300 | |
./configure | |
--prefix=/usr/local/Cellar/php55/5.5.27_2 | |
--localstatedir=/usr/local/var | |
--sysconfdir=/usr/local/etc/php/5.5 | |
--with-config-file-path=/usr/local/etc/php/5.5 | |
--with-config-file-scan-dir=/usr/local/etc/php/5.5/conf.d | |
--mandir=/usr/local/Cellar/php55/5.5.27_2/share/man | |
--enable-bcmath |
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
{ | |
"movie_results": [ | |
{ | |
"adult": false, | |
"backdrop_path": "/9KtXu0KGqR5siwUIdYRB2HlOyn1.jpg", | |
"genre_ids": [ | |
35, | |
18 | |
], | |
"id": 332835, |
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
{ | |
"adult": false, | |
"backdrop_path": "/9KtXu0KGqR5siwUIdYRB2HlOyn1.jpg", | |
"belongs_to_collection": null, | |
"budget": 0, | |
"genres": [ | |
{ | |
"id": 18, | |
"name": "Drama" | |
}, |
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
{ | |
"id": 332835, | |
"backdrops": [ | |
{ | |
"aspect_ratio": 1.77777777777778, | |
"file_path": "/9KtXu0KGqR5siwUIdYRB2HlOyn1.jpg", | |
"height": 720, | |
"iso_639_1": null, | |
"vote_average": 5.3125, | |
"vote_count": 1, |
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
ERROR [2016-01-20 06:33:20,121] com.flickbay.util.JSoupHelper: Parsing <http://www.rottentomatoes.com/m/piku/> failed. | |
! java.net.SocketTimeoutException: Read timed out | |
! at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_45] | |
! at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[na:1.8.0_45] | |
! at java.net.SocketInputStream.read(SocketInputStream.java:170) ~[na:1.8.0_45] | |
! at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_45] | |
! at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[na:1.8.0_45] | |
! at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[na:1.8.0_45] | |
! at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[na:1.8.0_45] | |
! at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704) ~[na:1.8.0_45] |
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
using UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
public class CollectLead : MonoBehaviour { | |
public InputField firstName, lastName, phone; | |
// Use this for initialization | |
void Start () { |
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
public class EventHandlerSource : IEventSource | |
{ | |
readonly RuntimeEvent @event; | |
readonly object owner; | |
readonly Delegate eventHandler; | |
static readonly MethodInfo HandleOwnerEventMethodInfo = typeof(EventHandlerSource) | |
.GetMethod("HandleOwnerEvent", BindingFlags.NonPublic | BidningFlags.Instance); | |
event EventHandler handler; | |
int subscriptions = 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
onImageRemove(image) { | |
return ()=> { | |
var imageName = _.capitalize(image); | |
var command = this.context.viewModel[`remove${imageName}Command`]; | |
command.execute(); | |
} | |
} | |
onImageAdd(image) { | |
return (file)=> { |
OlderNewer