Skip to content

Instantly share code, notes, and snippets.

View themasch's full-sized avatar

Mark Schmale themasch

View GitHub Profile
@mnapoli
mnapoli / .phpstorm.meta.php
Created July 1, 2016 11:36
PHPUnit autocompletion with PhpStorm's latest EAP
<?php
namespace PHPSTORM_META {
$STATIC_METHOD_TYPES = [
\PHPUnit_Framework_TestCase::createMock('') => [
"" == "@|PHPUnit_Framework_MockObject_MockObject",
],
\PHPUnit_Framework_TestCase::getMock('') => [
"" == "@|PHPUnit_Framework_MockObject_MockObject",
],
@jhass
jhass / 1-Yubikey_session_lock.md
Last active January 28, 2024 13:54
Lock (Gnome) session when removing Yubico U2F key

Setup

  1. Copy 99-u2f_lock_screen.rules to /etc/udev/rules.d.
  2. Copy gnome_lock_all_sessions to /usr/local/bin.
  3. Mark gnome_lock_all_sessions as executable: chmod +x /usr/local/bin/gnome_lock_all_sessions
  4. Reload udev: udevadm control -R
@wardbekker
wardbekker / spdy_erlang.md
Created October 2, 2012 07:32
Enable SPDY for your Erlang website.
@endolith
endolith / Has weird right-to-left characters.txt
Last active April 30, 2024 12:48
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶