Skip to content

Instantly share code, notes, and snippets.

View JPVenson's full-sized avatar
🎁
Focusing

JPVenson JPVenson

🎁
Focusing
View GitHub Profile
<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; }
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
$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);
}
using System;
using System.Collections.Generic;
using System.Linq;
using Sandbox;
using Sandbox.ModAPI;
namespace ClassLibrary1
{
public class Class1
{