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 / gist:8453185
Created Jan 16, 2014
Better error message for replaced session in PuppetJS
View gist:8453185
Puppet.prototype.setReferer = function (referer) {
if(this.referer && this.referer !== referer) {
this.showError("Error: Session lost", "Server replied with a different session ID that was already set. \nPossibly a server restart happened while you were working. \nPlease reload the page.\n\nPrevious session ID: " + this.referer + "\nNew session ID: " + referer);
}
this.referer = referer;
};
@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 / jQuery.md
Last active Jun 29, 2019
Web Components from the perspective of a jQuery developer
View jQuery.md

Web Components as successor to jQuery

This article is a homage to jQuery - a library that once was a great boost for the productiveness of thousands of web developers around the world. In the upcoming times, the benefit of using it will drop as web developers start to switch to the web standards, including Web Components.

Status quo

As of early 2014, current state of interactive web development heavily relies on established web standards - HTML, CSS and JavaScript, all of which have been subject to consistent iterative improvement during the last few years, with the support of all major web browser vendors.

As a report shows, 57.8% of all websites use JavaScript, of which stunning 93.2% use the jQuery library to enhance the development (source). There is a long tail of other libraries and micro frameworks that are being used instead, or in compliment to jQuery, but none of them has gotten close to the popularity of t

@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 / jQuery.md
Last active Oct 4, 2015
Blog Post 3 - jQuery
View jQuery.md

Web Components from the perspective of a jQuery developer

This article is a homage to jQuery - a library that once was a great boost for the productiveness of thousands of web developers around the world. In the upcoming times, the benefit of using it will drop as web developers start to switch to the web standards, including Web Components.

Status quo

As of early 2014, current state of interactive web development heavily relies on established web standards - HTML, CSS and JavaScript, all of which have been subject to consistent iterative improvement during the last few years, with the support of all major web browser vendors.

As a report shows, 57.8% of all websites use JavaScript, of which stunning 93.2% use the jQuery library to enhance the development (source). There is a long tail of other libraries and micro frameworks that are being used instead, or in compliment to jQuery, but none of them has gotten close to

@warpech
warpech / web_components.md
Last active Oct 4, 2015
Blog Post 1 - Web Components
View web_components.md

Web Components

Set of new technologies

Web Components is an umbrella term for the set of upcoming standards for web development (see the W3C Web Components page). Each on its own, they are a useful contribution to the current toolset of a web developer. But together they form a completely new paradigm of how web applications are created.

Web Components consist of 4 standards proposals:

You can’t perform that action at this time.