Mensch font, Source Code Pro, Webkit, Chrome, Firefox, Kaleidoscope, iTerm, Sublime Text, Sequel Pro, Codekit,
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
--- | |
- name: Sync uploads between environments | |
hosts: web | |
remote_user: "{{ web_user }}" | |
vars: | |
project: "{{ wordpress_sites[site] }}" | |
project_root: "{{ www_root }}/{{ site }}" | |
tasks: |
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
image: mnapoli/php7-cli | |
stages: | |
- test | |
- deploy | |
composer_tasks: | |
stage: test | |
script: | |
- composer self-update |
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
cd /home/forge/docs.mysite.com | |
git pull origin master | |
composer install --no-interaction --no-dev --prefer-dist | |
rm -rf /home/forge/docs.mysite.com/public/* | |
vendor/bin/couscous generate | |
mv .couscous/generated/* public/ |
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
filter { | |
# Laravel log files | |
if [type] == "laravel" { | |
grok { | |
match => { "message" => "\[%{TIMESTAMP_ISO8601:timestamp}\] %{DATA:env}\.%{DATA:severity}: %{DATA:message} \[" } | |
} | |
} | |
} |
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
input { | |
lumberjack { | |
port => 5000 | |
type => "logs" | |
ssl_certificate => "/shared/logstash-certs/logstash-forwarder.crt" | |
ssl_key => "/shared/logstash-certs/logstash-forwarder.key" | |
} | |
} | |
## Add your filters here |
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
<html> | |
<head> | |
<title>Coffee Generator</title> | |
<style type="text/css"> | |
body { | |
background: #f3r3e3; | |
font-size: 40px; | |
text-align: center; | |
color: #000; | |
} |
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
-------------------------------------------------- | |
-------------------------------------------------- | |
-- Import tasks from Things to OmniFocus | |
-------------------------------------------------- | |
-------------------------------------------------- | |
-- | |
-- Script taken from: http://forums.omnigroup.com/showthread.php?t=14846&page=2 | |
-- Added: creation date, due date, start date functionality | |
-- Empty your Things Trash first. | |
-- Note that this won't move over scheduled recurring tasks. |
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
cd /home/forge/example.com | |
git pull origin master | |
composer install | |
php artisan migrate --force | |
chmod -R 777 app/storage | |
HOST=$(hostname) | |
MESSAGE=$(git show -s --format=%B) | |
SHA=$(git rev-parse --verify HEAD) | |
SHA="==== New Deploy ==== \n\n *Server*: $HOST\n*Site*: example.com\n*Deployment Commit:* https://server/username/project/commit/$SHA\n*Message:*\n\n$MESSAGE" | |
curl -X POST --data-urlencode 'payload={"channel": "#deploy", "username": "Laravel Forge", "text": "'"$SHA"'", "icon_emoji": ":shipit:"}' https://hooks.slack.com/services/link/with/token |
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
about | |
-- subject 1 | |
-- subject 2 | |
news | |
-- n number of posts/articles | |
projects | |
-- area 1 | |
-- project name 1 | |
-- project name 2 | |
-- project name 3 |