Skip to content

Instantly share code, notes, and snippets.

View rishijavia's full-sized avatar

Rishi Javia rishijavia

View GitHub Profile
  1. Review beaker PR
  2. Review beaker-abs PR
  3. Run beaker PR through the pipeline set in BKR-1177
  • should see warning messages specified in bullet point #2 below
  • because there's no ssh_connection_preference provided by beaker-abs before PR is merged
    • using the default connection prefs and ip is first method, but beaker-abs doesn't generate an ip value
  1. Merge beaker-abs PR and release a new gem
  2. Run beaker-abs pipeline after the beaker-abs gem release
@rishijavia
rishijavia / spacemacs
Last active August 9, 2017 04:03
Spacemacs dotfile
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@rishijavia
rishijavia / setup-vmware-image-with-static-IP.md
Last active May 20, 2020 20:49 — forked from pjkelly/setup-vmware-image-with-static-IP.markdown
VMWare Fusion Images with a static IP Address on Mac OS X Snow Leopard

How to setup your VMWare Fusion images to use static IP addresses on Mac OS X

When you're just configuring a single server, having a static IP address for your server image isn't too important, but when you're configuring multi-server setups, it can be useful to duplicate a number of server images and give each a static IP address so you can consistently deploy to them. While not documented well at all, it turns out that this is relatively easy to accomplish in four simple steps.

1. Determine the MAC address of your guest machine

Let's say you have a guest machine with the name ubuntu-lucid-lynx-base and you keep your guest machine images in ~/Documents/Virtual\ Machines/. To determine the MAC address for this VM, you can run:

cat ~/Documents/Virtual\ Machines/ubuntu-lucid-lynx-base.vmwarevm/ubuntu-lucid-lynx-base.vmx | grep ethernet0.generatedAddress
@rishijavia
rishijavia / install_ftp.sh
Last active November 27, 2019 00:43
Install FTP on Ubuntu
# Make sure you have FPT.tgz file in your root directory
# Install X-11 development tool
sudo apt-get install xorg openbox libx11-dev libxext-dev -y
# Install FPT
tar xfz FPT.tgz
ln -s /FPT/acom /usr/local/bin/acom
ln -s /FPT/bcom /usr/local/bin/bcom
ln -s /FPT/ycom /usr/local/bin/ycom