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
html | |
head | |
link(href="stylesheets/site.css", rel="stylesheet") | |
link(href="stylesheets/normalize.css", rel="stylesheet") | |
title Выбор города | |
body | |
header | |
a(href="#{Prototype.landing_page()}") Выбор города | |
ul#cities | |
li |
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
express = require "express" | |
views = require "connect-views" | |
class app extends express | |
configure:-> | |
@set "port", 3000 | |
@set "views", "#{__dirname}/views" | |
@set "view engine", "jade" | |
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
var requireCache = {}; | |
var fuck, subFuck; | |
fuck = (requireCache["/home/quby/Projects/up-in-heaven/public/coffeescripts/require/lib.coffee"] = (function () { | |
var module = { | |
exports: {} | |
}; | |
var exports = module.exports; | |
exports.fuck = function () { | |
return console.log("fuck"); |
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 get_header(); ?> | |
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> | |
<!-- Display the title on all pages except for the home page --> | |
<?php if ( !is_front_page() ) { ?> | |
<h2><?php the_title(); ?></h2> | |
<?php } ?> | |
<!-- Wrap a div around certain pages --> |
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
function content() { | |
for (var $2 in books) { | |
book = books[$2] | |
$cache["books-view"].get(book.id, function (data) { | |
if (data === null) { | |
$0 = new Buffer() | |
$1 = $res; | |
$res = $0; | |
$pull[books].get(book.id, function (book) { | |
$res.write("<h1>"); |
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 <clash/surface.hpp> | |
#include <clash/scene.hpp> | |
#include <clash/graphic.hpp> | |
using namespace clash; | |
int main () { | |
Surface game (640, 480, Surface::FullScreen); //создаем поверхность для вывода | |
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 <clash/surface.hpp> | |
#include <clash/scene.hpp> | |
#include <clash/graphic.hpp> | |
using namespace clash; | |
int main () { | |
Surface game (640, 480, Surface::FullScreen); //создаем поверхность для вывода | |
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 "clash.h" | |
#include <iostream> | |
using namespace clash; | |
class Box : public Mesh { | |
void draw () { | |
//тут задаем вертексы | |
} | |
} |
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
#!/usr/bin/env python | |
from sys import argv | |
import struct | |
prefix = "0000"; | |
def addrb(x): | |
return { | |
"a" : "000", | |
"b" : "001", |
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
1. cd /bin | |
2. sudo nano vgd | |
3. копируем вот это | |
#!/bin/sh | |
curl --url "http://v.gd/create.php?format=simple&url=$1" | |
echo "" | |
4. Вставляем shift+insert | |
5. ctrl+o сохраняем | |
6. sudo chmod +x vgd |
NewerOlder