Skip to content

Instantly share code, notes, and snippets.

View DrMabuse23's full-sized avatar
🏠
Working from home

Pascal Brewing DrMabuse23

🏠
Working from home
View GitHub Profile
<div class="main-nav">
<div class="row">
<div class="col-lg-6 col-lg-offset-3 col-md-6 col-md-offset-3 col-sm-6 col-sm-offset-3">
<ul class="nav nav-tabs nav-justified text-left">
<li>
<a href="#home" data-toggle="tab">Schmuck</a>
</li>
<li><a href="#profile" data-toggle="tab">Manufaktur</a></li>
<li><a href="#messages" data-toggle="tab">Kontakt</a></li>
</ul>
@DrMabuse23
DrMabuse23 / _form.php
Created November 29, 2013 18:41
create hiddenfield
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var common\modules\yii2press\models\BlogCategory $model
* @var yii\widgets\ActiveForm $form
*/
<?php
class Sanitizer
{
/**
* Returns a url-sanitized string
* @static
* @param string $string
* @return string
*/
<?php
namespace drmabuse\bootstrapglue\helpers;
/**
* Date: 20.11.13
* Time: 23:00
* Class Glyph
* Create a Glyphicon
*
server {
listen 80
set $host_path "/var/www/netapp.dev";
access_log /var/www/netapp.dev/log/access.log main;
error_log /var/www/netapp.dev/log/error.log;
server_name netapp.dev;
root $host_path/www;
set $yii_bootstrap "index.php";
charset utf-8;
server {
listen 80
set $host_path "/var/www/netapp.dev";
access_log /var/www/netapp.dev/log/access.log main;
error_log /var/www/netapp.dev/log/error.log;
server_name netapp.dev;
root $host_path/www;
set $yii_bootstrap "index.php";
charset utf-8;
<?php
/**
*
* main.php configuration file
*
* @author Pascal Brewing <[email protected]>
* @link http://www.pascal-brewing.de
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
server {
listen 80
set $host_path "/var/www/netapp.dev";
access_log /var/www/netapp.dev/log/access.log main;
error_log /var/www/netapp.dev/log/error.log;
server_name netapp.dev;
root $host_path/www;
set $yii_bootstrap "index.php";
listen 443 default_server ssl;
server_tokens off;
worker_processes 1;
error_log /usr/local/etc/nginx/logs/error.log debug;
events {
worker_connections 1024;
}
http {
client_max_body_size 722m;
server {
listen 80;
server_name localhost;
root /Users/pascalbrewing/www/;
access_log /usr/local/etc/nginx/logs/default.access.log main;
location / {
include /usr/local/etc/nginx/conf.d/php-fpm;
}