Skip to content

Instantly share code, notes, and snippets.

@gremito
gremito / BuyDrink.cs
Last active July 19, 2020 08:44
自販機システム
using System;
using System.Collections.Generic;
namespace ObjectOrientationLearning
{
/// <summary>
/// 自販機で飲み物を買う動作を行うプログラム
/// </summary>
class Program
{
// 自販機のインスタンス管理
@gremito
gremito / JankenGame.cs
Last active February 6, 2020 09:01
即席で作ったじゃんけんゲーム
using System;
namespace ConsoleApp
{
class JankenGame
{
static void Main(string[] args)
{
// じゃんけんゲーム!
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class UnitychanSpriteAction : MonoBehaviour
{
static int hashSpeed = Animator.StringToHash ("Speed");
static int hashFallSpeed = Animator.StringToHash ("FallSpeed");
static int hashGroundDistance = Animator.StringToHash ("GroundDistance");
static int hashIsCrouch = Animator.StringToHash ("IsCrouch");
# -*- coding: utf-8 -*-
from paramiko import SSHClient, AutoAddPolicy
HOST = 'xx.xx.xx.xx'
PORT = 22
USER = 'user_name'
PASSWORD = 'user_password'
PRIVATE_KEY = '/Users/user_name/.ssh/id_rsa'