Setting | Value |
---|---|
RTC Server Address | 0.0.0.0 or [::] |
RTC Server Port | Leave blank for 8443 default, or change to another available port |
ICE Host Override | Your chat server's host name, e.g. mm.organisation.example , unless that may not resolve to your public IP address when queried locally on that server. The latter can occur if you have an entry in your hosts file that resolves to a loopback address, or split-horizon DNS, in which case you need to enter the IP address or a different (sub)domain that always resolves to it, e.g. calls-mm.organisation.example . |
ICE Servers Configurations | Leave blank |
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 | |
set -e | |
#shopt -s compat32 | |
# illegal on windows | |
re_ctrl='[:cntrl:]' | |
re_ctrl="^([^$re_ctrl]*)[$re_ctrl]+(.*)" | |
re_punct='<>:"\\/|?*' | |
re_punct="^([^$re_punct]*)[$re_punct]+(.*)" | |
re_ts_td='[. ]+$' |
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 | |
if maestral status | grep -qFi 'not running'; then | |
err='Maestral not running' | |
elif ! droot="`maestral config get path`"; then | |
err='Maestral not found' | |
elif ! real="`realpath -eLPq "$1"`"; then | |
err='Path does not exist' | |
elif [[ ${#real} -le ${#droot} || "${real:0:${#droot}}" != "$droot" ]]; then | |
err="The path $real is not below the Dropbox root directory $droot" | |
else |
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 | |
/** | |
* Import SQL files from a directory | |
* | |
* @author joshcangit, https://github.com/joshcangit | |
* @author Roy-Orbison, https://github.com/Roy-Orbison | |
*/ | |
class AdminerImportFromDir { |
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
<input type=search placeholder=search><br> | |
<textarea placeholder="won't respond to / shortcut"></textarea> | |
<script> | |
document.addEventListener( | |
'keydown', | |
(function() { | |
let lastWasSlash = false, | |
thisIsSlash, | |
input = document.querySelector('input'); | |
return evt => { |
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 | |
set -e | |
# Installation of this script: | |
# Delete one of the url variables below, or get another from | |
# https://www.mozilla.org/firefox/all/#product-desktop-developer | |
# by selecting your language and platform, then copying the link on the | |
# Download button. | |
# | |
url='https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US' |
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
window.location.href = (function() { | |
var browser = (function() { | |
var ua = navigator.userAgent, | |
tem, | |
M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; | |
if (/trident/i.test(M[1])) { | |
tem = /\brv[ :]+(\d+)/g.exec(ua) || []; | |
return { | |
name: 'IE', | |
version: (tem[1] || '') |
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 | |
function adminer_object() { | |
class YourClass extends Adminer { | |
protected $externals; | |
function __construct($externals) { | |
$this->externals = $externals; | |
} |
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 | |
set -e | |
# Installation of this script: | |
# Delete one of the url variables below, or get another from | |
# https://www.thunderbird.net/thunderbird/all/ | |
# and substituting its version number with 'latest' | |
# | |
url='https://download.mozilla.org/?product=thunderbird-latest-SSL&os=linux64&lang=en-US' | |
url='https://download.mozilla.org/?product=thunderbird-latest-SSL&os=linux64&lang=en-GB' |
NewerOlder