Skip to content

Instantly share code, notes, and snippets.

@robws
robws / hudson_clarity_lightning.md
Last active December 5, 2023 13:36
Clarity lightning talk resources

Takeaways

Use the bathroom

Before and after

✅ Good ❌ Bad

@robws
robws / charlesproxy.mobileconfig
Created October 4, 2023 14:44
Charles Proxy Shortcut iOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Configures proxy settings to use Charles Proxy</string>
<key>PayloadDisplayName</key>
@robws
robws / datetime hotstrings.ahk
Last active October 29, 2022 14:44
set up shortcuts to generate the date and time in different formats
/*
Date/time hotstrings
If you want the date/time in the format yyyymmdd_hhMM on 10/29/2022 at 10:37 AM, type:
dtm
You should see:
20221029_1037
To add your own:
@robws
robws / slack-channel-list.js
Created February 28, 2022 19:41
Chrome-Console-Output-No-Source-Slack-Channel-List
/*
Functions
*/
function consoleWithNoSource(...params) {
setTimeout(console.log.bind(console, ...params));
}
/*
Channel List
/**
* Convert Page Links to MindMap
* @description
Convert page links to MindMap pasteable text
* @minified
javascript:(function(){function linksToTable(linkList){var tableOut="<table class='financial'><thead><tr><th>Name</th><th>URL</th></tr></thead>";var linkList=Array.from(linkList).map(function(link){return"<tr><td>"+link.innerHTML+"</td><td>"+link.href+"</td></tr>"});return tableOut+"\n"+linkList.join("\n")+"</table>"}function linksToMindMap(linkList){var linkList=Array.from(linkList).map(function(link){return link.innerHTML+"\n "+link.href});return linkList.join("\n")}var htmlText="",thisSelection,g,selectionDiv,i;if(window.getSelection){thisSelection=window.getSelection();if(thisSelection.rangeCount){selectionDiv=document.createElement("div");for(i=0;i<thisSelection.rangeCount;++i){selectionDiv.appendChild(thisSelection.getRangeAt(i).cloneContents())}htmlText=selectionDiv.innerHTML}}else if((thisSelection=document.selection)&&thisSelection.type=="Text"){alert(thisSelection);htmlText=thisSelection.cre
@robws
robws / Create-Image-BalsamiqWithText64x.cs
Created September 1, 2021 14:17
Balsamiq 64x64 PNG File Type Icon
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Linq;
/// <summary>
/// The {{Create-Image-BalsamiqIconWithText64x}} class.
/// Creates a 64x64 "file type" graphic with an embedded caption inside, in a transparent format suitable for Balsamiq
@robws
robws / Github-DateModified.css
Created February 6, 2018 20:55
Stylish-style css for github to show date modified for repo at top left of screen.
span[itemprop="dateModified"] {
background : #cc0000;
border : 2px solid #f5f5f5;
border-radius : 15%;
box-shadow : 0 0 3px gray;
color : #f5f5f5;
display : block !important;
font-family : "Open Sans";
font-size : 12px;
font-weight : bold;