Skip to content

Instantly share code, notes, and snippets.

View mandrasch's full-sized avatar
🔍

Matthias Andrasch mandrasch

🔍
View GitHub Profile
@ffoodd
ffoodd / improved-sr-only.markdown
Last active March 21, 2025 09:26
Improved .sr-only

Improved .visually-hidden

Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.

A Pen by ffoodd on CodePen.

License.

@smichaelsen
smichaelsen / packagestates.md
Last active October 12, 2020 11:32
Goodbye PackageStates.php

Getting PackageStates.php out of your TYPO3 project's git

Why?

Ideally your git repository only contains code that you and your team wrote yourself by hand.

  • 3rd party code should be included via a dependency manager (like composer)
  • Generated files (like compiled stylesheets) should be excluded and be regenerated whenever needed (for example when you deploy your code to a server).

PackageStates.php contains the information which TYPO3 extensions are available and loaded in the system and is typically generated when you use the extension manager to (un)install extensions.

@jcnesci
jcnesci / how-to-delicious-to-evernote.md
Last active March 17, 2018 17:51
How to export Delicious bookmarks for Evernote (June 2016)

How to export Delicious bookmarks for Evernote (June 2016)

Delicious is going into disrepair, so I needed to find another home for my bookmarks. The transfer to Evernote was causing me headaches (since most things I found online no longer worked) so when I figured it out, I thought I'd document how I got it to work, for posterity.

Goal

Take Delicious bookmarks with tags, and create a new Bookmarks notebook in Evernote (basic/free version) which contains a new note for each old bookmark, with tags intact.

Steps

@6174
6174 / Random-string
Created July 23, 2013 13:36
Generate a random string in JavaScript In a short and fast way!
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);