Skip to content

Instantly share code, notes, and snippets.

@apoorvanand
apoorvanand / soap_rest_comparison.html
Created November 18, 2018 17:37
Responsive table Example showing Comparison between SOAP and REST services
<table border="1"><colgroup><col><col><col></colgroup><thead><tr class="header"><th><p class="SimplePara">Topic</p></th><th><p class="SimplePara">SOAP</p></th><th><p class="SimplePara">REST</p></th></tr></thead><tbody><tr class="noclass"><td><p class="SimplePara">Origin</p></td><td><p class="SimplePara">SOAP (Simple Object Access Protocol) was created in 1998 by Dave Winer et al. in collaboration with Microsoft. Developed by a large software company, this protocol addresses the goal of addressing the needs of the enterprise market
.</p></td><td><p class="SimplePara">REST (Representational State Transfer) was created in 2000 by Roy Fielding at UC, Irvine. Developed in an academic environment, this protocol embraces the philosophy of the open Web.</p></td></tr><tr class="noclass"><td><p class="SimplePara">Basic Concept</p></td><td><p class="SimplePara">Makes data available as services (verb + noun), for example “getUser” or “PayInvoice”</p></td><td><p class="SimplePara">Makes data available
@apoorvanand
apoorvanand / gitea_install.md
Created July 15, 2018 09:43 — forked from appleboy/gitea_install.md
how to install gitea in Ubuntu/Debian.

Gitea

Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket or Gitlab. The initial development have been done on Gogs but we have forked it and named it Gitea. If you want to read more about the reasons why we have done that please read this blog post.

Run Gitea service

Download Gitea binary from download page first.

$ wget https://dl.gitea.io/gitea/1.1.0/gitea-1.1.0-linux-amd64 -O gitea
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h2>Cat Caroushell</h2>
@apoorvanand
apoorvanand / index.html
Last active April 10, 2018 11:40
SVG / CSS animation - checkbox
<h1>SVG toggle animation</h1>
<h2>A full css/svg checkbox button</h2>
<hr>
<div class='checkbox'>
<label class='checkbox__container'>
<input class='checkbox__toggle' type='checkbox'>
<span class='checkbox__checker anim'></span>
<svg class='checkbox__path' id='checkbox__path' space='preserve' version='1.1' viewbox='0 0 248.868 99.876'>
<path class='path path--top' d='M194.27,59.599l42.438-42.028
c-9.086-10.419-22.443-17.006-37.215-17.006c-35.529,0-46.643,27.712-75.047,27.712s-38-27.712-75.072-27.712