$ git remote -v
origin https://github.com/symfony/demo.git (fetch)
origin https://github.com/symfony/demo.git (push)
$ composer licenses
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "peru/windows-10-enterprise-x64-eval" | |
config.vm.synced_folder "data", "/vagrant_data" | |
config.vm.provider "virtualbox" do |vb| | |
# Display the VirtualBox GUI when booting the machine | |
vb.gui = true | |
# Customize the amount of memory on the VM: |
tap "buo/cask-upgrade" | |
tap "burntsushi/ripgrep", "https://github.com/BurntSushi/ripgrep.git" | |
tap "domt4/autoupdate" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-drivers" | |
tap "homebrew/cask-eid" | |
tap "homebrew/cask-fonts" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" |
#!/bin/sh | |
# script to change the sleep mode of an OS X machine | |
usage () { | |
echo "supported sleep modes:" | |
echo " sleep" | |
echo " safesleep" | |
echo " hibernate" | |
echo " secure" | |
echo " insecure" |
$ git remote -v
origin https://github.com/symfony/demo.git (fetch)
origin https://github.com/symfony/demo.git (push)
$ composer licenses
A way to make adminer not ask for any of credentials, using default values for: fake-username, fake-password and sqlite file database path.
adminer.php
, put in the same folder of index.php
(root) and set the correct filename there;plugin.php
and put it in plugins folder;auto-login.php
and login-sqlite.php
into plugins folder;<?php | |
namespace Alura\Doctrine\Mapping; | |
use Alura\Doctrine\Entity\Aluno; | |
use Alura\Doctrine\Entity\Curso; | |
use Alura\Doctrine\Entity\Telefone; | |
use Alura\Doctrine\Repository\AlunoRepository; | |
use LaravelDoctrine\Fluent\EntityMapping; | |
use LaravelDoctrine\Fluent\Fluent; |
<?php | |
$_GET["username"] = ""; | |
$_GET["db"] = "database"; | |
function adminer_object() { | |
class AdminerAutoLogin extends Adminer { | |
function credentials() { | |
return array("127.0.0.1", "username", "password"); | |
} | |
function login($login, $password) { | |
return true; |
Install and Configure Cntlm: | |
1. Configure EPEL Repo and install cntlm | |
yum install cntlm | |
3. Generate hashes for password-less configuration and add one of the values to /etc/cntlm.conf | |
cntlm -u <user>@<domain> -H | |
3. vi /etc/cntlm.conf | |
Username <Username> | |
Domain <Domain> | |
PassNTLMv2 BCB555F5BA8709B8186C2A813C47A4BD # Only for user '<user>', domain '<domain>' | |
Proxy <ProxyServer>:<Port> |