Skip to content

Instantly share code, notes, and snippets.

View peccu's full-sized avatar
🦉
Information is the network

peccu peccu

🦉
Information is the network
View GitHub Profile
@peccu
peccu / freenom.com.ddns.sh
Created May 14, 2016 03:00 — forked from kampro/freenom.com.ddns.sh
Dynamic DNS support shell script for freenom.com
#!/bin/bash
# settings
# Login information of freenom.com
freenom_email="main@address"
freenom_passwd="pswd"
# Open DNS management page in your browser.
# URL vs settings:
# https://my.freenom.com/clientarea.php?managedns={freenom_domain_name}&domainid={freenom_domain_id}
freenom_domain_name="domain.name"
@peccu
peccu / clhs.ros
Last active November 7, 2016 03:02 — forked from fukamachi/clhs.ros
A Roswell script for opening HyperSpec page describing a given symbol in the default browser.
#!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
#|
A Roswell script to open the HyperSpec page of a specified symbol in the default browser.
@peccu
peccu / README.org
Last active February 26, 2023 17:46 — forked from codebycliff/ReadingList
AppleScript command for adding entry to safari reading list.

Add to Reading List from Command

Install

Add contents of ReadingList.sh to .bashrc or .zshrc etc.

Usage

atrl URL

Example

atrl http://google.com

@peccu
peccu / hubotify.ros
Last active June 6, 2017 03:12 — forked from fukamachi/hubotify.ros
Generate a Hubot script (.js file) from the given Roswell script.
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
#|
Generate a Hubot script (.js file) from the given Roswell script.
Usage:
$ hubotify <roswell script>
@peccu
peccu / TurnipPrices.cpp
Last active May 11, 2020 00:42 — forked from Treeki/TurnipPrices.cpp
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{