This file contains hidden or 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
autoLoader : function(){ | |
if($('video').length > 0) | |
{ | |
$('video').each( function(index) | |
{ | |
var videoParent = $(this).parent(); | |
var videoSource = $(this).attr('src'); | |
var videoWidth = $(this).attr('width'); |
This file contains hidden or 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 | |
/** | |
* Cut string, reflect words delimited by space, cuts some ugly chars from the end | |
* @param string $str | |
* @param int $length | |
* @return string | |
*/ | |
function cutStr($str, $length = 255, $suffix = NULL){ | |
// printable, formal, to samy co nad tim, jen jinak psany |
This file contains hidden or 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 namespace Fishcat\Shop\Models\Traits; | |
use Input; | |
trait TreeStructure { | |
public static $repository = false; | |
/** | |
* Get nested array of queried entry type |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
.flag-box { | |
width: 30px; | |
height: 30px; | |
display: inline-block; | |
vertical-align: middle; | |
position: relative; | |
} | |
.flag-box .flag { | |
display: inline-block; |
This file contains hidden or 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
{ | |
"vars": { | |
"@gray-base": "#666", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#67C8FF, 6.5%)", | |
"@brand-success": "#00cc00", |
This file contains hidden or 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 | |
namespace phpDocumentor\Plugin\Core\Descriptor\Validator; | |
/** | |
* | |
* @property \phpDocumentor\Descriptor\ArgumentDescriptor $argument | |
* @property \phpDocumentor\Descriptor\Tag\ParamDescriptor $parameter | |
* @property \phpDocumentor\Descriptor\Collection $parameters | |
* @property string $fqsen |
This file contains hidden or 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import pexpect | |
import json | |
import time | |
import os | |
from sys import argv | |
class Mounter: |
This file contains hidden or 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
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "#0c9191", | |
"@brand-success": "#36CC36", |
This file contains hidden or 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
#!/bin/bash | |
# place thi s file into the web dir | |
# install Flask foundation + dependencies | |
cd .. | |
git clone https://github.com/JackStouffer/Flask-Foundation.git web | |
cd web | |
make deps | |
wget https://gist.github.com/prochor666/a367a9ebd7cf67f04668/raw/6516a8dd3c90c808c5f2c81f67481a4fd48126f6/manage.wsgi |
This file contains hidden or 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
#!/bin/bash | |
# Tested on Debian Wheezy 7.1 | |
wget http://curl.haxx.se/ca/cacert.pem | |
cp cacert.pem /etc/ssl/cert/cacert.pem | |
update-ca-certificates -f |
OlderNewer