Skip to content

Instantly share code, notes, and snippets.

(defun my/c-c ()
(interactive)
(setq unread-command-events (listify-key-sequence (kbd "C-c"))))
(defun my/c-x ()
(interactive)
(setq unread-command-events (listify-key-sequence (kbd "C-x"))))
(defun my/m-x ()
(in
@r4stl1n
r4stl1n / gist:fab79fd5431b052d337659081271e7af
Created October 1, 2023 00:12
jaikumarm caprover template
captainVersion: 4
services:
'$$cap_appname':
image: jaikumarm/iqfeed:latest
environment:
IQFEED_PRODUCT_ID: $$cap_iqfeed_app
IQFEED_LOGIN: $$cap_iqfeed_user
IQFEED_PASSWORD: $$cap_iqfeed_pass
caproverExtra:
notExposeAsWebApp: 'true'
@r4stl1n
r4stl1n / gist:77ebdb40fd4abfad675c32166051f7d2
Created September 25, 2023 15:27
docker-iqfeed caprover template
captainVersion: 4
services:
'$$cap_appname':
image: r4stl1n/docker-iqfeed:latest
environment:
PROD: $$cap_iqfeed_app
LOGIN: $$cap_iqfeed_user
PASS: $$cap_iqfeed_pass
caproverExtra:
notExposeAsWebApp: 'true'
@r4stl1n
r4stl1n / gist:22dfcc931ea3a66c9606b5cb242f6757
Created September 24, 2023 05:04
CapRover Nats Template
captainVersion: 4
services:
'$$cap_appname':
image: nats:latest
command:
- "--user"
- "$$cap_nats_user"
- "--pass"
- "$$cap_nats_pass"
environment:

How To Setup SSL On Haasonline - Ubuntu 16.04

While haas does allow for 2fa to login. There is still concern over the connection to haas being over http. There is a few reasons why https isnt' supported by default in haasonline. However that does not mean it cannot be implemented and managed by those who want the functionality.

Note: This setup is not officially supported by haasonline there fore any issues that occur with this setup the haasonline staff will not assist with.

Requirments

  1. Haasonline Installed on a VPS
  2. A domain name or subdomain pointed to your VPS ( A RECORD)

Keybase proof

I hereby claim:

  • I am r4stl1n on github.
  • I am r4stl1n (https://keybase.io/r4stl1n) on keybase.
  • I have a public key ASCq0o9eU8FvKpPrNy3_Ow9NzTi0lNW1Jt01iIjuBe_SVwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am r4stl1n on github.
  • I am r4stl1n (https://keybase.io/r4stl1n) on keybase.
  • I have a public key whose fingerprint is 9241 AA9F F30E EC92 7A61 3877 5A47 58A2 6258 419C

To claim this, I am signing this object: