Instantly share code, notes, and snippets.

View http-code
// based from KOA
100 "continue"
101 "switching protocols"
102 "processing"
200 "ok"
201 "created"
202 "accepted"
203 "non-authoritative information"
204 "no content"
205 "reset content"
View io_expedition_iter3.dart
library io_testing;
import 'dart:async';
import 'dart:io';
import 'dart:convert';
class UpperCaseConverter extends Converter<String, String> {
@override
String convert(String input) => input.toUpperCase();
View output_log.txt
Log uploaded on Sunday, September 23, 2018, 12:37:42 AM
Loaded mods:
Core: (no assemblies)
HugsLib[5.0.2]: 0Harmony(1.1.0.0), HugsLib(1.0.0.0)
Therapy: $HugsLibChecker(0.5.0.0), Therapy(0.19.1.0)
FishIndustry: (no assemblies)
HolyWasher: HolyWasher(1.0.0.0)
JecsTools: 0Harmony(1.1.0.0), 0JecsTools(1.0.8.0), AbilityUser(1.18.0.0), AbilityUserAI(1.18.0.0), CompActivatableEffect(1.18.0.0), CompAnimated(1.18.0.0), CompBalloon(1.18.0.0), CompDeflector(1.18.0.0), CompDelayedSpawner(1.18.0.0), CompExtraSounds(1.18.0.0), CompInstalledPart(1.18.0.0), CompLumbering(1.18.0.0), CompOverlays(1.18.0.0), CompOversizedWeapon(1.18.0.0), CompSlotLoadable(1.18.0.0), CompToggleDef(1.18.0.0), CompVehicle(1.17.0.1), PawnShields(1.0.0.0)
Active Harmony patches:
View gist:27c93cba661543265bad8d50d737b621
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "192.168.1.53",
"bind-address-ipv6": "::",
View functions.php
/*
Документация плагина
http://manual.unyson.io/en/latest/
*/
if (!defined( 'FW' )){
function com_version_wp(){
$action = 'install-plugin';
$slug = 'unyson';
View stan-0.11.0-extra-redelivery-case.go
package main
import (
"fmt"
"log"
"os"
"os/signal"
"strconv"
"syscall"
"time"
View HomeController.cs
public class HomeController : Controller
{
public IActionResult Index()
{
throw new Exception($"{DateTime.Now} Generate Test Exception");
return View();
}
}
View gist:92710fa8a49c15b88214591a5152d1cf
To enable high DPI support for Krita, set KRITA_HIDPI to 1 in your system variables. This is useful so that they menus and buttons will be large on tablets.
One caveat with this is that the canvas will be too big for the viewing area, so it will be zoomed at 67% to fit in that area.
View bitcoin.conf
testnet=1
server=1
txindex=1
maxconnections=10
rpcuser=REPLACEME
rpcpassword=REPLACEME
minrelaytxfee=0.00000000
incrementalrelayfee=0.00000010
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
View CVPixelBufferColor.swift
//
// CVPixelBufferColor.swift
// ARPaint
//
// Created by Abe White on 9/13/18.
// Copyright © 2018 Hedonic Software. All rights reserved.
//
import Accelerate
import UIKit