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
$> OPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@1.1/1.1.1k ./build.sh | |
cmake version 3.20.5 | |
CMake suite maintained and supported by Kitware (kitware.com/cmake). | |
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required): | |
Compatibility with CMake < 2.8.12 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value or use a ...<max> suffix to tell | |
CMake that the project does not need compatibility with older versions. |
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
$> cryfs --version | |
CryFS Version 0.10.2 | |
$> system_profiler SPSoftwareDataType | |
Software: | |
System Software Overview: | |
System Version: macOS 10.14.6 (18G95) | |
Kernel Version: Darwin 18.7.0 |
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
const webdriver = require('selenium-webdriver'); | |
const { By } = require('selenium-webdriver'); | |
const { port } = require('../config'); | |
const baseUrl = `http://localhost:${port}`; | |
// Change browser at runtime with: | |
// | |
// BROWSER=firefox npm test | |
const browser = process.env.BROWSER || 'chrome'; |
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
const { expect } = require('chai'); | |
const supertest = require('supertest'); | |
const { port } = require('../config'); | |
const baseUrl = `http://localhost:${port}`; | |
describe('One Chat Room API', function() { | |
it('should create a message', async function() { | |
const req = { |
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 | |
name=$1 | |
if test -z "$name"; then | |
>&2 echo "The first argument must be the name of an environment variable to print" | |
exit 1 | |
fi | |
value=${!name} | |
test -n "$value" && echo "The value of \$$name is $value" || echo "\$$name is not set" |
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
const fs = require('fs'); | |
const originalWords = [ 'Strawberry', 'Apple', 'Orange', 'Banana' ]; | |
writeWords('words.txt', originalWords, function(err) { | |
if (err) { | |
console.warn('Error: ' + err.message); | |
return; | |
} |
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/sh | |
taunt() { | |
signal="$1" | |
echo "Nice try, I am ignoring your SIG$signal signal" | |
} | |
for signal in $(kill -l); do | |
# Ignore SIGCHLD indicating that a child process has terminated. | |
if [ "$signal" = "CHLD" ]; then |
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
Somewhere over the rainbow | |
Way up high | |
And the dreams that you dream of | |
Once in a lullaby | |
Somewhere over the rainbow | |
Bluebirds fly | |
And the dreams that you dream of | |
Dreams really do come true |
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
Hello World |
NewerOlder