Skip to content

Instantly share code, notes, and snippets.

@rhildred
rhildred / README.md
Last active July 15, 2022 21:41
How to install laravel 8 vue hello world app

To get Larval 8 running on Windows

  1. Use this article to install php and composer
  2. edit the php.ini file to uncomment fileinfo
extension=curl
;extension=ffi
;extension=ftp
extension=fileinfo
@rhildred
rhildred / readme.md
Last active January 24, 2023 21:44 — forked from Anime4000/readme.md
Docker/Linux Mail Server Postfix Dovecot Virtual User, no sql database. Add Apache, Roundcube and Spamassassin.

Linux Mail Server

In this guide, I will show you how to make a Linux Mail Server in fast and easy way. This guide was taken from tiq's tech-blog for recent version, Linux distro I using is Ubuntu 20.04 LTS. I forked this Gist so that I could add my own notes about spamassassin and roundcube that I also need to get working.

Certificate

Make sure you have Certificate and Key file ready to use.

You can use existing Web Server SSL certificate, since we going to use same domain, example.com.

If you plan to use mx.example.com or mail.example.com you need create another one for these.

@rhildred
rhildred / simplegame.py
Created September 26, 2021 21:55
python game
print("You enter a dark room with two doors. Do you go through door #1 or door #2?")
door = input("> ")
if door == "1":
print("There's a giant bear here eating a cheese cake. What do you do?")
print("1. Take the cake.")
print("2. Scream at the bear.")
@rhildred
rhildred / gist:e45fd5e5a2c2de29cc5f
Last active October 7, 2015 18:02
Something that I came across in VB forms with Combo Box

When creating a combo box, there are 2 messages that trigger in a windows forms app.


    Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged
        MessageBox.Show(ComboBox1.SelectedItem.ToString() & " was selected")
    End Sub

and when text is entered in to the top portion of the combo box:

@rhildred
rhildred / gist:5984685
Last active December 19, 2015 16:38
Gregor Gramlich's phpslim doesn't work with the latest version of fitnesse
The fix was to use the http://fitnesse.org/fitnesse.jar?responder=releaseDownload&release=20111026
version of fitnesse. Then it worked great following the instructions in the tutorial:
http://ggramlich.github.io/phpslim/installation.html.
I also found that my MAC running XAMPP wouldn't run a phar file properly. I had to set:
detect_unicode = Off
in my php.ini