Skip to content

Instantly share code, notes, and snippets.

View manuchap's full-sized avatar
🏠
Working from home

Manu manuchap

🏠
Working from home
View GitHub Profile
// Request (POST https://webhook.site/45d4ae25-efd0-49ae-b468-a813a2a6005c)
jQuery.ajax({
url: "https://webhook.site/45d4ae25-efd0-49ae-b468-a813a2a6005c",
type: "POST",
headers: {
"Cookie": "laravel_session=fDXXvuqwdxxmfrqP0vLDPMaeP0w1lvpl0YE7wyvR",
"Authorization": "Basic Og==",
"Content-Type": "application/json",
},
---
title: Sitemap
slug: sitemap
is_layout: false
listed: false
published: true
cache_strategy: none
response_type: text/xml
---
<?xml version="1.0" encoding="UTF-8"?>
@manuchap
manuchap / HTML Code Sniffer.js
Last active April 17, 2019 21:23
Slide the link to a bookmark to check for standards compliance.
javascript:(function()%20%7Bvar%20_p='//squizlabs.github.io/HTML_CodeSniffer/build/';var%20_i=function(s,cb)%20%7Bvar%20sc=document.createElement('script');sc.onload%20=%20function()%20%7Bsc.onload%20=%20null;sc.onreadystatechange%20=%20null;cb.call(this);%7D;sc.onreadystatechange%20=%20function()%7Bif(/%5E(complete%7Cloaded)$/.test(this.readyState)%20===%20true)%7Bsc.onreadystatechange%20=%20null;sc.onload();%7D%7D;sc.src=s;if%20(document.head)%20%7Bdocument.head.appendChild(sc);%7D%20else%20%7Bdocument.getElementsByTagName('head')%5B0%5D.appendChild(sc);%7D%7D;%20var%20options=%7Bpath:_p%7D;_i(_p+'HTMLCS.js',function()%7BHTMLCSAuditor.run('WCAG2AA',null,options);%7D);%7D)();
@manuchap
manuchap / Toggle_Liquid_Json.json
Created January 9, 2019 17:07
Sublime shortcut - Toggle Liquid/Json
{
"keys": ["alt+a"],
"command": "set_file_type",
"args":
{
"syntax": "Packages/Siteleaf Liquid Syntax/Syntaxes/HTML (Liquid).tmLanguage"
},
"context": [
{
"key": "selector",
@manuchap
manuchap / Toggle_Liquid_Haml.json
Last active January 9, 2019 16:57
Sublime shortcut - Toggle Liquid/Haml
{
"keys": ["alt+z"],
"command": "set_file_type",
"args":
{
"syntax": "Packages/Siteleaf Liquid Syntax/Syntaxes/HTML (Liquid).tmLanguage"
},
"context": [
{
"key": "selector",
@manuchap
manuchap / locomotive_wordpress.md
Created June 26, 2018 12:56 — forked from joshrieken/locomotive_wordpress.md
A comparison of Rails+LocomotiveCMS vs. Wordpress for small business CMS sites.

Wordpress (PHP-based CMS [content management system])

Pros

Quick bootup

You can get up and running very quickly.

Hosting options