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
#ifdef _WINDOWS | |
#include <GL/glew.h> | |
#endif | |
#include <SDL.h> | |
#include <SDL_opengl.h> | |
#include <SDL_image.h> | |
#include <ctime> | |
#include <vector> | |
#include "Matrix.h" | |
#include "ShaderProgram.h" |
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
#ifdef _WINDOWS | |
#include <GL/glew.h> | |
#endif | |
#include <SDL.h> | |
#include <SDL_opengl.h> | |
#include <SDL_image.h> | |
#include "Matrix.h" | |
#include "ShaderProgram.h" | |
#ifdef _WINDOWS |
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
{% load crispy_forms_tags %} | |
<!-- {% load crispy_forms_tags %} --> | |
<!Doctype html> | |
<html> | |
<head> |
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 torusVertexPositionBuffer; | |
var torusVertexIndexBuffer; | |
var sphereVertexPositionBuffer; | |
var sphereVertexIndexBuffer; | |
function initBuffers() { | |
var latitudeBands = 30; | |
var longitudeBands = 30; | |
var radius = 0.5; | |
var vertexPositionData = []; |
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
c.c | |
#include "types.h" | |
#include "defs.h" | |
#include "param.h" | |
#include "memlayout.h" | |
#include "mmu.h" | |
#include "x86.h" | |
#include "proc.h" | |
#include "spinlock.h" |
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
<script src=lib1.js></script> | |
<body bgcolor=black> | |
<center> | |
<td><canvas id='canvas1' width=550 height=550></canvas></td> | |
</center> | |
</body> | |
<script id='my_vertex_shader' type='x-shader/x-vertex'> | |
attribute vec3 aPosition; |
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
# -*- coding: utf-8 -*- | |
# Define here the models for your scraped items | |
# | |
# See documentation in: | |
# http://doc.scrapy.org/en/latest/topics/items.html | |
from scrapy.item import Item, Field | |
from scrapy.contrib.loader.processor import TakeFirst |
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
import scrapy | |
from scrapy import Request | |
from scrapy.contrib.spiders import CrawlSpider , Rule | |
from scrapy.selector import HtmlXPathSelector | |
from scrapy.selector import Selector | |
from scrapy.contrib.linkextractors import LinkExtractor | |
from scrapy.contrib.loader import ItemLoader | |
from scrapy.contrib.loader import XPathItemLoader | |
from scrapy.contrib.loader.processor import Join, MapCompose | |
from concert_comparator.items import ComparatorItem |
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<iostream> | |
#include<string> | |
#include<stack> | |
#include<queue> | |
using namespace std; | |
//Checks to see if the symbols are of the same type and are facing the opposite direction | |
bool closedSymbols(char openSym, char closedSym){ | |
if (openSym == '(' && closedSym == ')')return true; |
NewerOlder