Skip to content

Instantly share code, notes, and snippets.

@cbmgit
cbmgit / jsonstring
Last active July 3, 2018 15:33
JSON Example of JSON String data type
{
"firstname": "Tom",
"lastname": "Cruise",
"occupation": "Actor"
}
@cbmgit
cbmgit / jsonnumber
Last active July 3, 2018 18:31
JSON Number datatype
{
"id": 1,
"age": 56,
"bornyear": 1963,
"date": 3,
"month": 7,
"weight" : 67.5
}
@cbmgit
cbmgit / jsonobject
Created July 3, 2018 18:06
JSON Object Datatype
{
"actor": {
"name": "Tom Cruise",
"age": 56,
"Born At": "Syracuse, NY",
"Birthdate": "July 3 1962",
"photo": "https://jsonformatter.org/img/tom-cruise.jpg"
}
}
@cbmgit
cbmgit / jsonarray
Created July 3, 2018 18:18
JSON array Datatype
{
"Actors": [
{
"name": "Tom Cruise",
"age": 56,
"Born At": "Syracuse, NY",
"Birthdate": "July 3, 1962",
"photo": "https://jsonformatter.org/img/tom-cruise.jpg"
},
{
@cbmgit
cbmgit / jsonboolean
Created July 3, 2018 18:37
JSON Boolean DataType
{
"hasChildren":true,
"hasTwitterAccount":true,
"hasGreyHair":false
}
@cbmgit
cbmgit / jsonnull
Created July 3, 2018 18:42
JSON Null Data Type
{
"wife":null
}
@cbmgit
cbmgit / jsonexample
Last active July 3, 2018 19:00
All JSON DataType Example
{
"Actors": [
{
"name": "Tom Cruise",
"age": 56,
"Born At": "Syracuse, NY",
"Birthdate": "July 3, 1962",
"photo": "https://jsonformatter.org/img/tom-cruise.jpg",
"wife": null,
"weight": 67.5,
@cbmgit
cbmgit / sample.html
Created March 16, 2019 17:02
HTML Sample
<!DOCTYPE html>
<html>
<head>
<style>body{background-color:#d0e4fe;}h1{color:orange;text-align:center;}p{font-family:"Times New Roman";font-size:20px;}</style>
</head>
<body>
<h1>CSS example!</h1>
<p>This is a paragraph.</p>
<table>
<tr>
@cbmgit
cbmgit / InsuranceCompanies.json
Last active March 27, 2019 09:20
Top Insurance Companies, Created by using https://jsonformatter.org/
{
"InsuranceCompanies": {
"Time":"Feb 2019",
"Top Insurance Companies":[
{
"No": "1",
"Name": "Berkshire Hathaway ( BRK.A)",
"Market Capitalization": "$308 billion"
},
{
@cbmgit
cbmgit / sample.css
Created June 3, 2020 10:28
CSS Example
.menu_simple {
width: 100%;
background-color: #005555;
}
.menu_simple ul {
margin: 0;
padding: 0;
float: left;
}
.menu_simple ul li {