Skip to content

Instantly share code, notes, and snippets.

View hex20dec's full-sized avatar
馃幆
Super Hyper Laser Focused

hex20dec

馃幆
Super Hyper Laser Focused
View GitHub Profile
@wyattowalsh
wyattowalsh / crawl4ai-user-guide.md
Created November 5, 2024 18:10
Crawl4AI User Guide

Crawl4AI Enhanced User Guide

Crawl4AI (version 0.3.73) is a powerful, open-source Python library tailored for large-scale web crawling and data extraction. It simplifies integration with Large Language Models (LLMs) and AI applications through robust, efficient, and flexible extraction techniques.


Table of Contents

@natzir
natzir / how-to-fool-hive-moderation-s-ai-generated-image-detection-hack.ipynb
Created October 10, 2024 08:16
How to Fool Hive Moderation's AI-Generated Image Detection [Hack]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cemerson
cemerson / archive.org-scanned-book-downloader-bookmarklet.md
Last active June 21, 2025 14:20
Archive.org Scanned Book Downloader Bookmarklet

Archive.org Scanned Book Downloader Bookmarklet

A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.

Demo Video

Archive.org SBDL Demo

Obligatory Legal/Disclaimer:

By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?

@learncodeacademy
learncodeacademy / webpack.config.js
Created January 8, 2016 03:55
Sample Basic Webpack Config
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
@addyosmani
addyosmani / package.json
Last active December 28, 2024 12:07
npm run-scripts boilerplate
{
"name": "my-app",
"version": "1.0.0",
"description": "My test app",
"main": "src/js/index.js",
"scripts": {
"jshint:dist": "jshint src/js/*.js",
"jshint": "npm run jshint:dist",
"jscs": "jscs src/*.js",
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js",
@paulodeleo
paulodeleo / .tmux.conf
Last active July 15, 2022 10:16
Tmux configuration to enable mouse scroll and mouse panel select, taken from: http://brainscraps.wikia.com/wiki/Extreme_Multitasking_with_tmux_and_PuTTY
# Make mouse useful in copy mode
setw -g mode-mouse on
# Allow mouse to select which pane to use
set -g mouse-select-pane on
# Allow mouse dragging to resize panes
set -g mouse-resize-pane on
# Allow mouse to select windows
@pamelafox
pamelafox / impressflow.js
Created February 15, 2012 23:37
impress.js: Attempt at flowchart generation
// Each DIV has data-parent="parentid" (except the top)
// Go through all steps, make hierarchy of parent to children
var childrenIds = {};
var topId;
$('.step').each(function() {
var id = $(this).attr('id');
var parentId = $(this).attr('data-parent');
if (!parentId) {
topId = id;
} else {