更新情報
・Decoratorsに関する問題を追加(2020/6/6)
・リンクを追加(2020/5/30)
・問題を追加(2020/4/18)
| #!/bin/bash | |
| echo "$@" | sed -e 's|\\|/|g' -e 's|^\([A-Za-z]\)\:/\(.*\)|/mnt/\L\1\E/\2|' |
| using System; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Purchasing; | |
| /// <summary> | |
| /// 課金処理を扱うクラスです。 | |
| /// 非消費、サブスクリプション型は動作未検証です。 | |
| /// Android/iOSのみ動作検証しています。 | |
| /// INFO:[iOS]未購入のアイテムがあるとInitialize後すぐに認証ダイアログが表示されるので、呼び出すタイミングを調整してください |
sudo service ssh statussudo apt-get install sshsudo vim /etc/ssh/sshd_configPermitRootLogin no #Disable direct login from root
AllowUsers user1 user2 user3 #*Only* allow this users to connect
AllowTcpForwarding yes #Required to setup the tunnel, yes or commented out
PubkeyAuthentication yes #Enables public key authentication
Port 22 #Listening port of the server
| var https = require("https"); | |
| var querystring = require("querystring"); | |
| var options = { | |
| host: "readfree.me", | |
| path: "/auth/login/", | |
| method: "get", | |
| headers: { | |
| "Content-Type": "application/x-www-form-urlencoded", | |
| "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", |
| #!/usr/bin/env python2 | |
| # lrdcq | |
| # usage python2 unwxapkg.py filename | |
| import sys, os | |
| import struct | |
| class WxapkgFile(object): | |
| nameLen = 0 |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>繁花</title> | |
| <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="full-screen" content="true" /> | |
| <meta name="screen-orientation" content="portrait" /> | |
| <meta name="x5-fullscreen" content="true" /> |
| var gamelib = {audio: {}, dom: {}, input: {}, tween: {}}; | |
| gamelib.hitTest1x1 = function (gameObject1, gameObject2) { | |
| if (!gameObject1.alive || !gameObject2.alive) { | |
| return | |
| } | |
| if (gameObject1.aabb.x0 > gameObject2.aabb.x1 || gameObject2.aabb.x0 > gameObject1.aabb.x1 || gameObject1.aabb.y0 > gameObject2.aabb.y1 || gameObject2.aabb.y0 > gameObject1.aabb.y1) { | |
| return | |
| } | |
| gameObject1.onCollide(gameObject2); | |
| gameObject2.onCollide(gameObject1) |
| var CONSUMER_KEY = "<< YOUR KEY HERE >>"; | |
| var CONSUMER_SECRET = "<< YOUR SECRET HERE >>"; | |
| var OWNER_SCREEN_NAME = "<< YOUR LIST OWNER'S NAME HERE >>"; | |
| var SLUG = "<< YOUR LIST NAME HERE >>"; | |
| //Then fill the 235682008200790016 into E1 | |
| function getConsumerKey() { | |
| return CONSUMER_KEY; |