Skip to content

Instantly share code, notes, and snippets.

@trey
trey / new-grunt-project.md
Last active December 7, 2021 10:27
Start a New Grunt Project

Start a New Grunt Project

$ npm update -g npm
$ npm install -g grunt-cli

In the project folder:

  • Create a package.json with these contents:
@nonoo
nonoo / aprslocsend.php
Created April 21, 2014 08:24
PHP script for sending location APRS message to APRS-IS.
#!/usr/bin/php5
<?php
$aprs_callsign = '';
$aprs_passcode = 0;
$aprs_altinfeet = 2080;
// W is the WX icon. See http://wa8lmf.net/aprs/APRS_symbols.htm
// Use GPS coordinate format, see http://www.csgnetwork.com/gpscoordconv.html
$aprs_coord = '4740.55N/01829.60EW';
$aprs_comment = 'Gerecse WX - www.ha5kdr.hu';
@DrPaulBrewer
DrPaulBrewer / HamGridSquare.js
Last active December 12, 2020 17:18
find Maidenhead grid square from latitude and longitude
// HamGridSquare.js
// Copyright 2014 Paul Brewer KI6CQ
// License: MIT License http://opensource.org/licenses/MIT
//
// Javascript routines to convert from lat-lon to Maidenhead Grid Squares
// typically used in Ham Radio Satellite operations and VHF Contests
//
// Inspired in part by K6WRU Walter Underwood's python answer
// http://ham.stackexchange.com/a/244
// to this stack overflow question:
@JoshMock
JoshMock / README.md
Last active December 7, 2015 20:59
How to generate random tweet strings using your Twitter archive
  1. Log into Twitter and go to your settings
  2. Request your Twitter archive
  3. Download and unzip the archive file
  4. Put tweets.csv in the same directory as this gist's package.json and markov-tweets.js files
  5. Run npm install to install dependencies
  6. Run node markov-tweets.js to generate some strings!

Running the script may take a few seconds depending on the size of your archive CSV. When it's done it will log out 20 random strings based on the Markov chain generated.

@lxe
lxe / goes16-rtlsdr.md
Last active April 9, 2025 14:33
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle
@henshaw
henshaw / disallow-genai-bots.txt
Last active April 13, 2025 15:10
Disallow all pages from being trained for LLMs by all major GenAI bots
User-agent: Amazonbot
User-agent: Anthropic-ai
User-agent: Applebot-Extended
User-agent: AwarioRssBot
User-agent: AwarioSmartBot
User-agent: Bytespider
User-agent: CCBot
User-agent: ChatGPT-User
User-agent: ClaudeBot
User-agent: Claude-Web