Skip to content

Instantly share code, notes, and snippets.

I didn't trust Twitter not to shorten all these urls so I made a gist
Here's an example of an article with issues: https://www.pushsquare.com/news/2023/05/sonys-ps5-remote-play-handheld-will-have-haptic-feedback-adaptive-triggers
Missing content
Insta is missing the first paragraph https://share.cleanshot.com/BSlnpfGl
source: https://share.cleanshot.com/X7j2Fjzp
Extra content
Insta also picking up a lot of ads/related content widgets https://share.cleanshot.com/tW7b8tQK
<!DOCTYPE html><html><head> <title>Chat GPT: Gatsby JS Blog System</title> <meta name="generator" content="chatGPT Saving Bookmark"/><style>body { background-color: rgb(32,33,35); color: rgb(236,236,241); font-size: 16px; font-family: sans-serif; line-height: 28px; margin: -10px;}body > .w-full { padding: 30px;}/* prompt */body > .w-full:nth-child(2n+1) { background: rgb(52,53,65);}/* response */body > .w-full:nth-child(2n+2) { background: rgb(68,70,84);}a, a:visited { color: #7792cd;}pre { margin: 0 0 1em 0; display: inline-block; width: 100%;}pre code.hljs { margin-bottom: 1em; border-radius: 5px;}.whitespace-pre-wrap { white-space: pre-wrap;}.flex-col { max-width: 850px; margin: 0px auto;}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/styles/default.min.css"/></head><body><div class="w-full border-b border-black/10 dark:border-gray-900/50 text-gray-800 dark:text-gray-100 group dark:bg-gray-800"><div class="text-base gap-4 md:gap-6
{
"episodes": [
{
"title": "iOSDocked - EP167 - Slideage",
"url": "https://static1.squarespace.com/static/511f025be4b09463c75fdc0e/t/6100087b640deb576388d93f/1627392164311/iosdocked+-+ep167+-+slideage.mp3",
"downloaded": false,
"listened": false,
"published": 1627406573.0
},
{
----------------------------------------
-- PROPERTIES TO BE AJUSTED --
----------------------------------------
-- Must be set for Outlook 2016 (15)
property localUser : "tbroder"
-- here we specify if we want the quick entry pane (1) or not (0)
property showQuickEntry : 1
-- if you dont want to have omnifocus be brought to the foreground, set this to 0,

Ingredients

  • 6 lbs of pork shoulder ( I don’t know how big my pork shoulder was and it had a bone)
  • 1 cup of amber beer or other
  • 1/4 to 1/2 lb of pork back fat (or more if shoulder is leaner)
  • 4 tablespoons kosher salt
  • 1 1/4 tablespoon sugar
  • 2 teaspoons of freshly grated nutmeg
  • 3/4 teaspoon coriander
  • 1/2 teaspoon celery seed
@timbroder
timbroder / index.html
Last active November 10, 2016 21:44
Unicorn Shitting Rainbows - Konami code starts the fun
<html>
<head>
<script>
(function(a,b){function d(a,b){return a===null?b==="null":a===undefined?b==="undefined":a.is&&a instanceof f?b==="element":Object.prototype.toString.call(a).toLowerCase().indexOf(b)>7}function c(a){var b,e,f,g,h,i,l,m,n;if(a instanceof c)return a;d(a,"array")||(a=String(a).replace(/\s/g,"").toLowerCase().match(/(?:\+,|[^,])+/g));for(b=0,e=a.length;b<e;++b){d(a[b],"array")||(a[b]=String(a[b]).match(/(?:\+\/|[^\/])+/g)),i=[],f=a[b].length;while(f--){var l=a[b][f];h={jwertyCombo:String(l),shiftKey:!1,ctrlKey:!1,altKey:!1,metaKey:!1},d(l,"array")||(l=String(l).toLowerCase().match(/(?:(?:[^\+])+|\+\+|^\+$)/g)),g=l.length;while(g--)l[g]==="++"&&(l[g]="+"),l[g]in k.mods?h[j[k.mods[l[g]]]]=!0:l[g]in k.keys?h.keyCode=k.keys[l[g]]:m=l[g].match(/^\[([^-]+\-?[^-]*)-([^-]+\-?[^-]*)\]$/);if(d(h.keyCode,"undefined"))if(m&&m[1]in k.keys&&m[2]in k.keys){m[2]=k.keys[m[2]],m[1]=k.keys[m[1]];for(n=m[1];n<m[2];++n)i.push({altKey:h.altKey,shiftKey:h.shiftKey,metaKey:h.metaKey,ctrlKey:h.ctrlKey,keyCode:n,jwer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
for when you are bored
http://girlswhodocrossfit.tumblr.com/
http://crossfitchicks.tumblr.com/
http://crossfitbabes.tumblr.com/
http://pinterest.com/werk8/crossfit-girls/
Index: dts_class_switcher.php
===================================================================
--- dts_class_switcher.php (revision 696222)
+++ dts_class_switcher.php (working copy)
@@ -84,26 +84,37 @@
// DEVICE READING & ALTERNATE THEME OUTPUT
// ------------------------------------------------------------------------
public function detect_device_and_set_flag () {
- //Include the MobileESP code library for acertaining device user agents
- include_once('mdetect.php');
import re
def check(test_str):
pattern = r'(?i)\b((?:https?://|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:\'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))'
if not re.search(pattern, test_str):
print 'Invalid : %r' % (test_str,)
else:
print 'Valid : %r' % (test_str,)
check("http://www.timbroder.com")