http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
phpMyAdmin
Type | Protocol | Port Range | Destination |
---|---|---|---|
SSH | TCP | 22 | 0.0.0.0/0 |
from suds.client import Client | |
url = 'http://localhost:7789/?wsdl' | |
company = '2CA' | |
store = 1 | |
password = '1234' | |
client = Client(url) | |
client.service.GetTicketList( 'company_name', 1, '1234' ) |
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.events.MouseAdapter; | |
import org.eclipse.swt.events.MouseEvent; | |
import org.eclipse.swt.events.ShellAdapter; | |
import org.eclipse.swt.events.ShellEvent; | |
import org.eclipse.swt.graphics.Point; | |
import org.eclipse.swt.graphics.Rectangle; | |
import org.eclipse.swt.layout.GridData; | |
import org.eclipse.swt.layout.GridLayout; | |
import org.eclipse.swt.widgets.Button; |
#!/bin/bash | |
# taking backups | |
lcTypeBackup=$LC_TYPE | |
langTypeBackup=$LANG | |
export LC_TYPE=C | |
export LANG=C | |
# directory | |
currentDir=$PWD |
sudo apt install fonts-dejavu-core git pandoc | |
git clone https://github.com/getify/You-Dont-Know-JS.git | |
wget -O You-Dont-Know-JS/epub.css https://gist.githubusercontent.com/bmaupin/6e3649af73120fac2b6907169632be2c/raw/epub.css | |
cd You-Dont-Know-JS | |
# Clean up redundant headings that end up getting split into separate chapters by themselves | |
find . -iname "*.md" -exec sed -i '/# You Don'\''t Know JS.*/d' {} \; | |
# Fix <br> tags which pandoc won't convert to <br /> | |
find . -iname "*.md" -exec sed -i 's#<br>#<br />#' {} \; |
var author_list; | |
var author_index = 0; | |
var forum_index = 0; | |
var topic_index = 0; | |
var reply_index = 0; | |
var forum_list = []; | |
var topic_list = []; | |
var reply_list = []; | |
var json; |
http://blog.ijun.org/2011/02/mysqlinstalldb-fatal-error-could-not.html | |
Solution: | |
// look for binary path. | |
which mysql_install_db | |
/usr/local/bin/mysql_install_db |
# BEGIN Cache-Control Headers | |
<ifModule mod_headers.c> | |
<filesMatch "\.(ico|jpe?g|png|gif|swf)$"> | |
Header set Cache-Control "public" | |
</filesMatch> | |
<filesMatch "\.(css)$"> | |
Header set Cache-Control "public" | |
</filesMatch> | |
<filesMatch "\.(js)$"> | |
Header set Cache-Control "private" |
#!/usr/bin/python | |
import shutil | |
import time | |
import datetime | |
import os | |
import re | |
SRC_DIRECTORY_ROOT = '/fully/qualified/path/to/source' | |
DEST_DIRECTORY_ROOT = '/fully/qualified/path/to/destination' |
http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
phpMyAdmin
Type | Protocol | Port Range | Destination |
---|---|---|---|
SSH | TCP | 22 | 0.0.0.0/0 |
#!/bin/bash | |
left_display="eDP1" | |
right_display="HDMI2" | |
if [ $1 = "left" ] | |
then | |
xrandr --output $left_display --mode 1366x768 --output $right_display --off | |
elif [ $1 = "right" ] | |
then |