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
<p><strong>Individual Contributor Assignment Agreement (“Agreement”) v19.2.1-en</strong></p> | |
<p>Makánal Technológia és Szoftver Fejlesztés Kft. (“Makánal Tech” or “We” or “Us”), a limited | |
liability company duly organised under Hungarian law with its registered office in | |
Budapest, Hungary; UID/VAT: HU25854617</p> | |
<p>Thank you for your interest in contributing to Makánal Tech. This Agreement documents the | |
rights granted by Contributors to Makánal Tech. <strong>To make this document effective, please | |
complete the form at the bottom of this page.</strong></p> |
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
<p><strong>Individual Contributor License Agreement (“Agreement”) v19.2.1-en</strong></p> | |
<p>Makánal Technológia és Szoftver Fejlesztés Kft. (“Makánal Tech” or “We” or “Us”), a limited | |
liability company duly organised under Hungarian law with its registered office in | |
Budapest, Hungary; UID/VAT: HU25854617</p> | |
<p>Thank you for your interest in contributing to Makánal Tech. This Agreement documents the | |
rights granted by Contributors to Makánal Tech. <strong>To make this document effective, please | |
complete the form at the bottom of this page.</strong></p> |
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
/** | |
* Compares two datetime values and returns a human-readable interval in past or | |
* future tense. | |
* | |
* @param {string|number|Date} start The first (from) datetime to use in comparison. | |
* @param {string|number|Date} stop The second (to) datetime to use in comparison. | |
* | |
* @example "6 seconds ago" | |
* | |
* @return {string} The interval statement. |
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
/** | |
* Converts an argument representing a datetime into a Date object. | |
* | |
* @param {string|number|Date} time Argument representing a datetime. | |
* | |
* @return {Date} The Date object representing the specified datetime. | |
*/ | |
function convert_to_date_object(time) | |
{ | |
switch (typeof time) { |
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
/** | |
* Truncate long text within a span. Hover over span to see full text. | |
* | |
* @param {string} data The text content to include between span elements if longer | |
* than the specified maximum characters. | |
* @param {integer} chars The maximum number of characters before truncating with an | |
* ellipse. | |
* | |
* @return {string} The ellipsed span with the full text set as the title attribute if | |
* the specified data is greater than the max characters, otherwise |
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
#!/bin/bash | |
echo '### Updating installed packages...' | |
apt-get update | |
apt-get upgrade -y | |
echo '### Installing Apache...' | |
apt-get -y install apache2 | |
sed -i -e 's/\/var\/www\/html/\/var\/www\/public/g' /etc/apache2/sites-available/000-default.conf | |
if [ -f /var/www/html/index.html ]; then |