As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env python | |
import getopt | |
import sys | |
from sqlalchemy import create_engine, MetaData, Table | |
from sqlalchemy.dialects.mysql.base import TINYINT | |
from sqlalchemy.orm import sessionmaker | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.exc import ProgrammingError |
As configured in my dotfiles.
start new:
tmux
start new with session name:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<form method="post"> | |
{{ form.hidden_tag() }} | |
{{ form.example }} |
<?php namespace App\Domain\Backend\Auth; | |
use Illuminate\Auth\EloquentUserProvider; | |
class AuthManager extends \Illuminate\Auth\AuthManager | |
{ | |
protected function createEloquentProvider() | |
{ | |
$model = 'App\Models\BackendUser'; |
<?php | |
/** | |
* Plugin Name: Remove login autocomplete | |
* Description: Disable login password autocomplete | |
* Version: 0.1 | |
* Author: Nobody | |
* License: WTFPL | |
*/ | |
add_action('login_init', 'acme_autocomplete_login_init'); |
<?php namespace App\Http\Middleware; | |
use Closure; | |
use Monolog\Logger; | |
use Monolog\Handler\StreamHandler; | |
use Log; | |
class Security { | |
/** |
#Flask-admin Many-to-Many Search
Many-to-Many searches are not easily supported by Flask-admin. Read Here for more info
##Solution
Tested on Flask-Admin 1.1.0
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |
version: '3' | |
services: | |
web: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'gitlab.example.com' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://gitlab.example.com' | |
nginx['listen_port'] = 80 |