この文章は筆者の理解のために書かれたもので、内容の正しさは保証しない。
参考
using System; | |
using System.Reflection.Emit; | |
using System.Reflection; | |
using System.Text.RegularExpressions; | |
namespace RegexCil | |
{ | |
internal class Program | |
{ | |
private delegate void NoParamDelegate(RegexRunner r); |
この文章は筆者の理解のために書かれたもので、内容の正しさは保証しない。
参考
public class GameManager : MonoBehaviour | |
{ | |
Texture2D srcTexture; | |
Texture2D dstTexture; | |
Color32[] clearColors; | |
void Start() | |
{ | |
var width = 500; | |
var height = 500; |
module irc | |
effect Connected(): Unit / { Message } | |
effect Message { | |
def message(msg: String): Int / { Response } | |
def reaction(id: Int, name: String): Unit / { Response } | |
} | |
effect Response { | |
def response(msg: String): Unit | |
} |
module generator | |
import immutable/option | |
import immutable/list | |
effect Replace(x: Int): Unit | |
effect Reject(): Unit | |
effect Yield(x: Int): Unit / { Replace, Reject } | |
def iter(lst: List[Int]): List[Int] / { Yield, Console } = lst match { |
#include <iostream> | |
#include <string> | |
#include <memory> | |
#include <functional> | |
#include <vector> | |
#include <algorithm> | |
#include <list> | |
using namespace std; |
#!/bin/sh | |
# awesome qsub | |
job_file=$1 | |
result=`qsub $job_file` | |
reg="s/^Your job ([0-9]+) \\(\"$job_file\"\\) has been submitted$/\1/" | |
id=`echo "$result" | sed -r "$reg"` | |
echo "job #$id has been submitted!" |
require 'socket' | |
require 'openssl' | |
include OpenSSL | |
ONAMAE_DOMAIN = 'ddnsclient.onamae.com' | |
ONAMAE_PORT = 65010 | |
ONAMAE_USER = ENV['ONAMAE_USER'] | |
ONAMAE_PASS = ENV['ONAMAE_PASS'] | |
HOSTNAME = ENV['ONAMAE_HOST'] # e.g. ddnsclient |
diff --git a/mlib/src/mStr.c b/mlib/src/mStr.c | |
index b8426a6..12930c2 100644 | |
--- a/mlib/src/mStr.c | |
+++ b/mlib/src/mStr.c | |
@@ -882,7 +882,7 @@ void mStrAppendText(mStr *str,const char *text) | |
if(text) | |
{ | |
len = strlen(text); | |
- | |
+ |
// ==UserScript== | |
// @name amazon-music-now-playing | |
// @namespace llf | |
// @include /^https://music\.amazon\.co\.jp/ | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
function charWidth(str) { | |
var w = 0; |