Skip to content

Instantly share code, notes, and snippets.

View macx's full-sized avatar
🚲

David Maciejewski macx

🚲
View GitHub Profile
@macx
macx / com.example.KeyRemapping.plist
Last active September 4, 2020 09:16 — forked from chuyeow/com.example.KeyRemapping.plist
macOS key remapping
<!--
Simple Key Remapping for maxOS
Based on an article from Chu Yenow:
https://blog.codefront.net/2020/06/24/remapping-keys-on-macos
Create a LaunchAgent to automatically remap your keys when maxOS starts:
https://hidutil-generator.netlify.app/
and put this file an ~/Library/LaunchAgents/com.example.KeyRemapping.plist. to
automatically remap your keys when macOS starts.
@macx
macx / dabblet.css
Created May 23, 2012 10:40 — forked from ludviglindblom/dabblet.css
CSS3 Border-Radius with Border - Circle Avatars
/**
* CSS3 Border-Radius with Border - Circle Avatars
*/
/* General Styles */
body { background: url(http://subtlepatterns.com/patterns/white_texture.png);
font: 100 14px sans-serif;
color: #444555; text-shadow: 0 2px white;
text-align: center;
@macx
macx / amznshortener.js
Created November 18, 2011 08:23 — forked from nathos/amznshortener.js
AmznShortener - Javascript bookmarket source for an Amazon.com short-link generator.
(function(){
var aff = 'macx-21'; // replace 'macx-21' with your Amazon affiliate ID, including the '-20'
if (!document.getElementById('ASIN')) {
alert('Konnte keine Amazon-Produkt-ID finden');
return;
}
var asin = document.getElementById('ASIN').value;
prompt(
'Kurz-URL des Amazon-Produkts:',
'http://amazon.de/dp/' + asin + '/?tag=' + aff);