Skip to content
View depoulo's full-sized avatar
  • ePages GmbH
  • Hamburg, Germany
  • 17:17 (UTC +01:00)
  • X @depoulo

Block or report depoulo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. ePages-de/sort-phraseapp-locales ePages-de/sort-phraseapp-locales Public

    JavaScript

  2. ePages-de/dnd-page-scroll ePages-de/dnd-page-scroll Public

    Forked from martindrapeau/jQueryDndPageScroll

    Enable scrolling of the page during an HTML5 drag and drop operation

    JavaScript 4 2

  3. Add CSS rules quickly from the brows... Add CSS rules quickly from the browser JS console. Idea taken from http://davidwalsh.name/add-rules-stylesheets
    1
    (() => {
    2
      var style = document.createElement("style");
    3
      style.appendChild(document.createTextNode(""));
    4
      document.head.appendChild(style);
    5
      var rules = prompt('Paste CSS rules here');
  4. The CSS4 contrast adjuster mimicked ... The CSS4 contrast adjuster mimicked with just custom properties and calc(). Demo: https://codepen.io/depoulo/pen/WLGeQz
    1
    /*
    2
      The CSS4 contrast adjuster mimicked with just custom properties and calc().
    3
      While it's pretty straightforward to mimick the hue, saturation and
    4
      lightness adjusters, color contrast requires some "serious" math.
    5
      Results are not perfect, but very much usable IMHO.
  5. Create 100kB of random text Create 100kB of random text
    1
    # Windows (Git bash)
    2
    dd if=/dev/urandom of=tmp bs=100kB count=1 && base64 tmp > big && rm tmp && cat big > /dev/clipboard && rm big
    3
    # Mac OS
    4
    dd if=/dev/urandom of=tmp bs=100kB count=1 && base64 tmp > big && rm tmp && cat big | pbcopy && rm big