Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vitae enim sollicitudin, placerat arcu vitae, tristique urna. Duis vitae commodo felis. Morbi tincidunt magna at turpis porttitor maximus. Vivamus fermentum rutrum enim vitae ultrices. Pellentesque ac enim at sem aliquet convallis sit amet quis diam. Etiam sodales urna eget varius pretium. Vivamus id eros vehicula mauris auctor dictum sed rhoncus arcu. Pellentesque tincidunt magna lorem, et pretium mi rhoncus in. Mauris erat erat, elementum a congue ut, imperdiet quis turpis.
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
#!/usr/bin/env bash | |
previous_tag=0 | |
for current_tag in $(git tag --sort=-creatordate) | |
do | |
if [ "$previous_tag" != 0 ];then | |
tag_date=$(git log -1 --pretty=format:'%ad' --date=short ${previous_tag}) | |
printf "## ${previous_tag} (${tag_date})\n\n" | |
git log ${current_tag}...${previous_tag} --pretty=format:'* %s [View](https://bitbucket.org/projects/test/repos/my-project/commits/%H)' --reverse | grep -v Merge | |
printf "\n\n" |
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
/** | |
* Store a newly created resource in storage. | |
* | |
* @param \App\Http\Requests\BlogPostRequest $request | |
* @return \Illuminate\Http\Response | |
*/ | |
public function store(BlogPostRequest $request) | |
{ | |
try { |
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
/** | |
* BlogPost creating event | |
* | |
* @param \App\BlogPost $blogPost | |
*/ | |
public function creating(BlogPost $blogPost) | |
{ | |
$blogPost->generateSlug(); | |
} |
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
/** | |
* Store a newly created resource in storage. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @return \Illuminate\Http\Response | |
*/ | |
public function store(Request $request) | |
{ | |
$post = new BlogPost($request->all()); | |
$post->generateSlug(); // generate a url friendly slug of the article |
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
# Bootstrap Theming | |
# http://getbootstrap.com/docs/4.0/getting-started/theming/ | |
# FILE: resources/assets/js/bootstrap.js | |
try { | |
window.$ = window.jQuery = require('../../../node_modules/jquery/dist/jquery'); | |
window.Popper = require('../../../node_modules/popper.js/dist/popper'); | |
require('../../../node_modules/bootstrap/dist/js/bootstrap'); |
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
# my subdirectory was /blog | |
# change 'blog' to reference your project sub directory | |
location /blog { | |
try_files $uri $uri/ /blog/index.php?$query_string; | |
} |
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
osascript -e 'quit app “Slack”' | |
osascript -e 'quit app “Transmit"' | |
osascript -e 'quit app “Sublime Text”' | |
osascript -e 'quit app “Sequel Pro”' | |
osascript -e 'quit app “Terminal”' | |
vagrant halt all |
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
osascript -e 'quit app “Slack”' | |
osascript -e 'quit app “Transmit"' | |
osascript -e 'quit app “Sublime Text”' | |
osascript -e 'quit app “Sequel Pro”' | |
osascript -e 'quit app “Terminal”' | |
vagrant halt all |
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
# directories | |
/vendor | |
/node_modules | |
/public/storage | |
.vagrant/ | |
# project specific files | |
Homestead.yaml | |
Homestead.json | |
.env |
NewerOlder