Copy these files to your ~/Library/Application Support/Notational Velocity/
folder.
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
server { | |
listen 80; | |
server_name www.example.com; | |
rewrite ^ $scheme://example.com$request_uri?; | |
} | |
server { | |
listen 80; | |
server_name example.com; | |
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
#!/bin/bash | |
# Usage: | |
# $ backup-wp.sh <path> <sitename> | |
# Requires WP-CLI: | |
# http://wp-cli.org | |
# Requires Andrea Fabrizi's Dropbox Uploader script: | |
# https://github.com/andreafabrizi/Dropbox-Uploader |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>isFontAvailable() Demo</title> | |
<meta name="description" content=""> | |
<meta name="author" content="Luís Rodrigues"> | |
<meta name="viewport" content="width=device-width"> | |
<style> |
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
# -*- mode: nginx; mode:autopair; mode: flyspell-prog; ispell-local-dictionary: "american" -*- | |
# LearningMode; | |
SecRulesEnabled; | |
DeniedUrl "/RequestDenied" | |
CheckRule "$SQL >= 8" BLOCK; | |
CheckRule "$RFI >= 8" BLOCK; | |
CheckRule "$TRAVERSAL >= 4" BLOCK; |
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 | |
function my_http_request_args ( $r ) | |
{ | |
$r['timeout'] = 15; # new timeout | |
return $r; | |
} | |
add_filter( 'http_request_args', 'my_http_request_args', 100, 1 ); |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
#!/bin/sh | |
NAXSI_VERSION=0.54rc3 | |
NGX_PAGESPEED_VERSION=1.9.32.6 | |
NGX_CACHE_PURGE_VERSION=2.3 | |
NGINX_VERSION=1.9.5 | |
sudo apt-get install \ | |
autoconf \ | |
build-essential \ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html | |
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<title>Select auto-width workaround for Internet Explorer</title> | |
<link rel="stylesheet" type="text/css" href="select-autowidth.css" title="Select Autowidth" /> | |
<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script> |
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 | |
# -*- coding: utf-8 -*- | |
# Usage: | |
# | |
# $ CODESHIP_API_KEY={your api key} CODESHIP_PROJECT_ID={project id} ./rebuild.py | |
import os | |
import json | |
import urllib2 |
NewerOlder