This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASIC OI (CUCUMBER) KIMCHI | |
-------------------------------------------------------------------------- | |
Oi (cucumber) kimchi is a delicious, refreshing variation on the | |
traditional Korean kimchi recipe. | |
This particular recipe is a modified version of the recipe posted by Dr. | |
Ben Kim, at http://www.drbenkim.com/how-to-make-cucumber-kim-chi.htm. | |
-------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# APRS4R - a ruby based aprs gateway/digipeater | |
# Copyright (C) 2006 by Michael Conrad <do5mc at aprs4r.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'thread' | |
require 'json' | |
require 'net/http' | |
require 'uri' | |
require 'betabrite' | |
require 'psych' | |
require 'usb' | |
class StreamClient | |
def initialize user, pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASIC BAECHU KIMCHI | |
-------------------------------------------------------------------------- | |
Baechu (Napa cabbage) kimchi is one of the staple foods in Korea. Spicy | |
and tangy, it is typically served as a side dish, with rice, but is also | |
found in various Korean soups and stews. | |
This basic version has just the fundamentals; once you're comfortable | |
with this version, you might try adding shredded carrots, Daikon radish, | |
pickled baby shrimp, or any number of other things. Search around online |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASIC OI (CUCUMBER) KIMCHI | |
-------------------------------------------------------------------------- | |
Oi (cucumber) kimchi is a delicious, refreshing variation on the | |
traditional Korean kimchi recipe. | |
This particular recipe is a modified version of the recipe posted by Dr. | |
Ben Kim, at http://www.drbenkim.com/how-to-make-cucumber-kim-chi.htm. | |
-------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Builds Nginx with Passenger support. | |
# Uses the www/nginx FreeBSD port as the nginx source, also applies | |
# the FreeBSD port patches and /usr/local/etc/rc.d/nginx rc(8) script. | |
# | |
# Enables building Nginx with Passenger from REE for example as the | |
# www/nginx port with PASSENGER enabled uses system ruby. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def dec_to_grid(dms) | |
grid = '' | |
lat = dms[0]+90 | |
lon = dms[1]+180 | |
v = (lon/20).to_i | |
lon -= (v*20) | |
grid += ((?A.to_i + v).chr).to_s # first letter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def degrees_to_dms(dec) | |
deg = dec.floor | |
remainder = (dec - deg) * 3600 | |
min = (remainder/60).floor | |
sec = remainder - (min*60) | |
a = [deg, min, sec] | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=item decrypt($value) | |
Uses the private key to decrypt the string. Returns the decryoted string or undef on failure. | |
You should generally not have to worry about calling this, as the system handles this for you. | |
=cut | |
sub decrypt { | |
my ($self,$value) = @_; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASIC BAECHU KIMCHI | |
-------------------------------------------------------------------------- | |
Baechu (Napa cabbage) kimchi is one of the staple foods in Korea. Spicy | |
and tangy, it is typically served as a side dish, with rice, but is also | |
found in various Korean soups and stews. | |
This basic version has just the fundamentals; once you're comfortable | |
with this version, you might try adding shredded carrots, Daikon radish, | |
pickled baby shrimp, or any number of other things. Search around online |