Skip to content

Instantly share code, notes, and snippets.

View enikitin's full-sized avatar

Evgeny Nikitin enikitin

View GitHub Profile
@cjmamo
cjmamo / app(1).js
Last active March 15, 2017 11:29
Safely Prevent Template Caching in AngularJS
...
app.run(function($rootScope, $templateCache) {
$rootScope.$on('$viewContentLoaded', function() {
$templateCache.removeAll();
});
});
@bryanbarnard
bryanbarnard / SimpleHttpClient.cs
Created December 23, 2013 19:15
Simple C# .NET 4.5 HTTPClient Request Using Basic Auth and Proxy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net;
namespace HTTP_Test