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
<section class="section bg-gray" id="section-vtab"> | |
<div class="container"> | |
<header class="section-header"> | |
<small>Content switcher</small> | |
<h2>Vertical Tabs</h2> | |
<hr> | |
<p class="lead">A single content area with multiple panels, each associated with a header in a list.</p> | |
</header> | |
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
#!/usr/bin/bash | |
echo "Clear the previous installs" | |
rm -rf nextflow* .nextflow* jdk-8u281-linux-x64.tar.gz* jdk1.8.0_281 pettest_latest.sif fastp* work | |
echo "Installing java...\n" | |
wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://javadl.oracle.com/webapps/download/GetFile/1.8.0_281-b09/89d678f2be164786b292527658ca1605/linux-i586/jdk-8u281-linux-x64.tar.gz | |
tar xzvf jdk-8u281-linux-x64.tar.gz | |
export JAVA_HOME="$(pwd)/jdk1.8.0_281" | |
# save the java path as nxf_java_home too so that nextflow can find the java |
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
Containers: 6 | |
Running: 4 | |
Paused: 0 | |
Stopped: 2 | |
Images: 112 | |
Server Version: 18.06.1-ce | |
Storage Driver: overlay2 | |
Backing Filesystem: extfs | |
Supports d_type: true | |
Native Overlay Diff: true |
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
CATALINA_HOME = /opt/apache-tomcat-8.5.23 | |
context.xml NOT FOUND, proceeding with default config | |
shiro.ini NOT FOUND, proceeding with default config | |
spring.properties NOT FOUND, proceeding with default config | |
setenv.sh NOT FOUND, proceeding with default config | |
coda.sh NOT FOUND, proceeding with default config | |
isis.properties and/or viewer_wicket.properties and/or logging.properties NOT FOUND, proceeding with default config | |
Starting Catalina: | |
06-Sep-2018 04:58:13.351 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.23 | |
06-Sep-2018 04:58:13.361 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 28 2017 10:30:11 UTC |
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
# Move to the adgg folder | |
cp /opt/adgg_v2 | |
# Update the repos | |
git remote update | |
git merge origin/master | |
cd /opt/adggv2/odk_dashboard | |
git remote update | |
git merge origin/master |
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
As received: | |
Funny how things go round. | |
The founder of Tuskys used to work for Nakumat in the 80's when it was Nakuru Matreses as a driver. | |
As a retirement reward for long, loyal good service, the Nakuru mattresses guys helped him to start 'Rongai Self Service' in a remote village.. | |
The old man and his boys worked so hard and out of that set up Tusker Matreses in down town Nairobi which is today's Tuskys. | |
Look who is running to who for help many years down the road: |
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
upstream ona-venv { | |
server 127.0.0.1:8000; | |
} | |
server { | |
# Running port | |
listen 80; | |
client_max_body_size 50m; |
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
# Name of nodes to start, here we have a single node | |
CELERYD_NODES="w1" | |
# Where to chdir at start. | |
CELERYD_CHDIR="/opt/onadata-venv" | |
# Python interpreter from environment, if using virtualenv | |
ENV_PYTHON="/opt/onadata-venv/bin/python" | |
# How to call "manage.py celeryd_multi" |
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
#!upstart | |
description "onadata upstart script" | |
start on (local-filesystems and runlevel [2345]) | |
stop on runlevel [!2345] | |
respawn | |
script | |
exec sudo /usr/local/bin/uwsgi --ini /opt/onadata/uwsgi.ini --env DJANGO_SETTINGS_MODULE=onadata.settings.common |
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
-- For the Request for Quotation | |
create trigger rfq_oninsert before insert on `tabRequest for Quotation` for each row set NEW.transaction_date = curdate(); | |
-- Supplier Quotation | |
create trigger sqtn_oninsert before insert on `tabSupplier Quotation` for each row set NEW.transaction_date = curdate(); | |
-- Customer Quotation | |
create trigger qtn_oninsert before insert on `tabQuotation` for each row set NEW.transaction_date = curdate(); | |
-- Sales Order |
NewerOlder