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
[ | |
{"code":"ab","name":"Abkhaz","nativeName":"аҧсуа","dir":"ltr"}, | |
{"code":"aa","name":"Afar","nativeName":"Afaraf","dir":"ltr"}, | |
{"code":"af","name":"Afrikaans","nativeName":"Afrikaans","dir":"ltr"}, | |
{"code":"ak","name":"Akan","nativeName":"Akan","dir":"ltr"}, | |
{"code":"sq","name":"Albanian","nativeName":"Shqip","dir":"ltr"}, | |
{"code":"am","name":"Amharic","nativeName":"አማርኛ","dir":"ltr"}, | |
{"code":"ar","name":"Arabic","nativeName":"العربية","dir":"ltr"}, | |
{"code":"an","name":"Aragonese","nativeName":"Aragonés","dir":"ltr"}, | |
{"code":"hy","name":"Armenian","nativeName":"Հայերեն","dir":"ltr"}, |
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
echo 'no-tty' >> ~/.gnupg/gpg.conf |
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
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |
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
table { | |
border: solid 1px #fc0; | |
border-collapse: collapse; | |
} | |
table caption { | |
font-weight: bold; | |
font-size: 125%; | |
text-transform: uppercase; | |
} |
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
// Comment out libraries/cms/html/email.php @102-103 | |
// libraries/cms/html/email.php @104 | |
// JHtml::_('script', 'system/emailcloak.js', false, true); | |
// return '<span class="js-email-cloak" data-before="' . $mail[0] . '" data-after="' . $mail[1] . '">' . JText::_('JLIB_HTML_CLOAKING') . '</span>'; | |
// media/system/js/emailcloak.js | |
(function() { | |
document.addEventListener('DOMContentLoaded', function() { | |
// Get all emails that need cloaking |
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 () { | |
var ElementPrototype = Object.create(HTMLElement.prototype); | |
// Lifecycle methods | |
ElementPrototype.createdCallback = function () { | |
}; |
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
<element name="bsasce-alert"> | |
<script> | |
(function () { | |
var ElementPrototype = Object.create(HTMLElement.prototype); | |
// Lifecycle methods | |
ElementPrototype.createdCallback = function () { | |
}; |
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() { | |
// Creates an object based in the HTML Element prototype | |
var element = Object.create(HTMLElement.prototype); | |
// Fires when an instance of the element is created | |
element.createdCallback = function() {}; | |
// Fires when an instance was inserted into the document | |
element.attachedCallback = function() {}; |
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
/** | |
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
!(function(window, document){ | |
'use strict'; | |
/** Method to convert numbers to local symbols. */ | |
Date.convertNumbers = function(str) { | |
var str = str.toString(); |
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
{ | |
"alignleft": { | |
"selector": "p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img", | |
"classes": "left" | |
}, | |
"aligncenter": { | |
"selector": "p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img", | |
"classes": "center" | |
}, | |
"alignright": { |