View MeteorJson.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
namespace Cadena.Meteor
{
public static class MeteorJson
{
View MeteorJsonHelper.cs
using System;
namespace Cadena.Meteor
{
internal static class MeteorJsonHelper
{
public static unsafe string UnsafeUnescape(string jsonString, int decodedLength)
{
var len = jsonString.Length;
var buf = new char[decodedLength];
View TaskFactoryDistrict.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Cadena.Engine._Internals
{
public sealed class TaskFactoryDistrict
{
View config.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
config = {
"consumer": {
"key": "********",
"secret": "********",
},
"token": {
"key": "********",
View masqsvr.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import io
import re
import threading
import time
from twitter import *
View masquerade.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from twitter import *
from config import *
def switch_profile(key: str):
api = Twitter(auth=OAuth(
View config.example.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
config = {
"consumer": {
"key": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
},
"token": {
"key": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
View switchprof.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from twitter import *
from config import *
def main(arg: str):
View gist:59074dc3f2e445a3f2bc
using (var reader = new CancellableStreamReader(stream))
{
while (true)
{
cancellationToken.ThrowIfCancellationRequested();
// create timeout cancellation token source
using (var timeoutTokenSource = new CancellationTokenSource(readTimeout))
using (var compositeTokenSource = CancellationTokenSource.CreateLinkedTokenSource(
cancellationToken, timeoutTokenSource.Token))
View App.xaml.cs
using System;
using System.Threading.Tasks;
using TestApp.Common;
using Skylight.Common;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Animation;
using Windows.UI.Xaml.Navigation;