$ npm update -g npm
$ npm install -g grunt-cli
In the project folder:
- Create a
package.json
with these contents:
#!/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'; |
// 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: |
tweets.csv
in the same directory as this gist's package.json
and markov-tweets.js
filesnpm install
to install dependenciesnode 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.
Also see the original Pieter Noordhuis's guide
You need:
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 |