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
# Simple Coffeescript Templating | |
# Global Object to hold the templates | |
window.simpleCoffeeTemplates = | |
# An example template | |
example: (a) -> | |
""" | |
<div> | |
<h1 class='header'>#{a.header}</h1> |
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
mkdir AppName.iconset | |
sips -z 16 16 Logo_Big.png --out AppName.iconset/icon_16x16.png | |
sips -z 32 32 Logo_Big.png --out AppName.iconset/[email protected] | |
sips -z 32 32 Logo_Big.png --out AppName.iconset/icon_32x32.png | |
sips -z 64 64 Logo_Big.png --out AppName.iconset/[email protected] | |
sips -z 128 128 Logo_Big.png --out AppName.iconset/icon_128x128.png | |
sips -z 256 256 Logo_Big.png --out AppName.iconset/[email protected] | |
sips -z 256 256 Logo_Big.png --out AppName.iconset/icon_256x256.png | |
sips -z 512 512 Logo_Big.png --out AppName.iconset/[email protected] | |
sips -z 512 512 Logo_Big.png --out AppName.iconset/icon_512x512.png |
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"> | |
<title>User Manager</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.0/css/bootstrap.min.css"> | |
<script type="text/javascript" src="jspdf.js"></script> | |
<script type="text/javascript" src="jquery-2.1.0.min.js"></script> | |
<script type="text/javascript" src="./libs/FileSaver.js/FileSaver.js"></script> | |
<script type="text/javascript" src="./libs/Blob.js/Blob.js"></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
<?xml version="1.0" encoding="utf-8" ?> | |
<otrs_config version="1.0" init="Framework"> | |
<ConfigItem Name="Frontend::Output::FilterElementPost###OutputFilterTest" Required="0" Valid="1"> | |
<Description Translatable="1">This configuration registers an OutputFilter module that.</Description> | |
<Group>Framework</Group> | |
<SubGroup>Core::Web</SubGroup> | |
<Setting> | |
<Hash> | |
<Item Key="Module">Kernel::Output::HTML::OutputFilterTest</Item> | |
<Item Key="Templates"> |
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
# -- | |
# Kernel/Output/HTML/OutputFilterTest.pm | |
# -- | |
package Kernel::Output::HTML::OutputFilterTest; | |
use strict; | |
use warnings; | |
use File::Basename; |
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 els = document.getElementsByClassName('media-canvas'); | |
Array.prototype.forEach.call(els, function(el) { | |
console.log(el); | |
el.click(); | |
}); |