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
#!/usr/bin/env bash | |
# Progress Bar of Year, Month and Day: See the big picture. | |
# | |
# by Mucahit (http://github.com/mucahit) | |
# | |
# <bitbar.title>Progress Bar of Year, Month and Day</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Mucahit</bitbar.author> | |
# <bitbar.author.github>Mucahit</bitbar.author.github> |
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
let list = []; | |
$('.ProfileCard-content').each(function() { | |
const status = $(this) | |
.find('.FollowStatus') | |
.text(); | |
if (status != 'Follows you') { | |
list.push($(this).find(".u-linkComplex-target").text()) | |
} |
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
alias migrate='php artisan migrate' | |
alias rollback='php artisan migrate:rollback' | |
alias seed='php artisan db:seed' |
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
Show hidden characters
[ | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" }, | |
{ "keys": ["super+shift+r"], "command": "reindent" }, | |
{ "keys": ["alt+tab"], "command": "indent" }, | |
{ "keys": ["shift+tab"], "command": "unindent" }, | |
{ // TodoReview: Open Files | |
"keys": ["control+shift+t"], | |
"command": "todo_review", | |
} |
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
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme", | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"line_padding_bottom": 3, | |
"line_padding_top": 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
<div class="row"> | |
<div class="col-sm-6 col-md-4"> | |
<div class="thumbnail"> | |
<img src="http://lorempixel.com/400/200" alt="..."> | |
<div class="caption"> | |
<h4><a href="#">Ahmet Çakar</a></h4> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias rerum laborum provident, similique error hic qui nemo, dolorem veritatis modi facilis eaque dicta enim ipsam accusamus sed. Iure, commodi nobis!</p> | |
<p><a href="#"><i class="fa fa-clock-o"></i> 3 Hours Ago</a></p> | |
<p><button class="btn btn-warning">Delete</button> <button class="btn btn-success">Approve</button></p> | |
</div> |
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
.vertical-center{ | |
display:flex; | |
justify-content:flex-end; | |
align-items:center; | |
} |
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
function parse_duration($duration, $resultType){ | |
$matches = array(); | |
preg_match('/^(-|)?P([0-9]+Y|)?([0-9]+M|)?([0-9]+D|)?T?([0-9]+H|)?([0-9]+M|)?([0-9]+S|)?$/', $duration, $matches); | |
if(!empty($matches)){ | |
foreach($matches as &$match){ | |
$match = preg_replace('/((?!([0-9]|-)).)*/', '', $match); | |
} | |
NewerOlder