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
-- Version 240808-02 | |
try | |
--tell application "FileMaker Pro" to activate | |
tell application "System Events" | |
tell process "FileMaker Pro" | |
set theWindow to window 1 | |
set uiElements to entire contents of theWindow | |
if (name of window 1 is "Specify Calculation") then |
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
/* | |
* DevTools_SetVarSteps2JSON ( option ; dataType ) | |
* | |
* Quite possibly one of the most valuable functions none of | |
* your end users will ever use! This one is for you, the developer. | |
* | |
* HINT: Copy any number of Set Variable[] script steps to your clipboard | |
* and use this function within the Data Viewer. Set parameters initially to blank. | |
* | |
* @requires: BaseElements plug-in |
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
Let ( [ | |
$$JSON = If ( IsEmpty ( $$JSON ); | |
BE_HTTP_GET ( "https://api.github.com/repos/GoyaPtyLtd/BaseElements-Plugin/commits" ); | |
/*else*/ | |
$$JSON ) | |
]; | |
// BE_JSON_jq ( $$JSON ; "." ; "") // All JSON: dot means "root". | |
// BE_JSON_jq ( $$JSON ; ".[]" ; "") // Now get the elements of the array. | |
// BE_JSON_jq ( $$JSON ; ".[2]" ; "") // Just one specific element. | |
// BE_JSON_jq ( $$JSON ; ".[2:5]" ; "") // Range of elements. |
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
alias ll="ls -l --group-directories-first --color=auto" | |
alias ls='ls -hF --color=auto' # add colors for filetype recognition | |
alias la='ls -Al --color=auto' # show hidden files | |
alias lx='ls -lXB --color=auto' # sort by extension | |
alias lk='ls -lSr --color=auto' # sort by size, biggest last | |
alias lc='ls -ltcr --color=auto' # sort by and show change time, most recent last | |
alias lu='ls -ltur --color=auto' # sort by and show access time, most recent last | |
alias lt='ls -ltr --color=auto' # sort by date, most recent last | |
alias lr='ls -lR --color=auto' # recursive ls | |
alias dir='dir --color=auto' # add colors |
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
# Unsupported browser features | |
no-ambientlight | |
no-battery-api | |
no-batteryapi | |
no-capture | |
no-contains | |
no-contextmenu | |
no-createelement-attrs | |
no-createelementattrs |
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
root@s1:~# cat /var/aegir/config/server_master/nginx/vhost.d/domain.org | |
server { | |
listen *:80; | |
server_name domain.com www.domain.com www.domain.org; | |
rewrite ^ https://domain.org$request_uri? permanent; | |
} | |
server { | |
listen *:80; | |
#root /data/sites/domain.org; |
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
root@s1:/var/xdrago/monitor# la | |
total 28K | |
drwx------ 2 root root 4.0K Oct 25 11:32 check/ | |
-rw-r--r-- 1 root root 75 Oct 25 09:43 scan_nginx.archive.log | |
-rw-r--r-- 1 root root 149 Oct 25 05:26 scan_nginx.archive.x3.log | |
-rw-r--r-- 1 root root 390 Oct 25 00:34 segfault_alert | |
-rw-r--r-- 1 root root 5.5K Oct 25 00:33 segfault_alert_archive | |
-rw-r--r-- 1 root root 75 Oct 25 09:43 web.log | |
---------------- snip ---------------- |
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
Aegir BOA-4.0.2-dev on Debian/stretch x86_64 | |
VPS Linux KVM guest | |
DSK 83/100 | |
CPU 4 | |
RAM 7959 | |
NGX 1.17.4 | |
PHP 7.3.10 | |
DBV 10.2.27 | |
RDS 5.0.5 | |
SSH 8.0p1 |
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
s1:/var/xdrago/conf# cat /var/backups/barracuda_log.txt | |
Wed Nov 14 17:43:09 EST 2012 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.4 / Barracuda BOA-2.0.4 / Nginx 1.3.8 / PHP 5.2.17 and 5.3.18 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28 localhost / Wildcard YES | |
Mon Nov 26 14:20:58 CST 2012 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.4 / Barracuda BOA-2.0.4 / Nginx 1.3.8 / PHP 5.2.17 and 5.3.18 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28 localhost / Wildcard YES | |
Wed Dec 12 16:13:18 CST 2012 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.4 / Barracuda BOA-2.0.4 / Nginx 1.3.8 / PHP 5.2.17 and 5.3.18 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28a localhost / Wildcard YES | |
Thu Jan 10 18:50:41 CST 2013 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.5 / Barracuda BOA-2.0.5 / Nginx 1.3.9 / PHP 5.2.17 and 5.3.20 / MODERN-YES / FPM 5.3 / CLI 5.3 / MariaDB-5.5.28a localhost / Wildcard YES | |
Mon Feb 25 13:15:46 CST 2013 / Debian.squeeze x86_64 XEN / Aegir BOA-2.0.5 / Barracuda BOA-2.0.5 / Nginx 1.3.9 / PHP 5.2.17 an |
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
ramdisk () { | |
test "$1" || 1=2 | |
DISK_NAME="RamDisk" | |
MAX_SIZE=6 | |
DISK_SIZE=$((${1}*1024*1024*1024/512)) | |
DISK_FOUND=`df | grep -o $DISK_NAME` | |
if [[ $1 -gt $MAX_SIZE ]] | |
then | |
echo "NOTICE: Can't create a ram disk larger than $MAX_SIZE GB" | |
return |
NewerOlder