Skip to content

Instantly share code, notes, and snippets.

<root xmlns:foo="http://www.foo.org/" xmlns:bar="http://www.bar.org">
<employees>
<employee id="1">Johnny Dapp</employee>
<employee id="2">Al Pacino</employee>
<employee id="3">Robert De Niro</employee>
<employee id="4">Kevin Spacey</employee>
<employee id="5">Denzel Washington</employee>
</employees>
<foo:companies>
<foo:company id="6">Tata Consultancy Services</foo:company>
@cbmgit
cbmgit / numberstoword.txt
Created October 16, 2024 17:36
numberstoword.txt
100,000,000
@cbmgit
cbmgit / vertical-font-generator.txt
Created December 26, 2023 07:37
vertical-font-generator.txt
AAA
GEICO
@cbmgit
cbmgit / json-multi-line.txt
Created October 22, 2023 08:35
json-multi-line.txt
{
"InsuranceCompanies": {
"Time":"Feb 2019",
"Top Insurance Companies":[
{
"No": "1",
"Name": "Berkshire Hathaway ( BRK.A)",
"About": "Berkshire Hathaway is a multinational conglomerate holding company led by Warren Buffett, one of the world's most renowned investors and business leaders.",
"history":"Berkshire Hathaway was originally a textile manufacturing company established in the 19th century. Warren Buffett began buying shares of the struggling company in the 1960s and eventually took control. "
}
title = "Top Insurance Company by Market Cap"
[owner]
name = "UnitedHealth"
marketCap = "$498.37 B"
@cbmgit
cbmgit / jsonlexample.txt
Created October 11, 2023 05:51
jsonlexample.txt
[
{
"No": "1",
"Name": "Berkshire Hathaway ( BRK.A)",
"Market Capitalization": "$308 billion"
},
{
"No": "2",
"Name": "China Life Insurance (LFC)",
"Market Capitalization": "$80 billion"
@cbmgit
cbmgit / avro-schema.txt
Created September 26, 2023 15:53
avro-schema.txt
{"type":"record","name":"User","fields":[{"name":"username","type":"string"},{"name":"phone","type":"long"},{"name":"age","type":"int"}]}
@cbmgit
cbmgit / jsonsort.txt
Created September 20, 2023 07:32
jsonsort.txt
[{"id":1,"name":"Tom Cruise","age":61},{"id":2,"name":"Tom Brady","age":46},{"id":3,"name":"Elon Musk","age":52}]
@cbmgit
cbmgit / MultiDecimalData
Created September 13, 2023 05:47
MultiDecimalData
87 101 108 99 111 109 101 32 116 111 32 67 111 100 101 32 66 101 97 117 116 105 102 121
<root>
<node1>
<B>text</B>
<A>another_text</A>
<C>one_more_text</C>
</node1>
<node3>
<C>one_more_text</C>
<B>text</B>
<A>another_text</A>