Skip to content

Instantly share code, notes, and snippets.

View JosefJezek's full-sized avatar

Josef Ježek JosefJezek

  • Heart of Europe
View GitHub Profile
@JosefJezek
JosefJezek / best-mobile-phones.md
Last active August 1, 2017 11:47
Best mobile phones
@JosefJezek
JosefJezek / awesome-cloud-apis.md
Last active September 12, 2019 02:06
Awesome Cloud APIs
@JosefJezek
JosefJezek / polymer-slack-answers.md
Last active January 30, 2017 15:30
Polymer Slack Answers

Polymer Slack Answers

What's the best way to only show an element if a with class="myclass" exists?

div ~ ::content .myclass

<div class="singleimage">
  <content select=".mainview"></content>
@JosefJezek
JosefJezek / mobile-first.md
Last active August 14, 2016 20:17
Mobile First
@JosefJezek
JosefJezek / how-to-fix-bower-and-node-dependencies.md
Last active February 19, 2016 11:32
How to fix Bower and Node dependencies

How to fix Bower and Node dependencies

Check versions

node -v
bower -v
npm -v
@JosefJezek
JosefJezek / README.md
Created February 15, 2016 10:03 — forked from datenimperator/README.md
Temporary fix for Gitlab sockets not working inside a LXC container on Proxmox 4.1

This is a temporary fix for a problem running Gitlab on Proxmox 4.1 inside a LXC container. Symptom: UNIX sockets created inside containers get wrong permissions. This seems to be related to AppArmor and the Debian kernel used by Proxmox. See this thread on the Proxmox forum for details.

Run apt-get install inotify-tools if you haven't installed inotifywait yet.

Place the first file in /usr/local/sbin/fix_gitlab.sh and make it executable: chmod 755 /usr/local/sbin/fix_gitlab.sh. Edit etc/rc.local to include it during boot.