Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| # Install tmux on Centos release 6.5 | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
| tar -xvzf libevent-2.0.21-stable.tar.gz | |
| cd libevent-2.0.21-stable | |
| ./configure --prefix=/usr/local |
| defmodule XmlParsingTest do | |
| @moduledoc """ | |
| 从xmerl模块头文件中提取XML元素记录 | |
| 我们要提取的两个记录在xmerl.hrl中的定义分别为 | |
| - xmlElement | |
| ``` | |
| -record(xmlElement,{ | |
| name, % atom() | |
| expanded_name = [], % string() | {URI,Local} | {"xmlns",Local} | |
| nsinfo = [], % {Prefix, Local} | [] |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| import Vec3 from "/fungi/maths/Vec3.js"; | |
| class Bezier{ | |
| static get(p0, p1, p2, p3, t, out){ | |
| let i = 1 - t, | |
| ii = i * i, | |
| iii = ii * i, | |
| tt = t * t, | |
| ttt = tt * t, | |
| iit3 = 3 * ii * t, |