Skip to content

Instantly share code, notes, and snippets.

View rafszul's full-sized avatar

rafal szulczewski rafszul

View GitHub Profile
@rafszul
rafszul / .gitignore
Last active August 29, 2015 14:22 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
<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>
## 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;
@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.
/**
* 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 / .gitignore
Last active August 29, 2015 14:17 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #

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?
<!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"}
}

My Space

Pale skin, ash hair. Blue peeling nail varnish. I reach for some pills, it's been nearly four hours. I can't slow down, there's no time. Thoughts catch in a net between my brain and consciousness, my bones ache so deep I feel I have bone where it can't possibly exist. I push, mentally, and chide myself for slacking. The questions come back, they are a curse I'm forced to experience every day of my life.


Her Space

<svg preserveAspectRatio="xMinYMin" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 560 1388">
<defs>
<mask id="canTopMask">
<image width="560" height="1388" xlink:href="img/can-top-alpha.png"></image>
</mask>
</defs>
<image mask="url(#canTopMask)" id="canTop" width="560" height="1388" xlink:href="can-top.jpg"></image>
</svg>