Output in Browser:
undefined
undefined
{test: "abcd"}
"abcd"Output in Node:
Output in Browser:
undefined
undefined
{test: "abcd"}
"abcd"Output in Node:
| const stackA = new Stack(); | |
| stackA.push("abc"); | |
| stackA.push("xyz"); | |
| console.log(stackA.stack); | |
| stackA.stack = []; | |
| console.log(stackA.stack); | |
| const stackB = createStack() | |
| stackB.push("abc"); | |
| stackB.push("xyz"); |
| const pipe = async (stack, context) => { | |
| const execute = (context) => { | |
| let prevIndex = -1; | |
| const runner = async (innerContext, index) => { | |
| if (index == prevIndex) { | |
| throw new Error('next() called more than once'); | |
| } | |
| prevIndex = index; |
| <?php | |
| declare(strict_types=1); | |
| class AmbiguousElementException extends \InvalidArgumentException | |
| { | |
| } |
| #!/bin/bash | |
| PID_FILE=~/.restic_backup.pid | |
| TIMESTAMP_FILE=~/.restic_backup_timestamp | |
| if [ -f "$PID_FILE" ]; then | |
| if ps -p $(cat $PID_FILE) > /dev/null; then | |
| echo $(date +"%Y-%m-%d %T") "File $PID_FILE exist. Probably backup is already in progress." | |
| exit 1 | |
| else |
I hereby claim:
To claim this, I am signing this object:
$ mkdir ~/.binvpn file above to that directorycurl https://gist.github.com/bhstahl/a90d747683ea0598c673e42d7f5a8900/raw/75cf1751c315795619399ef0e6b53a0297af3040/vpn --output ~/.bin/vpnDockerfile that is based on your production image and
simply install xdebug into it. Exemple:FROM php:5
RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
| #!/bin/sh | |
| CRYPTOMATOR_PATH="/usr/local/bin/cryptomator-cli.jar" | |
| DIR_TO_SYNC_PATH="$HOME/Private" | |
| MOUNT_PATH="$HOME/VAULT_$RANDOM" | |
| VAULT_PATH="$HOME/PATH/TO/ENCRYPTED/VAULT" | |
| VAULT_PASSWORD="`security find-generic-password -a KEYCHAIN_ENTRY_VAULT_PASSPHRASE -w`" | |
| VAULT_NAME="vault" | |
| BIND_HOST="localhost" | |
| BIND_PORT="8198" |
| <?php | |
| class Dog { | |
| private $dog; | |
| public function __construct(Dog $dog) | |
| { | |
| $this->dog = $dog; | |
| } |