- Set
browser.download.animateNotifications
toFalse
- Set
security.dialog_enable_delay
to0
- Set
network.prefetch-next
toFalse
(Only on slow internet connections) - Set
browser.newtabpage.activity-stream.feeds.telemetry
tofalse
- Set
browser.newtabpage.activity-stream.telemetry
tofalse
- Set
browser.ping-centre.telemetry
tofalse
- Set
toolkit.telemetry.archive.enabled
tofalse
- Set
toolkit.telemetry.bhrPing.enabled
tofalse
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
/* | |
* https://github.com/StylishThemes/GitHub-Dark/issues/197#issuecomment-63095957 | |
*/ | |
.pl-coc /* constant.other.color */, | |
.pl-entl /* entity.name.tag.label */, | |
.pl-entm /* entity.name.type.module */, | |
.pl-eoa /* entity.other.attribute-name */, | |
.pl-mai .pl-sf /* meta.at-rule.include support.function */, | |
.pl-mm /* meta.module-reference */, | |
.pl-pdv /* punctuation.definition.variable */, |
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
import java.nio.ByteBuffer; | |
import java.nio.ByteOrder; | |
import java.util.UUID; | |
/** | |
* This class provides helper methods to work with UUID, for instance, converting UUID into 16-byte | |
* array for database column BINARY(16) and vice versa. | |
*/ | |
public final class UuidUtil | |
{ |
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/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 10.x | |
#more :http://sukharevd.net/wildfly-8-installation.html | |
#author :Dmitriy Sukharev | |
#date :2016-06-18T02:45-0700 | |
#usage :/bin/bash wildfly-install.sh | |
#tested-version1 :10.0.0.CR3 | |
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
#tested-version2 :10.0.0.Final |
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 strict'; | |
exports.handler = async (event, context, callback) => { | |
const result = { | |
body: null, | |
isBase64Encoded: false, | |
statusCode: 200 | |
}; | |
console.log('Received a render request event'); | |
try { |
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
{ | |
"name": "node-canvas-lambda-container", | |
"version": "1.0.0", | |
"dependencies": { | |
"canvas": "^2.8.0" | |
}, | |
"license": "MIT" | |
} |
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
FROM public.ecr.aws/lambda/nodejs:14 | |
## | |
# Install necessary package for building Node.js Canvas | |
## | |
RUN yum -y update \ | |
&& yum -y groupinstall "Development Tools" \ | |
&& yum install -y nodejs gcc-c++ cairo-devel libjpeg-turbo-devel pango-devel giflib-devel zlib-devel librsvg2-devel | |
COPY *.js package* ./ |
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
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
const postcss = require('gulp-postcss'); | |
const autoprefixer = require('autoprefixer'); | |
const cssnano = require('cssnano'); | |
const sourcemaps = require('gulp-sourcemaps'); | |
const log = require('fancy-log'); | |
const sassSourceFile = 'assets/scss/hyde-hyde.scss'; | |
const outputFolder = 'static/css'; |
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
const inputStr = ... ; // a base64 encoded string | |
if (inputStr) { | |
const decodedStr = Buffer.from(inputStr, 'base64').toString('utf8'); | |
const result = JSON.parse(decodedStr); | |
if (result) { | |
// ... | |
} | |
} |
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
html, | |
body { | |
font-family: "Helvetica Neue", arial, sans-serif; | |
font-size: 16px; | |
line-height: 1.66em; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; | |
} |