For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
<?php | |
if (!$sContent = file_get_contents('http://www.biblija.net/biblija.cgi?m=lc1,1-10&id42=0&l=nl')) | |
throw new Exception('Tekst kon niet geladen worden'); | |
// Try to get encoding right, lose the strange encoding chars | |
$sContent = mb_convert_encoding($sContent, 'UTF-8', mb_detect_encoding($sContent)); | |
$sContent = mb_convert_encoding($sContent, 'html-entities', 'UTF-8'); | |
$oDOM = new DOMDocument('1.0'); |
package my; | |
public interface IModel {} | |
package my; | |
public interface IWriter | |
{ | |
public IWriter add( ?????????? target); | |
} |
package com.github.manuelpeinado.toolbartest; | |
import android.graphics.Color; | |
import android.graphics.drawable.Drawable; | |
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import android.support.v7.widget.Toolbar; | |
import android.view.Menu; | |
import android.view.View; |
name: myapp | |
dependencies: | |
redstone: any | |
redstone_mapper: any | |
redstone_mapper_mongo: any |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
#!/bin/sh | |
cd ~ | |
echo "### Installing Ionomy Daemon for under 1GB Ram" | |
echo "### Updating System" | |
apt-get update | |
echo "### Upgrading System" | |
apt-get upgrade | |
echo "### Modifying Swap" | |
dd if=/dev/zero of=/var/swap.img bs=1024k count=2000 | |
mkswap /var/swap.img |
{ | |
"name": "PHP Notice", | |
"message": "Undefined index: rental_id", | |
"code": 8, | |
"type": "yii\\base\\ErrorException", | |
"file": "\/var\/www\/vhosts\/domain.tld\/subdomains\/dev\/httpdocs\/folder\/api\/vendor\/yiisoft\/yii2\/db\/ActiveRelationTrait.php", | |
"line": 459, | |
"stack-trace": [ | |
"#0 \/var\/www\/vhosts\/domain.tld\/subdomains\/dev\/httpdocs\/folder\/api\/vendor\/yiisoft\/yii2\/db\/ActiveRelationTrait.php(459): yii\\base\\ErrorHandler->handleError(8, 'Undefined index...', '\/var\/www\/vhosts...', 459, Array)", | |
"#1 \/var\/www\/vhosts\/domain.tld\/subdomains\/dev\/httpdocs\/folder\/api\/vendor\/yiisoft\/yii2\/db\/ActiveRelationTrait.php(217): yii\\db\\ActiveQuery->filterByModels(Array)", |
This is an ad-hoc Java-to-Dart translator originally written on two (admittedly long) evenings.
See http://sma.github.io/stuff/java2dartweb/java2dartweb.html for a demo.
Note: It doesn't support the complete Java grammar specification and cannot translate everything. It only translates syntax and does not attempt to translate Java library classes and methods to Dart equivalents (with the exception of String.charAt
and StringBuffer.append
). You will have to make changes to the resulting Dart code. It does not support anonymous inner classes.
However, I was able to successfully convert a 7000+ line command line application with only minimal fixes in 30 minutes.
FROM ubuntu:16.04 | |
ENV IOND_USERNAME ionrpc | |
ENV IOND_PASSWORD 34i29j9329j2320SJSndjasJfKFJdksjfjijfi32jifd | |
ENV IOND_ALLOWIP * | |
ENV IOND_ARGS -daemon=1 | |
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install make autoconf automake g++ git software-properties-common bsdmainutils libboost-all-dev libleveldb-dev pkg-config libssl-dev libcrypto++-dev libevent-dev libminiupnpc-dev libgmp-dev python python-pip -y # libdb++-dev |