Skip to content

Instantly share code, notes, and snippets.

View kentasaito's full-sized avatar

Kenta Saito kentasaito

View GitHub Profile
@kentasaito
kentasaito / index.php
Created April 22, 2014 04:07
テキサスホールデム
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<?php
class Deck {
private $cards;
public function __construct($label = FALSE, $has_cards = FALSE)
{
# 1. Create deno user and install Deno
useradd deno -m -s /bin/bash
rm /home/deno/.*
apt install unzip
sudo -u deno bash -c 'curl -fsSL https://deno.land/x/install/install.sh | sh'
# 2. Create a process that runs on systemd
mkdir /home/deno/deno_getssl_bot
cat <<'EOL' > /home/deno/deno_getssl_bot/deno_getssl_bot.service
[Service]