最後編輯 2020-11-01
列舉的種類基本上是生產力、健康相關,或是好用的工程師潮流精品(?)
這些是我偏好或想要的裝備,歡迎留言提供其他推薦裝備、發問為何要用或不用某個裝備、品牌。
免費的工具軟體雖然也很重要,但不在這邊討論,有興趣請查看 我的 Mac 環境設定。
FROM appbase | |
# install npm & bower packages | |
WORKDIR /root | |
COPY package.json bower.json /root/ | |
RUN npm install --only=prod && \ | |
npm cache clean && \ | |
bower install --allow-root | |
# install gems |
最後編輯 2020-11-01
列舉的種類基本上是生產力、健康相關,或是好用的工程師潮流精品(?)
這些是我偏好或想要的裝備,歡迎留言提供其他推薦裝備、發問為何要用或不用某個裝備、品牌。
免費的工具軟體雖然也很重要,但不在這邊討論,有興趣請查看 我的 Mac 環境設定。
server { | |
listen 80; | |
listen [::]:80; | |
server_name domain.com; | |
autoindex off; | |
index index.php index.html; | |
root /srv/www/domain.com/public; |
var self = window; | |
(function(self) { | |
var canvas, context, particles = [], explode = true, FPS = 60; | |
/* | |
* Init. | |
*/ | |
#! /usr/bin/env bash | |
# llvm-gcc | |
if `type -P llvm-gcc &>/dev/null`; then | |
echo "Command Line Tools found." | |
else | |
echo "Command Line Tools not found." | |
echo "Please go https://developer.apple.com/downloads and install **Command Line Tools for Xcode**" && exit 0; | |
fi |
Clone repo:
git clone git://github.com/maccman/juggernaut.git
cd juggernaut
Create Heroku app:
heroku create myapp --stack cedar
heroku addons:add redistogo:nano
git push heroku master
<div id="user_nav"> | |
<% if user_signed_in? %> | |
<img src="<%= user_avatar %>" id="main_avatar"> Signed in as <%= current_user.email %>.<br /> | |
Not you? | |
<% if session[:fb_token].nil? %> | |
<%= link_to "Sign out", destroy_user_session_path %> | |
<% else %> | |
<%= link_to "Sign out", facebook_logout_path %> | |
<% end %> |