Skip to content

Instantly share code, notes, and snippets.

version: '3.1'
services:
web-server:
image: jlennon91/php:1.0.7
restart: always
ports:
- 8080:80
volumes:
@jl91
jl91 / cli-config.php
Created December 13, 2018 17:43 — forked from FadelChafai/cli-config.php
Zend Expressive AND Doctrine Migrations
<?php
chdir(dirname(__DIR__));
require 'vendor/autoload.php';
/**
* Self-called anonymous function that creates its own scope and keep the global namespace clean.
*/
return call_user_func(function () {
/** @var \Interop\Container\ContainerInterface \$container */
@jl91
jl91 / estados-cidades.json
Created October 3, 2017 18:38 — forked from letanure/estados-cidades.json
JSON estados cidades
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
FROM opensuse:latest
RUN export uid=1000 \
gid=1000 \
SHELL=/bin/bash \
PATH=$PATH:/usr/bin/unzip:/usr/bin/zip \
PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig && \
zypper --non-interactive lu && \
zypper --non-interactive up && \
zypper --non-interactive install \
import java.lang.Math;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
// one class needs to have a main() method
public class HelloWorld
{
// arguments are passed using the text field below this editor
public static void main(String[] args)
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
</head>
<body>
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
</head>
<body>
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
</head>
<body>
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
</head>
<body>
// var nomes = [
// "John",
// 'João',
// 'Marcia',
// 'Neide',
// 'Gabriel',
// 'Silvia',
// 'Maicon',
// 'daniel'
// ];