Skip to content

Instantly share code, notes, and snippets.

spacekey dalian-spacekey

Block or report user

Report or block dalian-spacekey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dalian-spacekey
dalian-spacekey / ToggleIme.json
Created Oct 11, 2017
Karabiner-Elementsで1キーでかなと英数をトグルするサンプル
View ToggleIme.json
{
"title": "For Japanese (日本語環境向けの設定)",
"rules": [
{
"description": "RightOption to ToggleIME",
"manipulators": [
{
"type": "basic",
"conditions": [
{
View UseAmazonS3.cs
using System.IO;
using System.Threading.Tasks;
using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
namespace UseAmazonS3
{
class Program
{
View ByteArrayToImageSourceConverter.cs
public class ByteArrayToImageSourceConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) =>
value == null ?
null :
ImageSource.FromStream(() => new MemoryStream((byte[])value));
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
You can’t perform that action at this time.