Skip to content

Instantly share code, notes, and snippets.

View parabola949's full-sized avatar

Para parabola949

View GitHub Profile
function shake() {
function c() {
var e = document.createElement("link");
e.setAttribute("type", "text/css");
e.setAttribute("rel", "stylesheet");
e.setAttribute("href", f);
e.setAttribute("class", l);
document.body.appendChild(e)
}
function h() {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using TeleSharp.TL;
using TeleSharp.TL.Channels;
using TeleSharp.TL.Messages;
using TeleSharp.TL.Updates;
using System;
class Test{
static void Main(){
Console.WriteLine("Hello world!");
}
}
@parabola949
parabola949 / Ini.cs
Last active August 29, 2015 14:19
Auto unpack and move torrents for TV and Movies
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
public class Ini
{
Dictionary<string, Dictionary<string, string>> ini = new Dictionary<string, Dictionary<string, string>>(StringComparer.InvariantCultureIgnoreCase);
string file;
using System;
using System.Text;
namespace test
{
class Program
{
static void Main(string[] args)
{
DECLARE @numberlist table(number int)
-- TOP <max> IDENTITY(int,<min>,1)
SELECT TOP 5 IDENTITY(int,1,1) as Number
INTO numberlist
from sys.objects s1 CROSS JOIN sys.objects s2
--Now check range against stuff table
SELECT *
FROM numberlist
WHERE number NOT IN (Select Number from Stuff)
private bool _stillDown;
public bool stillDown
{
get { return _stillDown; }
set { _stillDown = value; NotifyOfPropertyChange(() => stillDown);
if (resolved == _stillDown) resolved = !_stillDown;
}
}
private bool _resolved;