REST API response format based on some of the best practices
Discover gists
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Circle Game</title> | |
<style> | |
body { | |
margin: 0; | |
overflow: hidden; |
"""Reads a har file from the filesystem, converts to CSV, then dumps to | |
stdout. | |
""" | |
import argparse | |
import json | |
from urllib.parse import urlparse | |
def main(harfile_path): | |
"""Reads a har file from the filesystem, converts to CSV, then dumps to |
In order to be able to build v8 from scratch on Windows for x64, please follow the following steps.
These instructions were updated to work with Windows 11 Build 10.0.22621, but this should also work on WInodws 10
NOTE: While the Chrome team does provide decent documentation, there are some nuances and other additional steps that must be done for v8 to compile on Windows.
Documentation:
adclick.g.doubleclick.net, addthis.com, adgardener.com, adnxs.com, ads.pointroll.com, ads.shorttail.net, apture.com, bop.fm, cdn.taboolasyndication.com, chartbeat.com, chartbeat.net, d1.openx.org, doubleclick.net, doubleverify.com, exitjunction.com, fyre.co, getconnected.southwestwi-fi.com, googleadservices.com, gravity.com, grvcdn.com, imrworldwide.com, intellitxt.com, jetpackdigital.com, kontera.com, livefyre.com, luminate.com, meebo.com, moovmanage.com, outbrain.com, parsely.com, po.st, pointroll.com, pubmatic.com, quantserve.com, s.ppjol.net, scorecardresearch.com, serving-sys.com, sharethis.com, snap.com, superclick.com, taboola.com, taboolasyndication.com, tynt.com, wibiya.com, zergnet.com |
prism.registerWidget("funnel", { | |
name: "funnel", | |
family: "Column", | |
title: "Funnel", | |
iconSmall: "/plugins/funnelWidget/widget-24.png", | |
styleEditorTemplate: "/plugins/funnelWidget/styler.html", | |
style: { | |
isCurved: false, |
javascript:(function(){ | |
/*! | |
* description: Auto Suggestion Bookmarklet v1.0 using IDOL OnDemand's Expand Term v1.0 API & jQuery v1.11.0; | |
* author: Mahesh Kumar RP (mahesh-kumar.r-p@hp.com); Asia Pacific Information Analytics Sales Engineer; | |
* date: 25-April-2014; | |
* comments: Developed for IDOL OnDemand's Ultimate Hacker Challenge; | |
* tested: Works in FireFox v28.0, Google Chrome v34.0 & Internet Explorer v10.0; | |
* usage: select text box in website and click on the AutoSuggest bookmarklet to get suggestion from IOD repository; | |
*/ |
You may want a linter plugin to lint your code in Vim but you probably don't need it. At least try the built-in way before jumping on the plugin bandwagon.
autocmd FileType <filetype> setlocal makeprg=<external command>
This autocommand tells Vim to use <external command>
when invoking :make %
in a <filetype>
buffer. You can add as many similar lines as needed for other languages.
These examples are type 3 RESTful API requests and responses. The JSON-HAL specification is used to implement HATEOAS.
Some of the examples are based on my work as architect of the RESTful API at http://www.hautelook.com. All proprietary information has been removed.
- JSON-HAL specification: http://stateless.co/hal_specification.html#media_type_identifiers
- JSON linking with HAL: http://blog.stateless.co/post/13296666138/json-linking-with-hal