sudo apt install \
git build-essential autoconf m4 libncurses5-dev libwxgtk3.0-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils \
automake autoconf libreadline-dev \
libncurses-dev libssl-dev libyaml-dev \
libxslt-dev libffi-dev libtool unixodbc-dev \
unzip curl vim inotify-tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Place your snippets for elixir here. Each snippet is defined under a snippet name and has a prefix, body and | |
| // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
| // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
| // same ids are connected. | |
| // Example: | |
| // "Print to console": { | |
| // "prefix": "log", | |
| // "body": [ | |
| // "console.log('$1');", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Fb.Pixel do | |
| @moduledoc """ | |
| Facebook Pixel | |
| requires HTTPPoison, Jason | |
| """ | |
| @pixel_id Application.get_env(:fb, :pixel_id) | |
| @api_version Application.get_env(:fb, :fb_graph_api_version) | |
| def create_events(token, events, test_event \\ nil) do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM bitwalker/alpine-elixir-phoenix:1.12.2 AS builder | |
| ARG COOKIE | |
| # The environment to build with | |
| ARG MIX_ENV=prod | |
| # Set this to true if this release is not a Phoenix app | |
| ARG SKIP_PHOENIX=false | |
| # If you are using an umbrella project, you can change this | |
| # argument to the directory the Phoenix app is in so that the assets | |
| # can be built |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function restore_postico_config() { | |
| yn="" | |
| origin=YOUR_GIT_PATH | |
| recovery_path=$HOME/Library/Containers/at.eggerapps.Postico/Data/Library/Application\ Support/Postico | |
| if ! git clone "${origin}" "${recovery_path}" 2>/dev/null && [ -d "${recovery_path}" ]; then | |
| echo "Clone failed because the folder ${recovery_path} exists" | |
| while true; do |
OlderNewer