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
#include "RGB.h" | |
#include "WProgram.h" | |
RGB::RGB(uint8_t r, uint8_t g, uint8_t b) | |
{ | |
Rpin = r; | |
Gpin = g; | |
Bpin = b; | |
} |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class MY_Loader extends CI_Loader | |
{ | |
function view($view, $vars = array(), $return = FALSE) | |
{ | |
if ($return != TRUE) | |
echo "<!-- $view -->\n"; | |
return ($return == TRUE ? "<!-- $view -->\n" : '') . $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return)); | |
} |
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
using System; | |
namespace ConsoleApplication1 | |
{ | |
enum PointType | |
{ | |
Point2D, | |
Point3D | |
} |
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 | |
require_once 'app/app.php'; | |
require_once 'app/view.php'; | |
$app = new app; | |
try { | |
$app->get('/404', function() { | |
echo view::render('views/404.php'); |
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 | |
// error_reporting(E_ALL); | |
require_once 'app/autoload.php'; | |
require_once 'app/view.php'; | |
$app = new App\App; | |
$app->get('/', function() { |
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
#include <cstdlib> | |
#include <iostream> | |
#include <windows.h> | |
#include <time.h> | |
#include "Snejk.h" | |
using namespace std; | |
CSnejk::CSnejk() |
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 | |
interface StringSignatureStorage | |
{ | |
function save(string $resourceId, array $keys); | |
} | |
interface StringStorageInterface | |
{ | |
function fetch(string $resourceId); |
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="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>vue eatally</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" type="text/css" media="screen"> | |
<style type="text/css" media="screen"> | |
body { | |
background-color: #f4f4f4; |
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 | |
// php hax0r.php "witam" | pbcopy | |
$alphabet = [ | |
'a' => '/-\\', | |
'b' => '|3', | |
'c' => '(', | |
'd' => '|)', | |
'e' => 'E', |
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 | |
namespace App\Http\Middleware; | |
use Closure; | |
class Transactional | |
{ | |
public function handle($request, Closure $next) | |
{ |
OlderNewer