JAVA-PHP INTEROP PROTOCOL
{
"cmd":"NEW",
"class":"com.someenterprise.SomeClass",
"args":[
{
"type":"int",
"value":123
@media screen and (max-width: 801px) { | |
.wrapper { | |
display: flex; | |
flex-direction: column; | |
width: 100vw; | |
} | |
#sidebar { | |
display: block; | |
} |
console.log("Hello"); | |
var offset = 7; | |
var ar = [0xfd, 0x23]; | |
var myVal = ar[0]<<8 | ar[1]; | |
console.log(myVal); |
JAVA-PHP INTEROP PROTOCOL
{
"cmd":"NEW",
"class":"com.someenterprise.SomeClass",
"args":[
{
"type":"int",
"value":123
CREATE TABLE metrics ( | |
date datetime, | |
name varchar(250), | |
value double, | |
primary key(date, name), | |
date key(date) | |
) with partitioning(1s to 7day,1m to 30day,1h to 90day,1day to 2year,1month); |
#if () {
#}
#for () {
#if () {
<Component data="${data}">
<Field />
</Component>
#}
class Main { | |
public static class XMLStringBuilder { | |
public static final String OPEN_BRACE = "<"; | |
public static final String CLOSE_BRACE = ">"; | |
public static final String CLOSE_SUFFIX = " />"; | |
public static final String OPEN_CLOSE_TAG = "</"; | |
public static final String ATTR_PREFIX = "=\""; |
#!/bin/sh | |
BODY='\00\00\00\01\00\00\00\00' | |
BODY64=$(echo -ne $BODY | base64) | |
S='{"properties":{},"routing_key":"test","payload":"'$BODY64'","payload_encoding":"base64"}' | |
echo $S | curl --data-binary @- -i -u guest:guest http://192.168.185.182:15672/api/exchanges/%2f/amq.default/publ ish -X POST |
Archive file format
archive:[SCHEMA]
bunch:[SIZE]
[bunch data]
bunch:[SIZE]
[bunch data]
...
bunch:[SIZE]
#!/usr/bin/env escript | |
% -*- mode: erlang -*- | |
main([BeamFile]) -> | |
{ok,{_,[{abstract_code,{_,AC}}]}} = beam_lib:chunks(BeamFile,[abstract_code]), | |
io:fwrite("~s~n", [erl_prettypr:format(erl_syntax:form_list(AC))]). |