Node dependencies:
- wikibase-sdk
- bluereq
- vorpal
<?php | |
// This example shows: | |
// 1) How to invert the dependency of initialization of factories in dependent | |
// modules by giving a callable. This will defer the initialization of the | |
// dependency. | |
// 2) How to use a closure inside of a class as a callable. Notice how accessing | |
// "$this->presenter" gives the current presenter, not the one that was stored | |
// when the closure was created. |
--- | |
kind: pipeline | |
type: docker | |
name: default | |
steps: | |
- name: deploy | |
image: wikimediade/fundraising-ansible-deploy | |
pull: never # Until we publish the image | |
user: ansible |
Node dependencies:
Follow these steps:
if [ -f test ]; then
echo "exists!"
else
echo "missing!"
fi
#!/bin/bash | |
HEIGHT=15 | |
WIDTH=40 | |
CHOICE_HEIGHT=4 | |
TITLE="Deploy fundraising apps" | |
MENU="Choose one of the following options:" | |
OPTIONS=(T "Fundraising Frontend TEST " | |
L "Fundraising Frontend LAIKA SKIN" |
Ordered by personal preference, while thinking about using them for https://github.com/wmde/FundraisingFrontend
Pro:
#!/bin/sh | |
echo "Updating core" | |
git pull | |
composer update | |
for e in extensions/*; do | |
if [ -d "$e" ]; then | |
cd $e | |
echo "Updating $(pwd)" |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>SVG-Test</title> | |
<style> | |
.foo { | |
background:url('Thank-you-2017-background-900.svg') no-repeat top center; | |
background:url('https://upload.wikimedia.org/wikipedia/commons/9/9b/Thank-you-2017-background-1200.svg') no-repeat> | |
background-size: cover; | |
height:300px; |
reduce inputs as $obj ( | |
{}; | |
if $obj.severity == "E" then | |
. + { | |
($obj.severity): (.[$obj.severity] + 1) | |
} | |
else | |
. | |
end | |
) |
--- | |
- name: add user and create ssh key | |
user: name=shohei | |
- name: dowanload pubkey from Github and placed as authorized_keys | |
get_url: url=https://github.com/shohey1226.keys dest=/tmp/shohei.authorized_keys | |
delegate_to: 127.0.0.1 | |
- name: Create authorized_keys from the file that just downloaded | |
authorized_key: user=shohei key="{{ lookup('file', '/tmp/shohei.authorized_keys') }}" |