brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
"""Add SP and trigger for CIDR overlap | |
Revision ID: cfbd4c516845 | |
Revises: d3435b514502 | |
Create Date: 2016-05-17 19:14:41.915533 | |
""" | |
from alembic import op | |
from neutron.db.migration.alembic_migrations import replaceable_obj |
"""Add SP and trigger for CIDR overlap | |
Revision ID: cfbd4c516845 | |
Revises: d3435b514502 | |
Create Date: 2016-05-17 19:14:41.915533 | |
""" | |
from alembic import op | |
from neutron.db.migration.alembic_migrations import replaceable_obj |
"""Add SP and trigger for Mysql and add gist for Postgresql | |
Revision ID: 23c280e37c2c | |
Revises: 30107ab6a3ee | |
Create Date: 2016-05-26 13:49:36.552012 | |
""" | |
from alembic import op |
from sqlalchemy import event | |
from sqlalchemy import DDL | |
def mysql_cidr_overlap(engine, metadata): | |
@event.listens_for(metadata, "after_create") | |
def _create_mysql_proc(target, connection, **kw): | |
if connection.engine.name != 'mysql': | |
return | |
if connection.scalar( |
from sqlalchemy import event | |
from sqlalchemy import DDL | |
def mysql_cidr_overlap(engine, metadata): | |
@event.listens_for(metadata, "after_create") | |
def _create_mysql_proc(target, connection, **kw): | |
if connection.engine.name != 'mysql': | |
return | |
if connection.scalar( |
#!/usr/bin/python | |
# Author: Nam Nguyen Hoai | |
# This file is to get content from a website | |
import os | |
import time | |
import datetime | |
from bs4 import BeautifulSoup | |
from requests_futures.sessions import FuturesSession |
import win32serviceutil | |
import win32service | |
import win32event | |
import servicemanager | |
import socket | |
import time | |
import logging | |
logging.basicConfig( | |
filename = 'c:\\Temp\\hello-service.log', |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"