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
body {background: #222} | |
#main {-webkit-filter: invert(100%) contrast(70%) hue-rotate(0deg)} | |
#sidebar {-webkit-filter: invert(100%) contrast(90%)} | |
.notes {-webkit-filter: hue-rotate(90deg)} | |
#sidebar #main-nav a.current:not(.parent) {-webkit-filter: hue-rotate(120deg)} | |
.ui-button-text, .InputfieldImagePreview {-webkit-filter: invert(100%)} |
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
var gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
sass = require('gulp-sass'), | |
csso = require('gulp-csso'), | |
uglify = require('gulp-uglify'), | |
jade = require('gulp-jade'), | |
concat = require('gulp-concat'), | |
livereload = require('gulp-livereload'), // Livereload plugin needed: https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei | |
tinylr = require('tiny-lr'), | |
express = require('express'), |
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
//create 15 posts with 3 comments and 3 tags each | |
$posts = factory('App\Post', 15) | |
->create() | |
->each(function($post) { | |
foreach(range(1,3) as $v){ | |
$post->comments()->save(factory('App\Comment')->make()); | |
$post->tags()->save(factory('App\Tag')->make()); | |
} | |
}); | |
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
set people2Send to {} -- start off with an empty list | |
--set the path to your plain text file with addresses, and name, tab delimited | |
--change the username | |
set everybody to read file ("Macintosh HD:Users:sjardim:people_to_send.txt") | |
--set the path to the pdf files. The TXT file MUST be saved in Mac OS Roman encoding | |
set rootPath to "/Users/sjardim/pdf/" | |
set pcount to count paragraphs in everybody |
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
% DIN-A4 doublesided year calendar | |
% Author: Robert Krause | |
% Modified by: Sérgio Jardim (@sjardim) | |
% License : Creative Commons attribution license | |
% Submitted to TeXample.net on 13 July 2012 | |
\documentclass[landscape,a1paper,21pt]{scrartcl} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{tikz} % Use the calendar.sty style |
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
//Download sample file: https://www.dropbox.com/s/2ng7oyjnfjk9pm2/indesign-coordinates-test-file.indd.zip?dl=0 | |
app.activeDocument.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN; | |
var myDocument = app.activeDocument; | |
var activeLayer = myDocument.activeLayer; | |
if(!activeLayer.visible) { | |
alert("The selected layer: '"+ activeLayer.name +"' is not visible." + '\n' + "Make it visible and try again."); exit(); | |
} else { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>Import Books</title> | |
</head> | |
<body> | |
<table border='1' width='100%'> | |
<thead> | |
<tr> |
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
# FORGE CONFIG (DOT NOT REMOVE!) | |
include forge-conf/example.com/before/*; | |
server { | |
server_name example.com www.example.com; | |
return 301 https://$server_name$request_uri; | |
} | |
server { | |
listen 443 ssl http2; |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"editor.accessibilitySupport": "off", | |
"editor.lineHeight": 30, | |
"files.associations": { | |
"*.module": "php", | |
"*.latte": "smarty" | |
}, | |
"editor.cursorStyle": "line", |
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 namespace ProcessWire; | |
class ProcessSendyAPI extends WireData implements Module, ConfigurableModule | |
{ | |
public static function getModuleInfo() | |
{ | |
return array( | |
'title' => __('Process Sendy API'), | |
'summary' => __('Handle API calls to a Sendy installation'), |
OlderNewer