Skip to content

Instantly share code, notes, and snippets.

2024-06-07,10:43:42: Logging session started
2024-06-07,10:43:42: App version: v0.5.12.6
2024-06-07,10:43:42: Initializing microphone pipeline.
2024-06-07,10:43:42: Initializing effect
2024-06-07,10:43:45: Mic denoiser initialized successfully.
2024-06-07,10:43:45: Initializing playback pipeline.
2024-06-07,10:43:45: Initializing effect
2024-06-07,10:43:45: Playback denoiser initialized successfully.
2024-06-07,10:43:48: Starting MicCapture Threads
2024-06-07,10:43:48: Stopping MicCapture threads
// Replace this with your recipe id from https://www.gooten.com/Admin/#/settings/api
const RECIPE_ID = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
fetch(`https://api.print.io/api/v/5/source/api/productpreview/?recipeid=${RECIPE_ID}`, {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": JSON.stringify({
"Sku": "PremiumPhoneCase-iPhone-12-SnapCaseGloss",
"Images": [
@BoldBigflank
BoldBigflank / Ideas list
Created March 10, 2018 05:02
My ideas list for my first hackathon September 24, 2011. I ended up making the last one.
Dining wait list - email newsletter
Windows 8 - Current Calls - connect, terminate, call back,
Get the Picture! (r/pics)
Shut up and Take My Money! App (zappos, doba, best buy, reddit)
What's playing? Get zip code from Twilio, get tour info from JamBase, get music from eMusic
- press * to send text with JamBase event info link
- press # to move to next event
@BoldBigflank
BoldBigflank / gist:ba57c191594fa8e5493f
Last active December 17, 2015 10:25
Quiplash Tweet This button
Find the tutorial at http://quipimages.herokuapp.com
Find the code source at http://quipimages.herokuapp.com/javascripts/bookmarklet.js
@BoldBigflank
BoldBigflank / gist:254fb6a148918fa89119
Last active September 15, 2015 04:53
Drawful Colors
javascript: {
var color = null;
var c = $('canvas.sketchpad')[0];
var swidth = 32;
var sheight = 32;
var emojiX = 0;
var emojiY = 0;
function changeColor(newColor) {
public static void PrintHello(int remaining){
print "Hello World\n";
if(remaining > 1) PrintHello(remaining-1);
}
PrintHello(1200);
@BoldBigflank
BoldBigflank / Image2Map.py
Last active November 29, 2023 12:43
Convert an image of a map into its generated tile-set.Command line args: tileWidth, tileHeight, fileexample:python Image2Map.py 16 16 map.png
# Filename : Image2Map.py
# Authors : Alex Swan, Georg Muntingh and Bjorn Lindeijer
# Version : 1.3
# Date : June 17, 2013
# Copyright : Public Domain
import os, sys, networkx
from PIL import Image
class TileMap:
@BoldBigflank
BoldBigflank / Android.mk
Created September 23, 2012 17:38
android/jni/
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := game_shared
LOCAL_MODULE_FILENAME := libgame
LOCAL_SRC_FILES := hellocpp/main.cpp \
../../Classes/AppDelegate.cpp \
@BoldBigflank
BoldBigflank / gist:2175093
Created March 23, 2012 21:11
Cat Fact SMS
<?php
// Get a greeting based on the body
$Body = $_GET['Body'];
if(stripos($Body, "e4n3m23pd90vc4:9nfaDFADFD42baconP0o") !== FALSE){
$greeting = "&lt;Command not recognized&gt; ";
}
else if(stripos($Body, "stop") !== FALSE || strlen($Body)>30){
$greeting = "Hammer time. ";
}
The cat was seen as a sacred animial in ancient Eqypt, and the history of domestic cats dates back to as early as 8000 years.
The biggest breed of domesticated cats are called a Maine Coon cat and weighs up to 11 kg.
Cats are some of the smartest animals and can interpret a human's mood and feelings.
The average cat sleeps between 12-14 hours a day.
Cats paw (repeatedly treading on a spot - often it's owner) to mark their territory. Cats sweat through the bottom of their paws and rub this off as a marking mechanism.
White cats with blue eyes are quite often born deaf.
Cat urine glows in the dark if a black light is shined on it. This is a good way to detect cat urine in your home.
Cats have 220^0 field of view where humans only have 180^0.
Cats' sense of smell is 14 times stronger than that of humans.
Cats have 30 permanent teeth, while adult humans have 32.