This is a custom script for updating my install of gogs
This script is not officially endorsed by anyone
Use this script at our own risk, etc, etc
My install may differ significantly from your own, so here are some points of note:
#include <stdio.h> | |
#include <stdarg.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct slice { | |
size_t type; | |
int len; | |
int cap; |
POP3: | |
telnet example.com 110 | |
USER user | |
PASS pass | |
STAT | |
LIST | |
RETR 1 | |
DELE 1 |
<!doctype html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>Index</title> | |
</head> | |
<body> | |
<input type="text" placeholder="gtype suggest"> | |
<ul></ul> |
#!/bin/bash | |
# | |
# preview (neo)vim colors | |
# | |
# use "~/.vim/colors" and "vim" | |
# instead of "~/.config/nvim/colors" and "nvim" | |
# | |
# IFF you're a nerd and aren't using neovim yet | |
# | |
# usage: |
#!/bin/bash | |
# | |
# Simple DynDNS Update for afraid.org | |
# Updated Wed Oct 8 08:00:35 2014 | |
# Updated Tue 21 Jul 2015 06:15:31 AM EDT | |
# - Uses Bash now! | |
CURRENT_IP=$(dig +short myip.opendns.com @resolver1.opendns.com) | |
LAST_IP=$(cat /var/spool/cron/current_ip) |
This is a custom script for updating my install of gogs
This script is not officially endorsed by anyone
Use this script at our own risk, etc, etc
My install may differ significantly from your own, so here are some points of note:
nick = "tso|bot" | |
chan = "#test" | |
introduced = false | |
irc = connect("localhost",6667) | |
#irc = connect(6667) | |
function sendmsg(msg) | |
write(irc,string(msg,"\n")) | |
println(msg) |
# In order to have your log messages which you wrote to syslog | |
# e.g. with go's log/syslog package: | |
# | |
# import ( | |
# "log" | |
# "log/syslog" | |
# ) | |
# //... | |
# if syslogw, err := syslog.New(syslog.LOG_NOTICE, "myprog"); err == nil { | |
# log.SetOutput(syslogw) |
#!/bin/sh | |
echo -ne " \033[44m\033[34m4444444444444444444444444444444444444444444\033[0m \n" | |
echo -ne " \033[44m\033[34m4444444444444444444444444444444444444444444\033[0m \n" | |
echo -ne " \033[34m;\033[44m444444444444444444444\033[47m▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒\033[44m44\033[0m \n" | |
echo -ne " \033[34m;\033[44m444444444444444444444\033[47m▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒\033[44m44\033[0m \n" | |
echo -ne " \033[44m\033[34m444444\033[34m4\033[0m\033[47m\033[34m \033[0m\033[44m\033[34m444444444\033[47m▒▒▒▒▒▒▒ \033[47m\033[34m▒▒▒▒▒\033[44m44\033[0m \n" | |
echo -ne " \033[44m\033[34m444444\033[34m4\033[0m\033[47m; \033[0m\033[44m\033[34m444444444\033[47m▒▒▒▒▒▒▒\033[47m\033[34m \033[47m\033[34m▒▒▒▒▒\033[44m44\033[0m \n" | |
echo -ne " \033[44m\033[34m444444\033[34m4\033[0m\033[47m; \033[0m\033[47m:\033[0m\033[44m\033[34m44444444\033[ |
#!/bin/sh | |
echo -ne " \033[47m\033[1;34m4444444444444444444444444444444444444444444\033[0m \n" | |
echo -ne " \033[47m\033[1;34m4444444444444444444444444444444444444444444\033[0m \n" | |
echo -ne " \033[1;34m;\033[47m44444444444444444444444444444444444444444\033[0m \n" | |
echo -ne " \033[1;34m;\033[47m444444\033[0m\033[47m\033[34m4444444\033[1;34m444444444444444\033[0m\033[47m\033[34m4444444\033[1;34m444444\033[0m \n" | |
echo -ne " \033[47m\033[1;34m444444\033[0m\033[47m\033[34m4:\033[1;34m::::\033[0m\033[47m\033[34m4\033[1;34m444444444444444\033[0m\033[47m\033[34m4\033[1;34m:::::\033[0m\033[47m\033[34m4\033[1;34m444444\033[0m \n" | |
echo -ne " \033[47m\033[1;34m444444\033[0m\033[47m\033[34m4; \033[0m\033[47m\033[34m4\033[1;34m44444444444444\033[0m\033[47m\033[34m4\033[1;34m; ;\033[0m\033[47m\033[34m4\033[1;34m444444\033[0m \n" | |
echo -ne " |