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
<?php | |
// add to your theme's functions.php file | |
add_filter('upload_mimes', 'add_custom_upload_mimes'); | |
function add_custom_upload_mimes($existing_mimes) { | |
$existing_mimes['otf'] = 'application/x-font-otf'; | |
$existing_mimes['woff'] = 'application/x-font-woff'; | |
$existing_mimes['ttf'] = 'application/x-font-ttf'; | |
$existing_mimes['svg'] = 'image/svg+xml'; | |
$existing_mimes['eot'] = 'application/vnd.ms-fontobject'; | |
return $existing_mimes; |
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
\set rrule `cat rrule.js` | |
/****************************************************************************** | |
Now that we have set variable containing the code | |
we need to create a table to store each of them in | |
postgres. | |
******************************************************************************/ | |
create table plv8_modules(modname text primary key, load_on_start boolean, code text); |
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
/*! | |
* rrule.js - Library for working with recurrence rules for calendar dates. | |
* https://github.com/jkbrzt/rrule | |
* | |
* Copyright 2010, Jakub Roztocil and Lars Schoning | |
* Licenced under the BSD licence. | |
* https://github.com/jkbrzt/rrule/blob/master/LICENCE | |
* | |
* Based on: | |
* python-dateutil - Extensions to the standard Python datetime module. |
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
<a href="https://scoutforpets.com" title="Powered by Scout" target="_blank"> | |
<img width="300" src="https://scout-files.azureedge.net/media-kit/pbs-t.svg" alt="Powered by Scout" /> | |
</a> |
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
<a href="https://scoutforpets.com" title="Powered by Scout" target="_blank"> | |
<img width="300" src="https://scout-files.azureedge.net/media-kit/pbs-b.svg" alt="Powered by Scout" /> | |
</a> |
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
<a href="https://scoutforpets.com" title="Powered by Scout" target="_blank"> | |
<img width="300" src="https://scout-files.azureedge.net/media-kit/pbs-g.svg" alt="Powered by Scout" /> | |
</a> |
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 Controller from '@ember/controller'; | |
import { computed } from '@ember/object'; | |
import { | |
add, | |
} from 'ember-power-calendar-utils'; | |
export default Controller.extend({ | |
center: new Date('2016-05-17'), | |
selected: null, |
OlderNewer