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'; | |
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
isEditing: true, | |
model(params) { | |
return this.get('store').findRecord('album', params.album_id); | |
}, |
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'; | |
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
isEditing: true, | |
model(params) { | |
return this.get('store').findRecord('album', params.album_id); | |
}, |
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'; | |
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
isEditing: true, | |
model(params) { | |
return this.get('store').findRecord('album', params.album_id); | |
}, |
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'; | |
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
isEditing: true, | |
model(params) { | |
return this.get('store').findRecord('album', params.album_id); | |
}, |
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
{ | |
"template" : "syslog-1-*", | |
"settings" : { | |
"index.refresh_interval" : "5s" | |
}, | |
"aliases": { | |
"syslog": {} | |
}, | |
"mappings" : { | |
"_default_" : { |
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
# /etc/systemd/system/clustercheck.socket | |
[Unit] | |
Description=MySQL Clustercheck Socket | |
[Socket] | |
ListenStream=9200 | |
Accept=true | |
[Install] |
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
"Status","Date and Time","Response Time (ms)","Error","Location" | |
"unconfirmed_down","27.04.2015. 20:19:33","","HTTP Error 503","Atlanta (GA)" | |
"down","27.04.2015. 18:08:39","","Timeout (> 30s)","Las Vegas 5 (NV)" | |
"unconfirmed_down","27.04.2015. 18:08:33","","HTTP Error 502","Paris (France)" | |
"unconfirmed_down","27.04.2015. 18:00:33","","HTTP Error 502","Montreal (Canada)" | |
"unconfirmed_down","27.04.2015. 17:35:33","","HTTP Error 503","Amsterdam (Netherlands)" | |
"unconfirmed_down","27.04.2015. 17:31:33","","HTTP Error 503","Toronto 5 (Canada)" | |
"down","27.04.2015. 17:29:02","","Timeout (> 30s)","Amsterdam (Netherlands)" | |
"unconfirmed_down","27.04.2015. 17:28:33","","HTTP Error 502","Paris (France)" | |
"unconfirmed_down","27.04.2015. 17:27:33","","HTTP Error 503","Frankfurt 2 (Germany)" |
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
# | |
# Proof of concept for a HAProxy maintenance mode | |
# | |
# | |
# Control the maintenance page during runtime using the stats socket: | |
# | |
# To put the whole site in maintenance mode (for all IPs): | |
# > add acl #0 0.0.0.0/0 | |
# | |
# To exclude your own ip, so you are able to test things out: |
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
SELECT table_schema, | |
table_name, | |
data_type, | |
( CASE data_type | |
WHEN 'tinyint' THEN 255 | |
WHEN 'smallint' THEN 65535 | |
WHEN 'mediumint' THEN 16777215 | |
WHEN 'int' THEN 4294967295 | |
WHEN 'bigint' THEN 18446744073709551615 | |
end >> IF(Locate('unsigned', column_type) > 0, 0, 1) ) AS MAX_VALUE, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDisplayName</key> | |
<string>Google Calendar</string> | |
<key>PayloadEnabled</key> |