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 addOne = value => { | |
return value + 1; | |
}; | |
const failIfOdd = value => { | |
return value + 1; | |
}; | |
function railway ( chain ) { | |
return new Promise((resolve) => { |
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
{ | |
"require": { | |
"opis/closure": "^2.1.0" | |
} | |
} |
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
license: gpl-3.0 | |
height: 961 | |
border: no |
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
<?php | |
echo _DB_SERVER_.' - '._DB_NAME_.' - '._DB_USER_.' - '._DB_PASSWD_.' - '._DB_PREFIX_; |
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] | |
Type=Application | |
Exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-translate --disable-translate-new-ux --disable-infobars --kiosk url_entrypoint | |
Hidden=false | |
X-GNOME-Autostart-enabled=true | |
Name[en_US]=AutoChromium | |
Name=AutoChromium | |
Comment=Start Chromium when GNOME starts |
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
type Location { | |
id: ID! @unique | |
lat: Float! | |
lng: Float! | |
street: String | |
postalCode: String | |
city: City | |
} | |
type City { |
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 ubuntu:18.04 | |
LABEL name "rqlited" | |
COPY ./sysctl.conf /etc/sysctl.conf | |
COPY ./rqlited /tmp/ | |
RUN echo $NOW_URL |
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
features: { | |
post-booking: true, | |
maximize: false, | |
} |
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
jQuery(window).on('load', function() { | |
jQuery('fieldset#give-ffm-section').toggle(); | |
}); | |
// You can change the selecto to trigger the function on a different gateway | |
jQuery('.give-gateway-radio-list input').change(e => { | |
console.log('hello'); | |
}); |
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 fs = require('fs'); | |
const emlformat = require('eml-format'); | |
const htmlToImage = require('html-to-image'); | |
const nodeHtmlToImage = require('node-html-to-image'); | |
const input = 'sample.eml'; | |
const output = 'image.png'; | |
const eml = fs.readFileSync(input, 'utf-8'); | |
emlformat.read(eml, function (error, data) { |