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 | |
STEMS=('s1' 's2' 's4') | |
for STEM in "${STEMS[@]}"; | |
do | |
curl -s "https://exclusive-or.io/stems/$STEM.tar.xz" | tar -xJv | |
done |
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
/** | |
* Assign column numbers according to your spreadsheet | |
*/ | |
var clientCol = 0 | |
var dueDateCol = 1 | |
var typeCol = 2 | |
var descriptionCol = 3 | |
/** |
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
<?php | |
namespace Drupal\custom_drush_commands\Commands; | |
use Drush\Commands\DrushCommands; | |
use Drush\Exceptions\UserAbortException; | |
/** | |
* Custom drush commands | |
*/ |
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
class Observable { | |
constructor(fn) { | |
this.fn = fn | |
} | |
subscribe(next, error, complete) { | |
if (typeof next === "function") { | |
return this.fn({ | |
next, | |
error: error || (() => {}), |
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
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install apt-transport-https lsb-release ca-certificates | |
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list | |
sudo apt-update | |
sudo apt-get install php7.2 | |
sudo apt-get install php7.2-cli php7.2-common php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-readline php7.2-xml php7.2-zip |