I hereby claim:
- I am bunkerbewohner on github.
- I am mathias_kahl (https://keybase.io/mathias_kahl) on keybase.
- I have a public key ASCd0pJoRb85L9b7eYDi7qj6R2iBcvKYy8qTeOOPUORQDgo
To claim this, I am signing this object:
#include "QrCode.hpp" // from https://github.com/nayuki/QR-Code-generator | |
#include "ImageUtils.h" // from Unreal Engine (4.24) | |
/// <summary>Generates a QR code texture from a string.</summary> | |
/// <param name="parent">UE parent (required)</param> | |
/// <param name="string">String to encode</param> | |
UTexture2D* UWebBuzzers::GenerateQrCode(UObject* parent, FString string) | |
{ | |
qrcodegen::QrCode qr = qrcodegen::QrCode::encodeText(TCHAR_TO_UTF8(*string), qrcodegen::QrCode::Ecc::LOW); |
using System; | |
using System.Collections.Generic; | |
using HidSharp; // https://www.nuget.org/packages/HidSharp/ | |
using UnityEngine; | |
namespace Goldsaucer.Askutron.HardwareInput | |
{ | |
public class WirelessBuzzBuzzers : MonoBehaviour | |
{ | |
class ConnectedReceiver |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Goldsaucer.Askutron.TTS | |
{ | |
public class TextToSpeech | |
{ | |
private const string ServerUrl = "https://example.com"; |
public IEnumerator SpeakUp() | |
{ | |
var tts = new TextToSpeech("Hello World", "en"); | |
yield return tts.Load(); | |
yield return tts.Play(); | |
} |
{ | |
"text": "Who is the most badass female character in the \"Harry Potter\" novels?", | |
"language": "en", | |
"mode": "opinion", | |
"audio": "/audios/79470/download", | |
"answers": [ | |
{ | |
"text": "Hermione Granger", | |
"correct": true, | |
"audio": "/audios/31/download" |
function generate_guid() { | |
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); | |
return v.toString(16); | |
}); | |
} | |
function get_guid() { | |
if (window.localStorage.guid != null) { |
<?php | |
/* | |
Plugin Name: List Posts with Custom Field | |
Plugin URI: http://www.christianschenk.org/projects/wordpress-list-posts-custom-field-plugin/ | |
Description: Inserts a list of posts with a certain custom field. | |
Version: 1.9.4 | |
Author: Christian Schenk | |
Author URI: http://www.christianschenk.org/ | |
*/ |
package de.hermes.ccs.legacy.rest.patch; | |
import com.fasterxml.jackson.core.type.TypeReference; | |
import sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl; | |
import java.util.List; | |
public class ListPatch<T extends List<M>, M> extends Patch<T> { | |
public ListPatch(Class<M> modelClass) { | |
super((Class<T>)((ParameterizedTypeImpl)new TypeReference<List<M>>() {}.getType()).getRawType()); |
I hereby claim:
To claim this, I am signing this object:
/// <summary> | |
/// Transforms the 4 color bytes to a single float. | |
/// The resulting float might not be a valid float number; but only the bytes | |
/// are important for usage later on the graphics card | |
/// </summary> | |
/// <param name="color">Any color</param> | |
/// <returns>The four color bytes as one float</returns> | |
Single ConvertColorToSingle(Color color) | |
{ | |
byte[] bytes = BitConverter.GetBytes(((Color)color).PackedValue); |