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 static string RemoveSpecialSymbols(this string mystring) | |
{ | |
JObject j = new JObject(); | |
j.Add(new JProperty("", mystring)); | |
//string s = j.First.Value<string>(); | |
var sr = new StringWriter(); | |
var jsonWriter = new JsonTextWriter(sr) | |
{ | |
StringEscapeHandling = StringEscapeHandling.EscapeNonAscii |
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.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace RockPaperScissors | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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.Data; | |
using System.Diagnostics.Eventing.Reader; | |
using System.Linq; | |
using System.Net; | |
using System.Security.Policy; | |
using System.Text; | |
using System.Threading.Tasks; |
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
namespace StopWatch | |
{ | |
public class StopWatch | |
{ | |
private DateTime StartTime { get; set; } | |
public void Start() => this.StartTime = DateTime.Now; | |
public TimeSpan Stop() => DateTime.Now.Subtract(StartTime); |
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
#view-calendar ul > li.k-current-view { display: none; } | |
#view-calendar .k-scheduler-views li:nth-child(2) { | |
border-top-left-radius: 4px; | |
border-bottom-left-radius: 4px; | |
border-style: solid; | |
border-width: 1px 1px 1px 1px; | |
} |
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 RestSharp.Portable; | |
using RestSharp.Portable.Authenticators; | |
using RestSharp.Portable.HttpClient; | |
namespace ApiWrapper { | |
public class BaseApiSet<T> where T : new() | |
{ | |
private readonly string _baseUrl; |
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
static void Main(string[] args) | |
{ | |
ApiClient test = new ApiClient("churchApiKey", "username", "password"); | |
var person = test.People.Individuals.Get(2, true); | |
var Person = new Individual() | |
{ | |
FirstName = person.FirstName, | |
LastName = person.LastName, |
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
.profile-IMg{ | |
width: 150px; | |
height: 150px; | |
} | |
.displayUserName{ | |
font-family: Futura, "Trebuchet MS", Arial, sans-serif; | |
font-size: 35px; | |
font-style: normal; | |
font-variant: normal; |
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
(function () { | |
var app = angular.module("ngApp", []); | |
var MainController = function ($scope, $http) { | |
var onUserComplete = function (response) { | |
$scope.user = response.data; | |
$http.get($scope.user.repos_url) | |
.then(onRepos, onError); | |
} |
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
<html ng-app="ngApp"> | |
<head> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body ng-controller="MainController"> | |
<h2>{{message}}</h2> | |
<div>{{error}}</div> |
NewerOlder