# upgrade npm to latest LTS
nvm install --lts
# install deps
npm install --legacy-peer-deps
...
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'material-kit-2-pro-react@2.0.0',
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
| httpd.conf : | |
| ... | |
| # Include generic snippets of statements | |
| Include conf.d/ | |
| # Include the virtual host configurations: | |
| Include sites-enabled/ | |
| conf.d/dockerips : | |
| SetEnv jenkins_ip 172.17.0.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
| #!/bin/sh | |
| sites_root=/etc/apache2/sites-available | |
| docker ps | tail -n +2 | while read cid b; do | |
| container_name=`docker inspect --format='{{.Config.Image}}' $cid`; | |
| container_ip=`docker inspect --format='{{.NetworkSettings.IPAddress}}' $cid`; | |
| if [ -f "$sites_root/${container_name}-docker" ] ; then | |
| sed -i 's#^\(.*ProxyPass / http://\).*\(:.*\)$#\1'"${container_ip}"'\2#g' "$sites_root/${container_name}-docker" | |
| sed -i 's#^\(.*ProxyPassReverse / http://\).*\(:.*\)$#\1'"${container_ip}"'\2#g' "$sites_root/${container_name}-docker" | |
| fi | |
| 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
| apt-get install -y libsvn-dev wget | |
| wget http://www.effervens.com/experimental/mesos/mesos_0.22.0_armhf.deb | |
| dpkg -i ./mesos_0.22.0_armhf.deb | |
| echo /opt/mesos/lib > /etc/ld.so.conf.d/mesos.conf | |
| ldconfig | |
| export MESOS_master=zk://ZK1:2181,ZK2:2181,ZK3:2181/mesos | |
| # Other options you're likely to want to set: | |
| export MESOS_log_dir=/var/log/mesos | |
| export MESOS_work_dir=/var/run/mesos | |
| export MESOS_isolation=cgroups |
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
| <link rel="import" href="../core-menu/core-submenu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; |
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
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import org.json.JSONArray; | |
| public class IterableJSONArray<T> extends JSONArray implements Iterable<T> { | |
| @SuppressWarnings("unchecked") | |
| @Override |
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
| { | |
| "basePath": "/jira/rest/", | |
| "paths": { | |
| "api/2/settings/columns": { | |
| "get": { | |
| "produces": ["application/json"], | |
| "operationId": "getIssueNavigatorDefaultColumns", | |
| "description": "Returns the default system columns for issue navigator. Admin permission will be required.", | |
| "responses": { | |
| "200": { |
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
| version: '3' | |
| services: | |
| crowd: | |
| image: atlassian/crowd:3.2.0 | |
| ports: | |
| - "8095:8095" | |
| volumes: | |
| - "/volume2/forge/crowd:/opt/atlassian/application-data/crowd" | |
| bitbucket: | |
| image: atlassian/bitbucket-server:5.10 |
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
| --- | |
| # $ PIP_REQUIRE_VIRTUALENV=false pip3 install docker-compose | |
| # $ ansible-playbook forge.yml -e ansible_python_interpreter=python3 | |
| - name: Deploy a docker-compose setup | |
| hosts: localhost | |
| vars_files: | |
| - docker-compose.yml | |
| tasks: | |
| - name: Create volumes | |
| docker_volume: |
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
| diff --git a/.eslintrc.json b/.eslintrc.json | |
| deleted file mode 100644 | |
| index fc5047e..0000000 | |
| --- a/.eslintrc.json | |
| +++ /dev/null | |
| @@ -1,33 +0,0 @@ | |
| -{ | |
| - "env": { | |
| - "browser": true, | |
| - "es2021": true |
OlderNewer