I hereby claim:
- I am mythz on github.
- I am mythz (https://keybase.io/mythz) on keybase.
- I have a public key ASAeJidstT7bc7YfiJpDh_XTzcEFOsssBSa-CfwM_aQJlwo
To claim this, I am signing this object:
import aiohttp | |
from aiohttp import web | |
import asyncio | |
import os | |
import tempfile | |
import uuid | |
# Ensure ffmpeg is installed and accessible in your system PATH | |
routes = web.RouteTableDef() |
I hereby claim:
To claim this, I am signing this object:
let $ = (sel, el) => typeof sel === "string" ? (el || document).querySelector(sel) : sel || null, | |
$$ = (sel, el) => Array.prototype.slice.call((el || document).querySelectorAll(sel)); | |
function on(sel, handlers) { | |
$$(sel).forEach(e => { | |
Object.keys(handlers).forEach(function (evt) { | |
let fn = handlers[evt]; | |
if (typeof evt === 'string' && typeof fn === 'function') { | |
e.addEventListener(evt, fn.bind(e)); | |
} |
using System; | |
using System.Linq; | |
using ServiceStack; | |
using ServiceStack.Text; | |
using ServiceStack.OrmLite; | |
using ServiceStack.OrmLite.Sqlite; | |
using ServiceStack.DataAnnotations; | |
var dbFactory = new OrmLiteConnectionFactory(":memory:", SqliteDialect.Provider); | |
var db = dbFactory.Open(); // Open ADO.NET DB Connection |
using ServiceStack; | |
using ServiceStack.Text; | |
using ServiceStack.OrmLite; | |
using ServiceStack.OrmLite.Sqlite; | |
using ServiceStack.DataAnnotations; | |
var dbFactory = new OrmLiteConnectionFactory(":memory:", SqliteDialect.Provider); | |
var db = dbFactory.Open(); // Open ADO.NET DB Connection | |
OrmLiteUtils.PrintSql(); // view generated SQL | |
OrmLiteConfig.StripUpperInLike = true; // comment to force insensitive like comparisons |
var base64Key = System.Convert.ToBase64String(ServiceStack.AesUtils.CreateKey()); | |
System.Console.WriteLine(base64Key); |
using System; | |
using ServiceStack; | |
using ServiceStack.Text; | |
using ServiceStack.Redis; | |
using ServiceStack.DataAnnotations; | |
using ServiceStack.Caching; | |
var redisManager = new RedisManagerPool("localhost:6379"); | |
var redis = redisManager.GetClient(); | |
redis.FlushAll(); |
using System; | |
using ServiceStack; | |
using ServiceStack.Text; | |
using ServiceStack.Redis; | |
using ServiceStack.DataAnnotations; | |
var redisManager = new RedisManagerPool("localhost:6379"); | |
var redis = redisManager.GetClient(); | |
redis.FlushAll(); |
using System; | |
using System.Linq; | |
using ServiceStack; | |
using ServiceStack.Text; | |
JsConfig<Guid>.SerializeFn = guid => guid.ToString(); | |
public partial class Dto | |
{ | |
public Guid Guid { get; set; } = Guid.NewGuid(); |
using System; | |
using System.Collections.Generic; | |
using ServiceStack; | |
using ServiceStack.Text; | |
using ServiceStack.OrmLite; | |
using ServiceStack.OrmLite.Sqlite; | |
using ServiceStack.DataAnnotations; | |
OrmLiteUtils.PrintSql(); | |
var dbFactory = new OrmLiteConnectionFactory(":memory:", SqliteDialect.Provider); |