wget https://github.com/joewalnes/websocketd/releases/download/v0.2.12/websocketd-0.2.12-linux_arm.zip
unzip websocketd-0.2.12-linux_arm.zip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| column -t -s : /etc/passwd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "Unlit/UnityShader" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Opaque" } | |
| LOD 100 //level of detail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # How to use: | |
| # 1. Download this script | |
| # 2. Open any game made with rpg maker/ wolf rpg, using wine with JP encoding, for example: | |
| # LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 wine Game.exe | |
| # 3. Get the coordinate of the textbox, you can use Cmd-Shift-4 to find the value. | |
| # 4. Change the config below | |
| # 5. Save and Run the script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @brief Render rectangle with width | |
| * @details It is created by overlapping two filled rects | |
| * | |
| * @param renderer current renderer | |
| * @param dest Destination | |
| * @param width Stroke width | |
| * @param rR rectangle's color red component | |
| * @param gR rectangle's color green component | |
| * @param bR rectangle's color blue component |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # =========================== | |
| # Default Collab Ignore Rules | |
| # =========================== | |
| # OS Generated | |
| # ============ | |
| .DS_Store | |
| ._* | |
| .Spotlight-V100 | |
| .Trashes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo ntpdate -u stdtime.gov.hk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add to nginx.conf http section | |
| map $http_upgrade $connection_upgrade { | |
| default upgrade; | |
| '' close; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class GameManager : MonoBehaviour { | |
| public static GameManager manager; //singleton | |
| void Awake(){ | |
| if(manager == null){ | |
| DontDestroyOnLoad(gameObject); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from telegram.ext import Updater, CommandHandler, MessageHandler, Filters | |
| from spell import * | |
| updater = Updater(token="") | |
| dispatcher = updater.dispatcher | |
| import logging | |
| logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', | |
| level=logging.INFO) |