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
/* @group Columns | |
------------------------------------------------------------ */ | |
.one-half { width: 48%; } | |
.one-third { width: 30.66%; } | |
.two-third { width: 65.33%; } | |
.one-fourth { width: 22%; } | |
.three-fourth { width: 74%; } | |
.one-fifth { width: 16.8%; } | |
.two-fifth { width: 37.6%; } |
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
#!/bin/bash | |
# Enable all repositories | |
sudo sed 's/# deb/deb/' -i /etc/apt/sources.list | |
# Add repos | |
sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
# refresh the software list | |
sudo apt-get update |
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
$posts = get_posts(array( | |
'numberposts' => -1, | |
'post_type' => 'link', | |
'meta_query' => array( | |
array( | |
'key' => 'related_to', | |
'value' => get_the_ID(), | |
'compare' => 'LIKE' | |
) | |
) |
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 | |
class TestsRunner | |
{ | |
private $jsonFilePath; | |
public function setJsonFileLocation($path) |
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
{ | |
"layouts": [ | |
{ | |
"element": "slide", | |
"elementId": 1, | |
"properties": { | |
"identifier": { | |
"type": "string", | |
"attributes": { | |
"label": "ID", |
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
find . -type f -exec chmod 644 {} \; | |
find . -type d -exec chmod 755 {} \; |
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> | |
<html> | |
<head> | |
<title>VidRoaster</title> | |
</head> | |
<body> | |
<div class="page-wrap"> | |
<!-- Content of the various size here --> | |
</div> |
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
angular.module('main').run(function ($rootScope, $location, $window) { | |
$rootScope.$on('$routeChangeSuccess', function () { | |
var path = $location.path(); | |
$window.ga('send', 'pageview', {page: path}); | |
}); | |
}); |