MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="Permissions for users to access jobs and buildings"> | |
| <meta charset="utf-8"> | |
| <title>OxheyHall Job Permissions</title> | |
| <link href="https://fonts.googleapis.com/css?family=Raleway:200,300,400|Source+Code+Pro" rel="stylesheet"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> | |
| <style id="jsbin-css"> |
| { | |
| // http://eslint.org/docs/rules/ | |
| "ecmaFeatures": { | |
| "binaryLiterals": false, // enable binary literals | |
| "blockBindings": false, // enable let and const (aka block bindings) | |
| "defaultParams": false, // enable default function parameters | |
| "forOf": false, // enable for-of loops | |
| "generators": false, // enable generators | |
| "objectLiteralComputedProperties": false, // enable computed object literal property names |
| var express = require('express'); | |
| var cookieParser = require('cookie-parser'); | |
| var session = require('express-session'); | |
| var flash = require('express-flash'); | |
| var handlebars = require('express-handlebars') | |
| var app = express(); | |
| var sessionStore = new session.MemoryStore; | |
| // View Engines |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (C) 2014 Leo Iannacone <[email protected]> | |
| This file was generated from a textmate theme named Monokai Extended | |
| with tm2gtksw2 tool. (Alexandre da Silva) | |
| This library is free software; you can redistribute it and/or | |
| modify it under the terms of the GNU Library General Public | |
| License as published by the Free Software Foundation; either |
| <?php | |
| class Crypt { | |
| private $key; | |
| function __construct($key){ | |
| $this->setKey($key); | |
| } |
| // Load plugins | |
| var gulp = require('gulp'), | |
| sass = require('gulp-ruby-sass'), | |
| autoprefixer = require('gulp-autoprefixer'), | |
| minifycss = require('gulp-minify-css'), | |
| jshint = require('gulp-jshint'), | |
| uglify = require('gulp-uglify'), | |
| imagemin = require('gulp-imagemin'), | |
| rename = require('gulp-rename'), | |
| clean = require('gulp-clean'), |
| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your **location** block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # As of Nginx 1.7.5, add_header supports an "always" parameter which |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'gollum/app' | |
| gollum_path = File.expand_path(File.join(File.dirname(__FILE__), 'database.git')) # CHANGE THIS TO POINT TO YOUR OWN WIKI REPO | |
| Precious::App.set(:gollum_path, gollum_path) | |
| Precious::App.set(:default_markup, :markdown) # set your favorite markup language | |
| Precious::App.set(:wiki_options, {:live_preview => false, :universal_toc => false, :user_icons => 'gravatar'}) | |
| module Precious | |
| class App < Sinatra::Base | |
| # Creates a simple authentication layer |
| from urllib2 import urlopen | |
| code = urlopen("http://example.com/").code | |
| if (code / 100 >= 4): | |
| print "Nothing there." | |
| # via http://stackoverflow.com/questions/1966086/how-can-i-determine-if-anything-at-the-given-url-does-exist |