This file contains hidden or 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
    
  
  
    
  | // Generate a set of 128x128 png icons for notifications from our color palette. | |
| // Order must match .status-box:nth-of-type() declarations. | |
| var color_data = { | |
| "#1564f9": "UVZPl4Z7ha", | |
| "#3fc41b": "U/xButvkTR", | |
| "#fa8e1f": "X6jh83IXPs", | |
| "#4ca8ea": "VMqOr4+3T5", | |
| "#f71347": "X3E0eeps0u", | |
| "#fcc124": "X8wST1RrWw" | |
| }; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | Look at this awesome gist | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Will Absolute Centering work in this browser? | |
| Modernizr.testStyles('#modernizr { height: 50px; width: 50px; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; }', function(elem, rule) { | |
| Modernizr.addTest('absolutecenter', Math.round(window.innerHeight / 2 - 25) === elem.offsetTop); | |
| }); | |
| // Does this browser support Display: Table variable height? | |
| Modernizr.testStyles('#modernizr { display: table; height: 50px; width: 50px; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; }', function(elem, rule) { | |
| Modernizr.addTest('absolutecentercontent', Math.round(window.innerHeight / 2 - 25) === elem.offsetTop); | |
| }); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | from sqlalchemy import Column, Integer, ForeignKey, create_engine | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy.ext.orderinglist import ordering_list | |
| from sqlalchemy.orm import relationship, backref, sessionmaker | |
| Base = declarative_base() | |
| class Slide(Base): | 
  
    
      This file contains hidden or 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 | |
| $agents = "/(sony|symbian|nokia|samsung|mobile|windows ce|epoc|opera mini|IEmobile|DoCoMo|nitro|j2me|midp-|cldc-|netfront|mot|up\.browser|up\.link|audiovox|blackberry|ericsson,|panasonic|philips|sanyo|sharp|sie-|ipad|ipod|iphone|portalmmm|blazer|avantgo|danger|palm|series60|palmsource|pocketpc|smartphone|rover|ipaq|au-mic,|alcatel|ericy|vodafone\/|wap1\.|wap2\.|mobile safari|android)/i"; | |
| $accepts = "/(text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml)/i"; | |
| if(preg_match($agents,$_SERVER['HTTP_USER_AGENT'])||preg_match($accepts,$_SERVER['HTTP_ACCEPT'])){ | |
| header("Location: mobile"); | |
| } | |
| ?> | 
  
    
      This file contains hidden or 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> | |
| using namespace std; | |
| #include <windows.h> | |
| HANDLE outcon = GetStdHandle(STD_OUTPUT_HANDLE); | |
| bool end22 = false; | |
| bool solved = false; | |
| void gotoxy(short x, short y) | |
| { |