Skip to content

Instantly share code, notes, and snippets.

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
@Quby
Quby / coffee.coffee
Created August 28, 2012 16:30
Hm, too sugar
express = require "express"
views = require "connect-views"
class app extends express
configure:->
@set "port", 3000
@set "views", "#{__dirname}/views"
@set "view engine", "jade"
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");
<?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 -->
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>");
#include <clash/surface.hpp>
#include <clash/scene.hpp>
#include <clash/graphic.hpp>
using namespace clash;
int main () {
Surface game (640, 480, Surface::FullScreen); //создаем поверхность для вывода
#include <clash/surface.hpp>
#include <clash/scene.hpp>
#include <clash/graphic.hpp>
using namespace clash;
int main () {
Surface game (640, 480, Surface::FullScreen); //создаем поверхность для вывода
#include "clash.h"
#include <iostream>
using namespace clash;
class Box : public Mesh {
void draw () {
//тут задаем вертексы
}
}
#!/usr/bin/env python
from sys import argv
import struct
prefix = "0000";
def addrb(x):
return {
"a" : "000",
"b" : "001",
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