Mensch font, Source Code Pro, Webkit, Chrome, Firefox, Kaleidoscope, iTerm, Sublime Text, Sequel Pro, Codekit,
This file contains 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 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 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 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 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 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 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 |
This file contains 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
Answers Needed: | |
1. What Name generally has the most spaces | |
2. What time of day is 'name' likely to have spaces | |
3. What name generally has the least spaces | |
Date Time Name Spaces | |
2014-10-01 10:00:00 Item 1 753 | |
2014-10-01 10:00:00 Item 2 436 |
This file contains 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
Test String: | |
< echo "Hello O'Test"; ?> | |
FILTER_SANITIZE_STRING: | |
string(0) "" | |
FILTER_UNSAFE_RAW with flags: FILTER_FLAG_STRIP_LOW, | |
FILTER_FLAG_STRIP_HIGH, | |
FILTER_FLAG_ENCODE_LOW, | |
FILTER_FLAG_ENCODE_HIGH, |