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 lang="sv"> | |
<head> | |
<meta charset="utf-8"> | |
<title>SiteSlider™</title> | |
<style type="text/css"> | |
body { | |
margin: 0; | |
padding: 0; | |
background-color: #BADA55; |
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
<!-- | |
Fungerar på denna typ av menysystem: | |
Huvudmeny => Drycker | |
Undermeny => Cocacola | |
Tredjemeny => Smaker | |
--> | |
<!DOCTYPE html> | |
<html lang="sv"> |
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 | |
/** | |
* CRUD med PDO - en lathund | |
* Av: Stefan Ledin | |
* stefanledin.se | |
* @stefanledin | |
*/ | |
try { |
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 | |
$json = array( | |
'key' => 'value' | |
); | |
echo $_GET['callback'] . ' (' . json_encode($json) . ');'; |
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
alias phpmamp='/Applications/MAMP/bin/php/php5.3.28/bin/php' | |
alias sr='open -a SourceTree' | |
alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl' | |
alias htdocs='cd /Applications/MAMP/htdocs' | |
alias wpth='cd wp-content/themes' |
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 | |
$all_strings = 'rthkunfaakmwmush qxlnvjguikqcyfzt sleaoasjspnjctqt lactpmehuhmzwfjl bvggvrdgjcspkkyj nwaceixfiasuzyoz hsapdhrxlqoiumqw lsitcmhlehasgejo hksifrqlsiqkzyex dfwuxtexmnvjyxqc iawwfwylyrcbxwak mamtkmvvaeeifnve qiqtuihvsaeebjkd skerkykytazvbupg kgnxaylpgbdzedoo plzkdktirhmumcuf pexcckdvsrahvbop jpocepxixeqjpigq vnsvxizubavwrhtc lqveclebkwnajppk ikbzllevuwxscogb xvfmkozbxzfuezjt ukeazxczeejwoxli tvtnlwcmhuezwney hoamfvwwcarfuqro wkvnmvqllphnsbnf kiggbamoppmfhmlf ughbudqakuskbiik avccmveveqwhnjdx llhqxueawluwmygt mgkgxnkunzbvakiz fwjbwmfxhkzmwtsq kzmtudrtznhutukg gtvnosbfetqiftmf aoifrnnzufvhcwuy cldmefgeuwlbxpof xdqfinwotmffynqz pajfvqhtlbhmyxai jkacnevnrxpgxqal esxqayxzvortsqgz glfoarwvkzgybqlz xdjcnevwhdfsnmma jyjktscromovdchb pvguwmhdvfxvapmz iheglsjvxmkzgdbu lwjioxdbyhqnwekv zcoguugygkwizryj ogvnripxxfeqpxdh hkvajhsbfnzsygbm cnjqeykecopwabpq wojjtbcjinoiuhsj kpwpvgxbyzczdzjq wrvhylisemlewgzk uiezkmnhilfzahtm mucteynnuxpxzmvt zaiwbgxefusfhmst apptbogpxivjwink qryboarjtwjhjgjb irehxupgyseaahzd |
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 | |
function timber_get_film_strip_image( $id = null, $caption = '', $class = '') { | |
$markup = ''; | |
//do nothing if we have no ID | |
if ( empty( $id ) ) { | |
return $markup; | |
} | |
if ( empty( $caption ) ) { |
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 | |
use Carbon\Carbon; | |
class TimeCounter | |
{ | |
protected $startTime; | |
protected $endTime; | |
public function start() { |
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 | |
// (Laravel) | |
use Tests\TestCase; | |
use Carbon\Carbon; | |
class TimeCounterTest extends TestCase | |
{ | |
public function test_duration() | |
{ | |
$counter = new TimeCounter(); |
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> | |
<meta charset="utf-8"> | |
<title>Intersection Observer</title> | |
</head> | |
<body> | |
<div class="page-wrapper"> | |
<nav class="navbar"> | |
<ul> |
OlderNewer