docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
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
MariaDB [vb5]> show tables; | |
+-----------------------------------+ | |
| Tables_in_vb5 | | |
+-----------------------------------+ | |
| Firmware | | |
| Firmware_Rechte | | |
| ad | | |
| adcriteria | | |
| adminhelp | | |
| administrator | |
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
su discourse -c 'bundle exec ruby script/import_scripts/instarvb5.rb' | |
Loading existing groups... | |
Loading existing users... | |
Loading existing categories... | |
Loading existing posts... | |
Loading existing topics... | |
importing groups... 17 / 17 (100.0%) [2707941 items/min] | |
importing users | |
20180 / 20180 (100.0%) [706239 items/min] # A few warnings about invalid email addresses |
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
# frozen_string_literal: true | |
require 'mysql2' | |
require File.expand_path(File.dirname(__FILE__) + "/base.rb") | |
require 'htmlentities' | |
class ImportScripts::VBulletin < ImportScripts::Base | |
BATCH_SIZE = 1000 | |
DBPREFIX = "" | |
ROOT_NODE = 2 |
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
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# https://www.nginx.com/resources/wiki/start/ | |
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/ | |
# https://wiki.debian.org/Nginx/DirectoryStructure | |
# | |
# In most cases, administrators will remove this file from sites-enabled/ and | |
# leave it as reference inside of sites-available where it will continue to be | |
# updated by the nginx packaging team. |
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
ContactInfo | Infected | InfectedAddress | Contact | Relationship | ContactAddress | Spread | Geography | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Fitness Studio | PersonA | CordonA | PersonB | Coworker | CordonB | New Territories | |||||||||
Fitness Studio | PersonB | CordonB | PersonV | Brother | CordonB | New Territories | |||||||||
Metro System | PersonC | CordonC | PersonQ | Sister | CordonE | 1 | Island District | ||||||||
Metro System | PersonD | CordonD | PersonAK | Wife | CordonG | Central Island | |||||||||
Workplace | PersonC | CordonC | PersonAL | Wife | CordonC | 1 | Central Island | ||||||||
Workplace | PersonA | CordonA | PersonAL | Wife | CordonC | 1 | Central Island | ||||||||
Workplace | PersonE | CordonE | PersonAM | Sister | CordonE | 1 | Central Island | ||||||||
Restaurant | PersonF | CordonF | PersonO | Coworker | CordonD | 0 | Old District | ||||||||
Workplace | PersonA | CordonA | PersonAK | Coworker | CordonG | 0 | Old District |
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
{ | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"parser": "babel-eslint", | |
"plugins": [ | |
"graphql", | |
"react" | |
], |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>5.0</version> | |
<date>2020-08-11T00:00:00Z</date> | |
<media_types> | |
<media_type> | |
<name>Slack</name> | |
<type>WEBHOOK</type> | |
<parameters> | |
<parameter> |
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
# There can only be a single job definition per file. This job is named | |
# "example" so it will create a job with the ID and Name "example". | |
# The "job" stanza is the top-most configuration option in the job | |
# specification. A job is a declarative specification of tasks that Nomad | |
# should run. Jobs have a globally unique name, one or many task groups, which | |
# are themselves collections of one or many tasks. | |
# | |
# For more information and examples on the "job" stanza, please see | |
# the online documentation at: |
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
image: docker:19.03.12-dind | |
variables: | |
DOCKER_HOST: tcp://docker:2375 | |
DOCKER_TLS_CERTDIR: "" | |
services: | |
- name: docker:19.03.12-dind | |
entrypoint: ["env", "-u", "DOCKER_HOST"] | |
command: ["dockerd-entrypoint.sh"] |