- Abrir um shell em um container em execução:
docker exec -t -i <container_id> <shell>
- Excluir containers com status equivalente a Exited:
| # Terminal Settings (WGET, Apt e etc.) | |
| unset http_proxy | |
| unset https_proxy | |
| unset ftp_proxy | |
| unset rsync_proxy | |
| unset no_proxy | |
| # Configurações para proxy automático em ambientes Gnome | |
| if hash gsettings 2>/dev/null; then | |
| gsettings set org.gnome.system.proxy mode 'none' |
| # Terminal Settings (WGET, Apt e etc.) | |
| export http_proxy=http://localhost:3128 | |
| export https_proxy=$http_proxy | |
| export ftp_proxy=$http_proxy | |
| export rsync_proxy=$http_proxy | |
| export no_proxy=localhost,127.0.0.1,localaddress,.localdomain.com,10.* | |
| # Configurações para proxy automático em ambientes Gnome | |
| if hash gsettings 2>/dev/null; then | |
| gsettings set org.gnome.system.proxy autoconfig-url '<pac_file_location>' |
| #!/usr/bin/env node | |
| var args = process.argv.slice(2); | |
| //console.log('Started'); | |
| // String startsWith polyfill | |
| if (!String.prototype.startsWith) { | |
| Object.defineProperty(String.prototype, 'startsWith', { | |
| enumerable: false, |
Para configurar o filtro Cross Origin no WSO2 é necessário editar o arquivo <APIM_HOME>/repository/deployment/server/webapps/oauth2/WEB-INF/web.xml, adicionando a seguinte informação no final do arquivo:
<filter>
<filter-name>CORS</filter-name>
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
</filter>git config --global url."https://".insteadOf git://git config --global http.proxy http://proxyuser:[email protected]:8080git config --global https.proxy http://proxyuser:[email protected]:8080curl -v -U proxyuser:proxypass -x http://prxrj.prevnet:8080 --url http://www.google.com --proxy-ntlm| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Gerenciador de Coleções</title> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| fs = require("fs") | |
| port = process.argv[2] || 8888; | |
| http.createServer(function(request, response) { | |
| var uri = url.parse(request.url).pathname | |
| , filename = path.join(process.cwd(), uri); |
| <project> | |
| ... | |
| <build> | |
| <!-- To define the plugin version in your parent POM --> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-resources-plugin</artifactId> | |
| <version>2.5</version> |