- De–authorize Apple ID from iTunes
- De–authorize Adobe CS Suite
- Backup user home folder to a external drive
- Boot to a thumb drive with the most current Lion Install
| FROM ruby:2.5.5 | |
| WORKDIR /vbio | |
| RUN curl -sL https://deb.nodesource.com/setup_8.x | bash \ | |
| && apt-get update && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/* \ | |
| && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ | |
| && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ | |
| && apt-get update && apt-get install -y yarn && rm -rf /var/lib/apt/lists/* |
| defmodule Projectx.MixProject do | |
| use Mix.Project | |
| def project do | |
| [ | |
| apps_path: "apps", | |
| version: "1.0.0", | |
| start_permanent: Mix.env() == :prod, | |
| default_release: :projectx, | |
| deps: deps(), |
| FROM elixir:1.9.1-alpine as build | |
| ENV MIX_ENV=prod | |
| WORKDIR /build | |
| RUN apk add --no-cache build-base nodejs yarn && \ | |
| mix local.hex --force && \ | |
| mix local.rebar --force |
| get_snapshot.rb | |
| # Ruby 2.4.1 | |
| # Require libraries | |
| require 'rest-client' | |
| require 'openssl' | |
| # Setup variables | |
| public_key = 'public key here' | |
| secret_key = 'secret key here' |
| # Ruby 2.4.1 | |
| # Require libraries | |
| require 'rest-client' | |
| require 'openssl' | |
| # Setup variables | |
| public_key = 'public key here' | |
| secret_key = 'secret key here' | |
| digest = OpenSSL::Digest.new('sha256') |
| /* | |
| These next two functions work together to lock down bbPress forums based on PMPro membership level. | |
| Check that the current user has access to this forum. Be sure to update the $restricted_forums array based on your needs. | |
| */ | |
| function pmpro_check_forum() | |
| { | |
| global $current_user; | |
| /* |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| # with the help of the sdoc gem, this will generate the sdocs for all | |
| # of your most recent gems. | |
| # Caution! This will take a long time to run if you have a lot of gems installed. | |
| # set an absolute path to the directory you would like your docs generated. | |
| docs_path = "/Users/sean/tmp/docs/" | |
| gems_output = `gem list --local` | |
| gem_list = gems_output.gsub(/^([^ ]+).*\)/, '\1').split(/\n/) | |
| latest_gem_dirs = gems_output.gsub(/^([^ ]+) \(([0-9\.]+).*\)/, '\1-\2').split(/\n/) |