Skip to content

Instantly share code, notes, and snippets.

🤹‍♂
Code sweet code

Marcin Warpechowski warpech

🤹‍♂
Code sweet code
Block or report user

Report or block warpech

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@warpech
warpech / Launcher-inner.html
Last active Aug 29, 2015
Launcher templates
View Launcher-inner.html
<template bind="{{workspace.appThumbnails.<!-- incremental number goes here -->}}">
<!-- single app output goes here -->
</template>
@warpech
warpech / Program.cs
Created Feb 21, 2014
Test performance of >= && <= operators
View Program.cs
using System;
using Starcounter;
using System.Diagnostics;
using System.Collections.Generic;
[Database]
public class TestRange
{
public int Name;
public long FromNum;
View gist:9199740
{
"dummyCRM":{
"Apps":[
{
"Appname":"En Bambim",
"Description":"Supercool En tracking app, made by Albert Einstein.",
"Html":"",
"Rating":0,
"Thumbnail":{
@warpech
warpech / gist:9249990
Last active Aug 29, 2015
Remote working Summer 2014
View gist:9249990

Time span

I vote for 2 weeks, but could be longer [Marcin]

Dates

  • Marcin: I can't on 29.06-2.07 and 19.07. Other dates are fine
  • Tomek ?
  • Alexey ?
  • Who else is interested?
@warpech
warpech / Program.cs
Created Mar 6, 2014
Object equality test
View Program.cs
using System;
using Starcounter;
[Database]
public class Panda
{
public string Name;
}
class Program
@warpech
warpech / oferta_pracy.md
Last active Aug 29, 2015
Oferta pracy - Senior JavaScript Developer
View oferta_pracy.md

Oferta pracy - Senior Web Components Developer (Gdynia)

🌊 Gdynia, 20 października 2014

Co robimy

Nextgen to :suspect::hurtrealbad: team programistów technologii JavaScript. Nasze biuro mieści się w PPNT w Gdyni. Poszukujemy programisty z doskonałą znajomością JavaScript i HTML5 do pracy przy nowym projekcie, opartym na Web Components i frameworku Polymer.

Polymer logo

@warpech
warpech / tasks.md
Last active Aug 29, 2015
Mayflower tasks list
View tasks.md

Additional functionality

@warpech
warpech / gist:a66d992720d30d0507f7
Last active Aug 29, 2015
Client-server versioning in Puppets
View gist:a66d992720d30d0507f7

Optional version control

Because of the asynchronous nature of bidirectional client-server communication (caused by network latency, server side push, etc), it can be assumed that client and the server state is always out of sync.

To solve the problem expressing changes in the view-model, optional server and client state versioning is introduced:

{
  "_ServerVersion": 0, 
  "_ClientVersion$": 0, 
@warpech
warpech / jquery.xdomain.js
Created Dec 15, 2011 — forked from mathieucarbou/jquery.xdomain.js
jQuery CORS Plugin - transparently add CORS support for IE8+ in jQuery using XDomainRequest. Support cookies.
View jquery.xdomain.js
(function($) {
var urlParseRE = /^(((([^:\/#\?]+:)?(?:\/\/((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?]+)(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)(#.*)?/;
function parseUrl(url) {
if (typeof url === "object") {
return url;
}
var u = url || "", matches = urlParseRE.exec(url), results;
if (matches) {
results = {
@warpech
warpech / find-links.sh
Created Dec 18, 2014
Find Gollum linked pages and orphans
View find-links.sh
You can’t perform that action at this time.