Skip to content

Instantly share code, notes, and snippets.

View rafszul's full-sized avatar

rafal szulczewski rafszul

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MFiddle</title>
<script type="text/montage-serialization">{
"owner": {
"properties": {
"element": {"#": "owner"}
}

Architectural Questions

  • Are responsibilities well defined?
  • Are the collaborations well defined?
  • Is coupling minimized?
  • Can you identify potential duplication?
  • Are interface definitions and constraints acceptable?
  • Can modules access needed data—when needed?
@rafszul
rafszul / .gitignore
Last active August 29, 2015 14:17 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
/**
* Copyright 2014 Teralytics AG
*
* @author Kirill Zhuravlev <[email protected]>
*
*/
if("undefined"==typeof d3)throw"D3 SVG Overlay for Leaflet requires D3 library loaded first";if("undefined"==typeof L)throw"D3 SVG Overlay for Leaflet requires Leaflet library loaded first";d3.select("head").append("style").attr("type","text/css").text("svg.d3-overlay{pointer-events:none;position:absolute;}svg.d3-overlay>g.origin *{pointer-events:visiblePainted;}"),L.D3SvgOverlay=L.Class.extend({includes:L.Mixin.Events,options:function(t){return t===void 0?this._options:(t.zoomAnimate=t.zoomAnimate===void 0?!0:t.zoomAnimate,t.zoomHide=t.zoomHide===void 0?!t.zoomAnimate:t.zoomHide,t.zoomDraw=t.zoomDraw===void 0?!0:t.zoomDraw,t.jsAnimation=t.jsAnimation||!1,this._options=t)},draw:function(){this._drawCallback(this.selection,this.projection,this.map.getZoom())},initialize:function(t,i){this.options(i||{}),this._drawCallback=t},updSvg:function(){var t=this.map.getSize(),i=this.map.getPixelBounds(),s=this.map
@rafszul
rafszul / cafe-18.svg
Last active August 29, 2015 14:18 — forked from clhenrick/cafe-18.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
## FILL ##
fill Sets fill color of the shape.
fill-opacity Sets fill opacity of the shape.
fill-rule Sets fill rule of the shape.
** example **
fill: #ccc;
fill: rgba(0,0,0,.5);
fill: red;
<filter id="multitable">
<feComponentTransfer result="tablas">
<feFuncR type="table" tableValues="1 0 1" exponent="5"/>
<feFuncG type="table" tableValues="1 0 1" exponent="2"/>
<feFuncB type="table" tableValues="1 0 1" exponent="5"/>
</feComponentTransfer>
<feColorMatrix type="saturate" in="tablas" in2="SourceGraphic" values="-5"/>
</filter>
@rafszul
rafszul / .gitignore
Last active August 29, 2015 14:22 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@rafszul
rafszul / learn.lua
Last active August 29, 2015 14:22 — forked from tylerneylon/learn.lua
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------
#sidebar
.sidebar-item.open
.title Item 1
.info
label Some controls
input(type='checkbox')
label More controls
input(type='checkbox')