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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.InteropServices.WindowsRuntime; | |
using Windows.Foundation; | |
using Windows.Foundation.Collections; | |
using Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; | |
using Windows.UI.Xaml.Controls.Primitives; |
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
/** | |
* | |
* @author adamwalsh | |
*/ | |
import java.util.*; | |
public class ArrayWork { | |
/** | |
* @param args the command line arguments | |
*/ |
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
require 'open-uri' | |
content = open('http://usnwc.org/#trail-status').read | |
if content =~ /trailsclosed\.png/ | |
puts "Trails closed!" | |
elsif content =~ /trailsopen\.png/ | |
puts "Trails open!" | |
else | |
puts "Oops, images not found?" | |
end |
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
//inside didFinishLaunchingWithOptions in deleagte | |
if ([PFUser currentUser]) { | |
// Present wall straight-away | |
[self presentWallViewControllerAnimated:NO]; | |
} else { | |
// Go to the welcome screen and have them log in or create an account. | |
[self presentLoginViewController]; | |
} | |
// end |
NewerOlder