Skip to content

Instantly share code, notes, and snippets.

View kirubasankars's full-sized avatar

Kiruba Sankar Swaminathan kirubasankars

View GitHub Profile
What Does That "Exp" Mean?
The "exp" stands for "exponential". The term "exp(x)" is the same as writing ex or e^x or "e to the x" or "e to the power of x". In this context, "e" is a universal constant, e = 2.718281828... it goes on forever but you don't need to know the value, your calculator probably has exp(x) or e^x as a function (if, as I am assuming, it is a scientific calculator).
It might become obvious to you if you see the equations written properly rather than in ascii text. Check the quick reference page,
http://www.execpc.com/~culp/rockets/qref.html
where the single stage equations are also written by way of review. It might be easier for you to understand what is meant by exp(x) when you see it written properly as ex.
The inverse of ex is ln(x), or the natural logarithm of x. So in other words, if I take the natural logarithm of ex, I get x back: in equation form ln(ex) = x, or equivalently, ln(exp(x)) = x. It works the other way around, too, exp(ln(x)) = x.
@kirubasankars
kirubasankars / arch-linux-install
Created April 3, 2017 19:46 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
@kirubasankars
kirubasankars / ember-selectize
Created November 2, 2015 20:55
ember-selectize
(function(){
var get = Ember.get, computed = Ember.computed, isArray = Ember.isArray, isNone = Ember.isNone, typeOf = Ember.typeOf, camelize = Ember.String.camelize;
/**
* Ember.Selectize is an Ember View that encapsulates a Selectize component.
* The goal is to use this as a near dropin replacement for Ember.Select.
*/
var EmberSelectizeComponent = Ember.Component.extend({
attributeBindings: ['multiple', 'autocomplete', 'required'],
classNames: ['ember-selectize'],