Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| FROM golang:1.23.0-bookworm AS build | |
| ARG upx_version=4.2.4 | |
| RUN apt-get update && apt-get install -y --no-install-recommends xz-utils && \ | |
| curl -Ls https://github.com/upx/upx/releases/download/v${upx_version}/upx-${upx_version}-amd64_linux.tar.xz -o - | tar xvJf - -C /tmp && \ | |
| cp /tmp/upx-${upx_version}-amd64_linux/upx /usr/local/bin/ && \ | |
| chmod +x /usr/local/bin/upx && \ | |
| apt-get remove -y xz-utils && \ | |
| rm -rf /var/lib/apt/lists/* |
| sudo yum update -y | |
| pip3 install awscli --upgrade --user | |
| sudo ln -s /bin/touch /usr/bin/touch | |
| yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" | |
| test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) | |
| test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) | |
| test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile | |
| echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile | |
| brew upgrade | |
| brew update |
This Gist is a collection of configuration files that can be used to easily setup a Homebrew-based LEMP stack on Mac OS X.
Files in this repository are numbered and named for ordering purposes only. At the top of each file is a section of metadata that denote what component the file belongs to and the default name & location of the file. Feel free to implement it however you want.
Note: some configuration files have hard-coded paths to my user directory -- fix it for your setup
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| function invite() { | |
| var url = '/people/~/mailbox', | |
| body = { | |
| recipients: { | |
| values: [{ | |
| person: { |
My first self made Meteor.js app. I also learned lots of CSS tricks in the process.
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |