This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file Provides data structure for directed graphs | |
* @name Directed Graph | |
* @author Mr. Bean <mr@bean.com> | |
* @license MIT | |
* @copyright 2013 Mr. Bean | |
*/ | |
/** | |
* A Graph object with the basic properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file Provides data structure for directed graphs | |
* @name Directed Graph | |
* @author Mr. Bean <mr@bean.com> | |
* @license MIT | |
* @copyright 2013 Mr. Bean | |
*/ | |
/** | |
* A Graph object with the basic properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.htab > ul > li > a { | |
text-decoration: none; | |
} | |
.htab > ul > li > a:hover, .htab > ul > li > a:focus { | |
text-decoration: underline; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from settings import * | |
DATABASES = { | |
'default': { | |
'NAME': 'kuma', | |
'ENGINE': 'django.db.backends.mysql', | |
'HOST': 'localhost', | |
'USER': 'kuma', | |
'PASSWORD': '', | |
'OPTIONS': {'init_command': 'SET storage_engine=InnoDB'}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=The PHP 5.3 FastCGI Process Manager | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
PIDFile=/run/php-fpm/php-fpm5.3.pid | |
PrivateTmp=true | |
ExecStart=/usr/bin/php-fpm5.3 --pid /run/php-fpm/php-fpm5.3.pid | |
ExecReload=/bin/kill -USR2 $MAINPID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<!-- $Revision: 5865 $ --> | |
<HTML> | |
<HEAD> | |
<TITLE><MM-List-Name> Info Page</TITLE> | |
</HEAD> | |
<BODY BGCOLOR="#ffffff"> | |
<P> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Common top view | |
*/ | |
if(base_url() == current_url()) { | |
$class = "front"; | |
} else { | |
$class = "not-front"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Disable whitespace-mode when using web-mode | |
(add-hook 'web-mode-hook (lambda () (whitespace-mode -1))) | |
(add-to-list 'auto-mode-alist '("\\.inc$" . php-mode)) ;; - For Drupal | |
(add-to-list 'auto-mode-alist '("\\.\\(module\\|test\\|install\\|theme\\)$" . php-mode)) ;; - For Drupal | |
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.blade\\.php\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.jsp\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode)) |
NewerOlder