FROM consol/ubuntu-xfce-vnc | |
user 0 | |
ENTRYPOINT ["/dockerstartup/vnc_startup.sh"] | |
CMD ["--tail-log"] |
#!/bin/bash -ex | |
rm -rf db | |
mkdir db | |
mongod --dbpath db & | |
sleep 1 | |
mongo mydatabase --eval 'db.createUser({user: "admin", pwd: "password", roles: [{ role: "userAdminAnyDatabase", db: "admin" }]})' | |
sleep 1 | |
pkill mongod | |
mongod --auth --dbpath db |
#!/usr/bin/env bash | |
set -e | |
OTE=$(git log -1 --pretty=format:'%an') | |
KOURYE=$(git log -1 --pretty=format:'%ae') | |
DOSYE_RAPO=${TRAVIS_BUILD_ID}.${TRAVIS_COMMIT}.${TRAVIS_BUILD_NUMBER}.${OTE} | |
rm -rf ${2} | |
git clone https://${GITHUB_TOKEN:+${GITHUB_TOKEN}@}${1}/${2} | |
cd ${2} | |
cp -r ../site/allure-maven-plugin ./${DOSYE_RAPO} |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.zaka.rapoTes</groupId> | |
<artifactId>rapo-tes</artifactId> | |
<packaging>jar</packaging> | |
<version>0.1-SNAPSHOT</version> | |
<name>Rapo Tes</name> | |
curl https://start.spring.io/starter.tgz -d applicationName="prezantasyon data" -d description="Aplikasyon pou prezante data" -d artifactId=prezantasyon-data -d groupId=com.kamyonet -d dependencies=devtools,web,data-mongodb,security -d baseDir=prezantasyon-data | tar -xzvf - |
pip install flask-appbuilder | |
flask fab create-app | |
# Your new app name: trete-done | |
# Your engine type, SQLAlchemy or MongoEngine [SQLAlchemy]: | |
cd trete-done | |
export FLASK_APP=app | |
flask fab create-admin | |
# Username [admin]: | |
# User first name [admin]: | |
# User last name [user]: |
PRIVACY NOTICE
Last updated March 15, 2020
Thank you for choosing to be part of our community at KòdKreyòl (“Company”, “we”, “us”, or “our”). We are committed to protecting your personal information and your right to privacy. If you have any questions or concerns about our notice, or our practices with regards to your personal information, please contact us at pierevans@gmail.com.
When you visit our mobile application, and use our services, you trust us with your personal information. We take your privacy very seriously. In this privacy notice, we seek to explain to you in the clearest way possible what information we collect, how we use it and what rights you have in relation to it. We hope you take some time to read through it carefully, as it is important. If there are any terms in this privacy notice that you do not agree with, please discontinue use of our Apps and our services.
-
Fò sous kòd la kontwole ak yon bagay tankou git.
-
Fò gen yon fichye ki defini tout depandans yo.
-
Fò konfigirasyon yo nan varyab anvironman.
>>> bb = nested_defaultdict({'a':{'b': 1000}}) | |
>>> bb['c']['e']['f']['g'] = 2000 | |
>>> bb | |
defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'a': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'b': 1000}), 'c': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'e': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'f': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'g': 2000})})})}) | |
>>> bb['a']['c']['f']['g'] = 3000 | |
>>> bb | |
defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'a': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'b': 1000, 'c': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'f': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'g': 3000})})}), 'c': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'e': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'f': defaultdict(<function nested_defaultdict at 0x7fcb514bcb70>, {'g': 2000})})})}) | |
>>> import json | |
>>> json |