This file contains hidden or 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
(defun neale/rcirc-butt-markup (sender response) | |
(while (re-search-forward "the cloud" nil t) | |
(replace-match "my butt")) | |
(goto-char (point-min)) | |
(while (re-search-forward "cloud" nil t) | |
(replace-match "butt")) | |
(goto-char (point-min)) | |
(while (re-search-forward "cyber" nil t) | |
(replace-match "spider"))) | |
(add-hook 'rcirc-markup-text-functions 'neale/rcirc-butt-markup) |
This file contains hidden or 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 | |
# Let the user write to the HTML directory | |
sudo chown pi /var/www/html | |
# Set up Apache | |
sudo apt update | |
sudo apt install apache2 | |
sudo a2enmod cgi | |
sudo apache2ctl graceful |
This file contains hidden or 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 | |
sudo apt-get update | |
sudo debconf-set-selections <<EOF | |
postfix postfix/root_address string pi | |
postfix postfix/main_mailer_type select Internet Site | |
postfix postfix/mailname string raspberry.pi | |
postfix postfix/mynetworks string | |
postfix postfix/recipient_delim string | |
postfix postfix/protocols select all |
This file contains hidden or 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
#!/usr/bin/python3 | |
""" | |
Python implementation of "The Bubble Babble Binary Data Encoding" (draft-huima-01) | |
Please note that this is not a cryptographic hash, | |
it can be reversed. | |
""" | |
class BubbleBabble: |
This file contains hidden or 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
#! /usr/bin/python | |
import smbus | |
import time | |
import random | |
bus = smbus.SMBus(1) | |
address = 0x71 | |
chars = " \"'(),-01234567890ABCDEFGHIJLNOPQRSTUY_`cehiou" |
This file contains hidden or 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
;; | |
;; ssh | |
;; | |
(require 'comint) | |
(require 'shell) | |
(defgroup ssh nil | |
"Secure shell interface" | |
:group 'processes | |
:group 'unix) |
This file contains hidden or 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
[slashnet] | |
client = yes | |
accept = 58697 | |
connect = us.slashnet.org:6697 |
This file contains hidden or 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
;;; rcirc.el --- default, simple IRC client. | |
;; Copyright (C) 2005-2014 Free Software Foundation, Inc. | |
;; Author: Ryan Yeske <[email protected]> | |
;; Maintainers: Ryan Yeske <[email protected]>, | |
;; Deniz Dogan <[email protected]> | |
;; Keywords: comm | |
;; This file is part of GNU Emacs. |
This file contains hidden or 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
foreground=yes | |
debug=7 | |
pid= | |
[slashnet] | |
client = yes | |
accept = 38697 | |
connect = us.slashnet.org:6697 |
This file contains hidden or 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
<!DOCTYPE html> | |
<!-- Crummy DJ software in pure JavaScript --> | |
<!-- I wrote in on Chrome using Mozilla documentation, so in theory it'll work on either. --> | |
<!-- 2017 Neale Pickett --> | |
<!-- Placed in the Public Domain --> | |
<html> | |
<head> | |
<script> | |
function loadFile(deck, e) { | |
// Having the user select the file is how you get local files without upsetting CORS. |
OlderNewer