Skip to content

Instantly share code, notes, and snippets.

View rafszul's full-sized avatar

rafal szulczewski rafszul

View GitHub Profile

Big + Markdown: big-gist

--- 5

Big is a nifty project that allows hackers to make slides easily using HTML


Project's Github

@rafszul
rafszul / style.css
Last active August 29, 2015 14:10 — forked from jazzsequence/style.css
/* custom css */
@import url(../style.css); /* call the parent css */
body {
background: #282a36; /* Old browsers */
background: -moz-linear-gradient(top, #282a36 25%, #282b3d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(25%,#282a36), color-stop(100%,#282b3d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #282a36 25%,#282b3d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #282a36 25%,#282b3d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #282a36 25%,#282b3d 100%); /* IE10+ */
<div id="comments"></div>
<script src="http://widgets.twimg.com/j/1/widget.js"></script>
<link href="http://widgets.twimg.com/j/1/widget.css" type="text/css" rel="stylesheet">
<script>
new TWTR.Widget({
type: 'search',
search: '<?php echo $post_link ?>',
id: 'comments',
loop: false,
subject: 'Comments',
@rafszul
rafszul / untitled
Last active August 29, 2015 14:11 — forked from anonymous/untitled
<div id="svgess-CHP-9-EX-1">
<p><b>Example 9-1. Clipping to a rectangular path</b>
</p>
<pre>&lt;defs&gt;
&lt;clipPath id="rectClip"&gt;
&lt;rect id="rect1" x="15" y="15"
width="40" height="45"
style="stroke: gray; fill: none;"/&gt;
&lt;/clipPath&gt;
&lt;/defs&gt;
@rafszul
rafszul / README.md
Last active August 29, 2015 14:11 — forked from rkirsling/LICENSE

Click in the open space to add a node, drag from one node to another to add an edge.
Ctrl-drag a node to move the graph layout.
Click a node or an edge to select it.

When a node is selected: R toggles reflexivity, Delete removes the node.
When an edge is selected: L(eft), R(ight), B(oth) change direction, Delete removes the edge.

To see this example as part of a larger project, check out Modal Logic Playground!

Vision

Content providers across all domains (scientific publishing, news, education, books) are facing the very same challenges when it comes to implementing an effective digital publishing workflow. From receiving a manuscript to peer review to publishing many manual steps are necessary. Communication usually happens offline (via email etc.) which is not only costly and time-consuming but also error-prone and intransparent. An ultimate goal would be to create a fully integrated, interactive environment that closes the gap between authors and publishers.

On the authors side we want a document authoring tool available as web-based component as well as local application e.g., for mobile devices,

// MultiExporter.jsx
// Version 0.1
// Version 0.2 Adds PNG and EPS exports
// Version 0.3 Adds support for exporting at different resolutions
// Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize
// Version 0.5 Fixed cropping issues
// Version 0.6 Added inner padding mode to prevent circular bounds clipping
//
// Copyright 2013 Tom Byrne
// Comments or suggestions to [email protected]
// MultiExporter.jsx
// Version 0.1
// Version 0.2 Adds PNG and EPS exports
// Version 0.3 Adds support for exporting at different resolutions
// Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize
// Version 0.5 Fixed cropping issues
// Version 0.6 Added inner padding mode to prevent circular bounds clipping
//
// Copyright 2013 Tom Byrne
// Comments or suggestions to [email protected]
<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>

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