- Download ngrok
- Unzip it to your Applications directory
- Create a symlink (instructions below)
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory| [ | |
| { | |
| "name": "Afghanistan", | |
| "code": "AF", | |
| "capital": "Kabul", | |
| "region": "AS", | |
| "currency": { | |
| "code": "AFN", | |
| "name": "Afghan afghani", | |
| "symbol": "؋" |
| :100000000C94EF030C9420040C9420040C94200412 | |
| :100010000C9420040C9420040C9420040C942004D0 | |
| :100020000C9420040C9420040C9420040C942004C0 | |
| :100030000C9420040C944D0E0C9420040C94200479 | |
| :100040000C9420040C9420040C9420040C942004A0 | |
| :100050000C9420040C9420040C9420040C94030EA3 | |
| :100060000C9420040C947F0F0C94550F0C942004D6 | |
| :100070000C9420040C9420040C9420040C94200470 | |
| :100080000C9420040C9420040C9420040C94200460 | |
| :100090000C942B0F0C94010F0C9420040C9420044E |
| #!/bin/sh | |
| # Install Python 3 | |
| echo "Installing Python 3..." | |
| sudo apt install python3-pip | |
| echo | |
| # Install Python 3 | |
| echo "Installing PY Serial Monitor..." | |
| python -m pip install pyserial |
| <table cellpadding="0" cellspacing="0" class="sc-gPEVay eQYmiW" style="vertical-align: -webkit-baseline-middle; font-size: medium; font-family: Tahoma;"> | |
| <tbody> | |
| <tr> | |
| <td> | |
| <table cellpadding="0" cellspacing="0" class="sc-gPEVay eQYmiW" style="vertical-align: -webkit-baseline-middle; font-size: medium; font-family: Tahoma;"> | |
| <tbody> | |
| <tr> | |
| <td width="150" style="vertical-align: middle;"><span class="sc-kgAjT cuzzPp" style="margin-right: 20px; display: block;"><img src="https://imgur.com/jIuAQBZ.png" role="presentation" width="130" class="sc-cHGsZl bHiaRe" style="max-width: 130px;"></span></td> | |
| <td style="vertical-align: middle;"> | |
| <!-- REPLACE ME --> |
| /** | |
| * JS ScrollFix | |
| * Fixes an element to the top of a page at a certain scroll height | |
| * * | |
| * @author Avail | |
| * @copyright Copyright (c) 2017 | |
| * @since Version 1.0.0 | |
| * | |
| */ |
| /* Identify the current logged-in user with Segment.io */ | |
| segment_user = { | |
| first_name: "<%= @current_user.first_name %>", | |
| last_name: "<%= @current_user.last_name %>", | |
| email: "<%= @current_user.email %>", | |
| date_of_birth: "<%= @current_user.birthdate %>" | |
| }; | |
| /* Add a company if the user is part of a group */ | |
| <%= if assigns[:group] do %> |
| # Initial setup | |
| $ mix deps.get --only prod | |
| $ MIX_ENV=prod mix compile | |
| # Compile assets | |
| $ brunch build --production | |
| $ MIX_ENV=prod mix phoenix.digest | |
| # Custom tasks (like DB migrations) | |
| $ MIX_ENV=prod mix ecto.migrate |
| /* Intercom Fix */ | |
| /* If you're here for the fix, you can ignore this file, this is for my own personal implementation */ | |
| @media (max-width: 767px) { | |
| #intercom-container iframe.intercom-launcher-frame { | |
| bottom: 4rem !important; | |
| right: 1rem !important; | |
| } | |
| } |
| // Intercom | |
| // | |
| // Inject styles into Intercom iframe | |
| var stylesheet = document.createElement('link'); | |
| stylesheet.rel = 'stylesheet'; | |
| stylesheet.href = 'path_to_file.css'; | |
| // Wait for the iframe to become ready (max 30 seconds) | |
| var timeout = setTimeout(function() { | |
| clearInterval(interval); |
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory