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 memorySizeOf(obj) { | |
var bytes = 0; | |
function sizeOf(obj) { | |
if (obj !== null && obj !== undefined) { | |
switch (typeof obj) { | |
case "number": | |
bytes += 8; | |
break; | |
case "string": |
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
[Desktop Entry] | |
Version=1.0 | |
Name=Firefox Developer Edition | |
GenericName=Web Browser | |
Exec=/home/torbjoern/.local/opt/firefox/firefox %u | |
Terminal=false | |
Icon=firefox-developer-icon | |
Type=Application | |
Categories=Network;WebBrowser;Favorites; | |
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https; |
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
<?xml version="1.0"?> | |
<ruleset name="bdrops Standard" namespace="bdrops\CS\Standard"> | |
<description>bdrops PHPCS coding standards</description> | |
<rule ref="PSR12"> | |
<exclude name="PSR1.Methods.CamelCapsMethodName" /> | |
<exclude name="Generic.Files.LineLength" /> | |
</rule> | |
<rule ref="Symfony"> | |
<exclude name="Symfony.Commenting.License" /> | |
<exclude name="Symfony.Functions.Arguments" /> |
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
# Drupal editor configuration normalization | |
# @see http://editorconfig.org/ | |
# This is the top-most .editorconfig file; do not search in parent directories. | |
root = true | |
# All files. | |
[*] | |
end_of_line = LF | |
indent_style = space |
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
{ | |
"extends": "stylelint-config-standard", | |
"rules": { | |
"indentation": 4, | |
"string-quotes": "single", | |
"no-duplicate-selectors": true, | |
"color-hex-case": "lower", | |
"color-hex-length": "long", | |
"selector-no-qualifying-type": true, | |
"selector-combinator-space-after": "always", |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
{ | |
"api": { | |
"CredentialUserData": { | |
"__compat": { | |
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CredentialUserData", | |
"support": { | |
"chrome": { | |
"version_added": "60" | |
}, | |
"chrome_android": { |
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
{namespace flux=FluidTYPO3\Flux\ViewHelpers} | |
{namespace v=FluidTYPO3\Vhs\ViewHelpers} | |
<f:layout name="Content"/> | |
<f:section name="Configuration"> | |
<flux:form id="twoColConfig" options="{group: 'Layout', icon: '{f:uri.resource(path: \'Icons/ext_icon.gif\')}'}"> | |
<flux:grid> | |
<flux:grid.row> | |
<flux:grid.column name="leftCol" | |
style="width: {f:if(condition: '{layout} == 0', then: '23%')}{f:if(condition: '{layout} == 1', then: '31%')}{f:if(condition: '{layout} == 2', then: '48%')}{f:if(condition: '{layout} == 3', then: '64%')}{f:if(condition: '{layout} == 4', then: '73%')}; margin-right: .5em;"> |