Skip to content

Instantly share code, notes, and snippets.

@AdamPI314
AdamPI314 / gnome-terminal-colors-for-putty.reg
Created October 20, 2016 22:53 — forked from bheeshmar/gnome-terminal-colors-for-putty.reg
I finally got fed up enough with PuTTY's default ANSI colors that I customized them to match the gnome-terminal settings on Ubuntu 10.04
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings]
"Colour6"="0,0,0"
"Colour7"="85,87,83"
"Colour8"="204,0,0"
"Colour9"="239,41,41"
"Colour10"="78,154,6"
"Colour11"="138,226,52"
"Colour12"="196,160,0"
@AdamPI314
AdamPI314 / ubuntu-configure-sendmail-with-gmail
Created February 7, 2017 06:15 — forked from sshtmc/ubuntu-configure-sendmail-with-gmail
Ubuntu sendmail using smtp.gmail.com
#!/bin/bash
HOST=$(hostname)
function install_postfix() {
echo | sudo debconf-set-selections <<__EOF
postfix postfix/root_address string
postfix postfix/rfc1035_violation boolean false
postfix postfix/mydomain_warning boolean
postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
package main
import (
"fmt"
)
func main() {
n := 15
fizz := "Fizz"
buzz := "Buzz"