Skip to content

Instantly share code, notes, and snippets.

View MikeRalphson's full-sized avatar
💭
I may be slow to respond.

Mike Ralphson MikeRalphson

💭
I may be slow to respond.
View GitHub Profile
{
"info": {
"_postman_id": "64db4d98-d050-4f4b-8a02-86be628160f9",
"name": "Cognitive Search API - User Group",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "641744"
},
"item": [
{
"name": "Create SharePoint Data Source",
@MikeRalphson
MikeRalphson / postman-network.json
Created October 1, 2023 01:31 — forked from kinlane/postman-network.json
postman-network.json
[
{
"title": "PayPal Here",
"link": "https://explore.postman.com/team/paypalhere",
"image": "https://static.getpostman.com/assets/apinetwork/paypalhere-logo.png"
},
{
"title": "Imgur",
"link": "https://explore.postman.com/team/imgur",
"image": "https://static.getpostman.com/assets/apinetwork/imgur-logo.png"
@MikeRalphson
MikeRalphson / key.md
Created November 29, 2020 11:44
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

JavaScript to Rust Cheat Sheet

The goal of this is to have an easily-scannable reference for the most common syntax idioms in JavaScript and Rust so that programmers most comfortable with JavaScript can quickly get through the syntax differences and feel like they could read and write basic Rust programs.

What do you think? Does this meet its goal? If not, why not?

Variables

JavaScript:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>add jquery</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>A list of base boxes for Vagrant - Vagrantbox.es</title>
</head>
<body>
<div id="main">
<table class="sortable">
<thead>
<tr><th>Name</th><th>Provider</th><th>URL</th><th class="sorttable_numeric">Size</th></tr>
@MikeRalphson
MikeRalphson / nitro.worker.logs
Created December 8, 2016 21:30
Lots of logs
2016-11-09
[2016-11-09 16:31:48] app.NOTICE: b0821slh [START] Processing type (episode) (ref "1478709046111507") ["b0821slh","episode","1478709046111507"] []
[2016-11-09 16:31:48] app.NOTICE: http://programmes.api.bbc.com/nitro/api/programme_details?pid=b0821slh&api_key=7nFMpsg8D5UC7Elub94cNLXDea9JFQme:
{
"nitro": {
"results": {
"page": 1,
"page_size": 10,
"total": 1,
"more_than": 0,
=== Machine on wifi , dev on IE8
machine:
wifi to iplayer_mobile
-any turn proxies off
unplug eth
dev:
proxies off and extacess on
#reithproxies off
#extaccess pal-ct
@MikeRalphson
MikeRalphson / cumber.xqy
Created July 13, 2016 14:18 — forked from HakimCassimallyBBC/cumber.xqy
'cumber sketch
xquery version "1.0-ml";
declare namespace p = "http://ns.webservices.bbc.co.uk/2006/02/pips";
declare namespace n = "http://www.bbc.co.uk/nitro/";
declare namespace nm = "http://www.bbc.co.uk/nitro/meta";
import module namespace mem = "http://xqdev.com/in-mem-update" at "/MarkLogic/appservices/utils/in-mem-update.xqy";
declare function local:tokenize($item) as xs:string* {
typeswitch($item)
case text()
[live]
share.host = http://www.bbc.co.uk
pulsar.host = https://api.live.bbc.co.uk
candy.host = https://api.live.bbc.co.uk
desktop.host = http://www.bbc.co.uk
ssiFetcher.host = http://www.bbc.co.uk
tabloid.pollingHost = http://polling.bbc.co.uk
tabloid.js.compiled = true
cirrus.weather_host = http://open.live.bbc.co.uk
cirrus.jsonp_host = http://m.bbc.co.uk