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
| <MSDeployPublishMethod>RemoteAgent</MSDeployPublishMethod> | |
| <AuthType>NTLM</AuthType> |
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
| Get-Package | Uninstall-Package -RemoveDependencies |
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
| #r "Newtonsoft.Json" | |
| #r "System.Configuration" | |
| #r "Microsoft.IdentityModel.Clients.ActiveDirectory.dll" | |
| using System.Net; | |
| using System.Configuration; | |
| using System.Security.Claims; | |
| using System.Net.Http.Headers; | |
| using Newtonsoft.Json; | |
| using Microsoft.IdentityModel.Clients.ActiveDirectory; |
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 Foundation; | |
| using UIKit; | |
| using TwinCoders.TouchUtils.Extensions; | |
| using CoreGraphics; | |
| namespace SalesForce.Touch.Views | |
| { | |
| public abstract partial class ParentViewController | |
| { |
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
| public const int KEY_SIZE = 16; | |
| public byte[] Encrypt (string password, string input) | |
| { | |
| var sha256CryptoServiceProvider = new SHA256CryptoServiceProvider(); | |
| var hash = sha256CryptoServiceProvider.ComputeHash(Encoding.UTF8.GetBytes(password)); | |
| var key = new byte[KEY_SIZE]; | |
| var iv = new byte[KEY_SIZE]; | |
| Buffer.BlockCopy(hash, 0, key, 0, KEY_SIZE); |
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
| input[type=checkbox] { display:none; } | |
| input[type=checkbox] + label:before { | |
| font-family: FontAwesome; | |
| display: inline-block; | |
| content: "\f096"; | |
| letter-spacing: 10px; | |
| } | |
| input[type=checkbox]:checked + label:before { | |
| content: "\f046"; | |
| letter-spacing: 5px; |
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
| public override void OnActivated (UIApplication application) | |
| { | |
| //When your app is backgrounded, iOS takes a snapshot. | |
| //When the app comes back from the background it shows this snapshot at launch until your app is ready | |
| //Sometimes apple forgets to remove the splash screen. | |
| //Your app is in the forground and working. To prove it you can rotate, and see half your real screen. | |
| //To prevent this from happening you can manually remove the view | |
| foreach (var w in application.Windows) { | |
| if (w != null && w != window) { |
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 MonoTouch.UIKit; | |
| namespace System | |
| { | |
| public static class ExtensionMethods | |
| { | |
| public static UIColor ToUIColor(this string hexString) | |
| { | |
| hexString = hexString.Replace("#", ""); |
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.Linq; | |
| using System.Reflection; | |
| using System.Text; | |
| using TestLibrary; | |
| namespace AssemblyDateTest | |
| { |
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
| /* | |
| * L.TileLayer is used for standard xyz-numbered tile layers. | |
| */ | |
| L.Google = L.Class.extend({ | |
| includes: L.Mixin.Events, | |
| options: { | |
| minZoom: 0, | |
| maxZoom: 18, | |
| tileSize: 256, |