This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<!-- Encoding --> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta> | |
This file contains 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
/** | |
* 3col Holy Grail | |
*/ | |
body { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
margin: 0; | |
padding-left: 200px; /* LC fullwidth */ | |
padding-right: 210px; /* RC fullwidth + CC padding */ |
This file contains 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
package utils.lookuplist | |
{ | |
/** | |
* Fast alternative to array ot dictionary | |
* @author Thomas John | |
* http://blog.open-design.be/2014/02/14/benchmarks-dictionary-vs-object-vs-array-vs-lookuplist/ | |
*/ | |
public class LookupList | |
{ | |
public var itemFirst:LookupListItem; |
This file contains 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 System; | |
using System.Collections.Generic; | |
public delegate void Callback(); | |
public delegate void Callback<T>(T arg1); | |
public delegate void Callback<T, U>(T arg1, U arg2); | |
public delegate void Callback<T, U, V>(T arg1, U arg2, V arg3); | |
public enum MessengerMode { | |
DONT_REQUIRE_LISTENER, |
This file contains 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
<?xml version="1.0"?> | |
<project name="Application"> | |
<property name="sdk.air" value="PATH_TO_AIR_SDK_FOLDER"/> | |
<property name="adt" value="${sdk.air}/bin/adt.bat"/> | |
<property name="ip" value="192.168.0.101"/> | |
<property name="project.root" value="."/> | |
<property name="dir.cert" value="${project.root}/CERTIFICATE_FOLDER"/> |
This file contains 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
class Main | |
{ | |
static public function main():Void | |
{ | |
var it = 30; | |
var ra:Int = 0; | |
var rb:Int = 0; | |
var rc:Int = 0; | |
while(it-- > 0) { | |
var obj:TestResults = TimeUtil.RunTest(); |
This file contains 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
server { | |
listen 443 ssl; | |
server_name softwaredesign.ml; | |
root /usr/share/nginx/html; | |
ssl on; | |
ssl_certificate /etc/letsencrypt/live/pageaddress.ml/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/pageaddress.ml/privkey.pem; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
This file contains 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
// https://ci.apache.org/projects/flink/flink-docs-release-1.2/quickstart/java_api_quickstart.html | |
curl https://flink.apache.org/q/quickstart.sh | bash | |
mvn archetype:generate \ | |
-DarchetypeGroupId=org.apache.flink \ | |
-DarchetypeArtifactId=flink-quickstart-java \ | |
-DarchetypeVersion=1.2.1 |
This file contains 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
echo "deb https://apache.bintray.com/couchdb-deb stretch main" \ | |
| sudo tee -a /etc/apt/sources.list | |
&& curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc \ | |
| sudo apt-key add - | |
&& sudo apt-get update && sudo apt-get install couchdb |
This file contains 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
Here what you need to do: | |
1. Install pm2: npm i -g pm2 | |
2. Run: pm2 start http-server-spa --name “DAZN” -- -p 8080 -d false | |
3. Manage processes: pm2 status, pm2 monit, pm2 logs, pm2 delete 0, pm2 restart 0 | |
4. See “pm2 help” for more info | |
UPDATE: | |
You can use web interface and monitor you process from browser, for that install pm2-web | |
https://github.com/achingbrain/pm2-web | |
And run it same way: pm2 start pm2-web --name “WEB” |
OlderNewer