https://atom.io/users/matthojo
- UI Theme: Atom Dark
- Syntax Theme: Base16 Tomorrow Dark
;------------------------------------------------------------------------------ | |
; Changelog | |
;------------------------------------------------------------------------------ | |
; | |
; 02/11/2018 - Initial creation | |
; | |
;------------------------------------------------------------------------------ | |
; Settings | |
;------------------------------------------------------------------------------ | |
#NoEnv ; For security |
#!/bin/sh | |
# | |
# A hook script to format JS and JSX files wth 'prettier-standard'. | |
# Called by "git commit" with no arguments. | |
# | |
# If formatting causes an empty commit, the commit will abort (`exit 1`). | |
# | |
# FAQ | |
# ==== | |
# |
Raw test |
https://atom.io/users/matthojo
#191A1C,#282A2E,#B6BC68,#FFFFFF,#363B41,#959896,#80A2BE,#C26161 |
<select class="ec-simple-select selectized js-month-select" name="select-month" placeholder="Select an month" tabindex="-1" style="display: none;"> | |
<?php | |
for ($i=5; $i >= 1; $i--) { | |
echo '<option value="'.base_url().'events/bookings/'.((($current_month-$i) <= 0) ? ($current_year-1) : $current_year ).'/'.((($current_month-$i) <= 0) ? (12 + ($current_month-$i)) : ($current_month-$i)).'" >'.date('F', strtotime('01-'.((($current_month-$i) <= 0) ? (12 + ($current_month-$i)) : ($current_month-$i)).'-'.$current_year)).' '.((($current_month-$i) <= 0) ? ($current_year-1) : $current_year ).'</option>'; | |
} | |
?> | |
<option value="<?php echo base_url();?>events/bookings/<?php echo $current_year;?>/<?php echo $current_month;?>" selected="selected"><?php echo date('F', strtotime('01-'.$current_month.'-'.$current_year));?> <?php echo ($this->uri->segment(3)) ? $this->uri->segment(3) : $current_year;?></option> | |
<?php | |
for ($i=1; $i <= 6; $i++) { | |
echo '<option value="'.b |
function isOverlapping (event){ | |
// "calendar" on line below should ref the element on which fc has been called | |
var array = calendar.fullCalendar('clientEvents'); | |
for(var i in array){ | |
if(event._id !== undefined && array[i]._id == event._id) { | |
continue | |
} else { | |
var arrayEnd = ((array[i].end === null) ? array[i].start.clone().add('days', 1) : array[i].end) | |
, eventEnd = ((event.end === null) ? event.start.clone().add('days', 1) : event.end) |
// Fix for IE9 not hiding select box arrow | |
.select-container | |
position relative | |
z-index 0 | |
&:after | |
position absolute | |
right 1px | |
top 1px | |
content '' |
{ | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"installed_packages": | |
[ | |
"Base16 Color Schemes", | |
"ColorPicker", | |
"Git", | |
"GitGutter", | |
"Inc-Dec-Value", | |
"Jade", |
{ | |
"color_scheme": "Packages/User/Tomorrow-Night (SL).tmTheme", | |
"detect_slow_plugins": false, | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"ensure_newline_at_eof_on_save": true, | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", |