Skip to content

Instantly share code, notes, and snippets.

View HassakuTb's full-sized avatar
💭
🍊

Hassaku HassakuTb

💭
🍊
View GitHub Profile
@aiya000
aiya000 / Observable.ts
Last active July 8, 2019 05:15
Typgin NativeScript's untyped Observable
import * as Untyped from 'tns-core-modules/data/observable'
import deprecated from 'deprecated-decorator' // npm install --save-dev deprecated-decorator
import { Field } from '@/data/conditional-types'
/**
* Don't dirty your hands.
* You must use this instead of [[Untyped.Observable]].
*
* This description is [here](http://aiya000.github.io/posts/2019-07-04-recover-nativescript-type-unsafe-observable.html).
*/
@piccaso
piccaso / ssh.cs
Last active December 7, 2022 07:07
ssh.net Example - Keybased Authentication, File Upload, Shell Commands
/*
get SSH.NET (BSD License: http://sshnet.codeplex.com/license)
with NuGet:
>Install-Package SSH.NET -Version 2013.4.7
or just get the dll from here: http://j.mp/sshNet
*/
using System;
@stramit
stramit / ControllerInputModule.cs
Last active December 27, 2018 18:20
ControllerInputModule.cs
using UnityEngine;
using UnityEngine.EventSystems;
[AddComponentMenu("Event/Controller Input Module")]
public class ControllerInputModule : BaseInputModule
{
private float m_NextAction;
protected ControllerInputModule()
{}
@tatzyr
tatzyr / image.md
Last active July 5, 2023 12:19
Markdownで画像を表示する

Markdownで画像を表示する

Markdownでは文書中に画像ファイルを表示することができる。GitHubでReadmeに使うと見栄えがいい。

エビフライトライアングル

Markdown記法で書くならこんな感じ。"サンプル"の部分は省略可能。

![エビフライトライアングル](http://i.imgur.com/Jjwsc.jpg "サンプル")