snipd.net
(Objective C) Play a video in full screen
http://snipd.net/objective-c-play-a-video-in-full-screen
Handy snippets of code. Objective C) NSSortDescriptor to sort strings with numbers numerically. Objective C) Checking If You App Has Been Run Before ». Objective C) Play a video in full screen. July 23, 2011. 1 include MediaPlayer framework in the project. 2 in the view controller header file,. 3 declare the player instance in the controller header file:. On January 1st, 1970. This entry was posted in Objective-C. Or leave a trackback: Trackback URL. Posted October 5, 2012 at 11:36 am. You may use these.
snipd.net
Category Archives: ActionScript
http://snipd.net/category/actionscript
Handy snippets of code. ActionScript 3) Twitter Authentication with Flex Mobile. August 12, 2011. Authenticating against Twitter within a Flex Mobile View. I do all of it within a StageWebView window so I can have them type the pin into the app while seeing it. ActionScript 3) Facebook Auth View. August 12, 2011. Using the Facebook AS3 library to authenticate in a Flex Mobile View. ActionScript) AS2 Draw Circle. August 3, 2011. ActionScript 3) Call function from external SWF in AS3. August 1, 2011. Actio...
snipd.net
Play a movie in fullscreen (Objective-C)
http://snipd.net/play-a-movie-in-fullscreen-objective-c
Handy snippets of code. Java) Operational System Validator. C#) C# LINQ and Extension method continued ». Play a movie in fullscreen (Objective-C). October 6, 2012. In reply to http:/ snipd.net/objective-c-play-a-video-in-full-screen#comment-290. The following snippets show how to play a movie in fullscreen. PlayerView.h / / Created by Ferhat Yildiz / #import Foundation/Foundation.h #import MediaPlayer/MediaPlayer.h @interface PlayerView : MPMoviePlayerViewController @end. Post a Comment Cancel reply.
snipd.net
Category Archives: Bash
http://snipd.net/category/bash
Handy snippets of code. Using PhantomJS to request a web page. December 9, 2012. PhantomJS is a very nice headless browser which uses the WebKit browser engine. It can be used for many purposes. However, I’m going to illustrate PhantomJS by performing a Bing search query and also executing JavaScript code on the page. Libraries such as jQuery can be injected into the page to perform all kinds of [.]. Also posted in JavaScript. Bash) Check if a folder exists. June 6, 2012. Bash) Check if a file exists.
snipd.net
Parsing (X)HTML into a DOM tree in C#
http://snipd.net/parsing-xhtml-into-a-dom-tree-in-c
Handy snippets of code. Alphanumeric/natural sorting in C# using IComparer. Using PhantomJS to request a web page ». Parsing (X)HTML into a DOM tree in C#. December 9, 2012. As a quick alternative to the Html Agility Pack. HTML can be parsed into a DOM tree using the built-in XmlDocument class. The following snippets illustrate HTML parsing in C#. Html head title HTML sample page /title /head body Hi /body /html html head title HTML sample page /title /head body Hello /body /html. You may use these.
snipd.net
Snipd | Handy snippets of code | Page 2
http://snipd.net/page/2
Handy snippets of code. Newer posts ». Java) Java inheritance example. Published by SnipBot 1479 days ago. This example demonstrates advanced object-oriented concepts including inheritance, getters/setters, method overloading and reflection. Read More ». Rarr; Continue Reading. Java) Java data structures example. Published by SnipBot 1479 days ago. Read More ». Rarr; Continue Reading. JavaScript) JavaScript Factory Pattern. Published by SnipBot 1492 days ago. Read More ». Rarr; Continue Reading. In this ...
snipd.net
Category Archives: C
http://snipd.net/category/c
Handy snippets of code. C) Dijkstra’s Shortest Path algorithm. November 9, 2011. Its Dijkstra’s Shortest Path algorithm written in C. Reads from a file the nodes and the connected edges and implements Dijkstra’s algorithm. I am uploading for your comments in my code. Thank you. Files content should be in the format: n N startNode endNode distance startNode endNode distance . . . startNode endNode distance where [.]. C) HTTP POST from Arduino (WiFly Library). July 25, 2011. Bubble sort algorithm in C.
snipd.net
(Java) Operational System Validator
http://snipd.net/java-operational-system-validator
Handy snippets of code. PHP) PHP Miles to Latitude and Miles to Longitude Converter. Play a movie in fullscreen (Objective-C) ». Java) Operational System Validator. October 5, 2012. Check which operating system the program is running. The program explains itself. On January 1st, 1970. This entry was posted in Java. Trackbacks are closed, but you can post a comment. PHP) PHP Miles to Latitude and Miles to Longitude Converter. Play a movie in fullscreen (Objective-C) ». Post a Comment Cancel reply.
SOCIAL ENGAGEMENT