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.IO; | |
using System.Linq; | |
using System.Text; | |
namespace JPB.PersonalWebpage.Helper | |
{ | |
public class Minify | |
{ | |
private static Encoding DefaultEncoding(Encoding encoding) |
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
<head> | |
<META http-equiv="Content-Type" content="text/html; charset=utf-16"> | |
<title>Activity Monitor Log</title> | |
<style type="text/css"> | |
body{ text-align: left; width: 100%; font-family: Verdana, sans-serif; } | |
table{ border: none; border-collapse: separate; width: 100%; } | |
tr.title td{ font-size: 24px; font-weight: bold; } |
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.Diagnostics; | |
using System.Linq; | |
using System.Speech.Recognition; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace VoiceDetector |
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
$httpProvider.interceptors.push(function($q, dependency1, dependency2) { | |
return { | |
'requestError': function(rejection) { | |
var deferred = $q.defer(); | |
var promise = deferred.promise; | |
return promise.reject().finally((reason) => { | |
if(promise["$$state"].pending.length == 0) | |
{ | |
alert(rejection); | |
} |
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 Sandbox; | |
using Sandbox.ModAPI; | |
namespace ClassLibrary1 | |
{ | |
public class Class1 | |
{ |
NewerOlder