Skip to content

Instantly share code, notes, and snippets.

View BlaM's full-sized avatar

Dominik Deobald BlaM

View GitHub Profile
@BlaM
BlaM / md5_base64.php
Created October 12, 2016 14:11 — forked from julienbourdeau/md5_base64.php
PHP: md5_base64 function
function md5_base64( $data ) {
return preg_replace('/=+$/','',base64_encode(pack('H*',md5($data))));
}
@BlaM
BlaM / dabblet.css
Created January 6, 2014 13:43 — forked from LeaVerou/dabblet.css
Flexible Google-style progress indicator
/**
* Flexible Google-style progress indicator
*/
@keyframes progress {
50% { border-width: .5em 0; }
to { border-width: .5em 0 0 0; }
}
@keyframes rotate {
@BlaM
BlaM / dabblet.css
Created January 6, 2014 13:42 — forked from LeaVerou/dabblet.css
(C)Leanest CSS spinner ever
/**
* (C)Leanest CSS spinner ever
*/
@keyframes spin {
to { transform: rotate(1turn); }
}
.progress {
position: relative;
@BlaM
BlaM / DES crypt.js
Created October 23, 2013 16:23 — forked from tyilo/DES crypt.js
/* JavaScript password hash generator.
* $Id: pwd.js,v 1.5 2004/10/09 09:41:38 emikulic Exp $
*
* Copyright (c) 2004, Emil Mikulic.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright