I hereby claim:
- I am aranw on github.
- I am aranw (https://keybase.io/aranw) on keybase.
- I have a public key whose fingerprint is AEF5 4791 7C1B BB93 AA15 6DDD E2CA 29CF 18AB 5998
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
id,name,description | |
1,bob,"Bob is amazing" | |
2,jim,"Jim is just as amazing as Bob" |
package main | |
import ( | |
"log" | |
) | |
func main() { | |
test := []int{1, 2, 3, 4, 5} | |
log.Println(test) |
if (document.getElementById('testing')) { | |
document.getElementById('testing').innerHTML = 'Text should load using javascript.'; | |
} |
(function (b) { | |
(function (a) { | |
"__CF" in b && "DJS" in b.__CF ? b.__CF.DJS.push(a) : "addEventListener" in b ? b.addEventListener("load", a, !1) : b.attachEvent("onload", a) | |
})(function () { | |
"FB" in b && "Event" in FB && "subscribe" in FB.Event && (FB.Event.subscribe("edge.create", function (a) { | |
_gaq.push(["_trackSocial", "facebook", "like", a]) | |
}), FB.Event.subscribe("edge.remove", function (a) { | |
_gaq.push(["_trackSocial", "facebook", "unlike", a]) | |
}), FB.Event.subscribe("message.send", function (a) { | |
_gaq.push(["_trackSocial", "facebook", "send", a]) |
$(document).ready(function(){ | |
function sticky() { | |
var y = $(window).scrollTop(); | |
if( y > (60) ){ | |
$('.postnav').css({ | |
'position': 'fixed', | |
'top': '0', | |
'left': ($(window).width() - $('.container').width())/2 - 10 | |
}); | |
} else { |
/** | |
* Tiles | |
*/ | |
Body { | |
background: #515151; | |
min-height:100%; | |
margin: 0px; | |
} | |
.Tile { |
$(document).on("click", "a.reset",function(e) { | |
e.preventDefault(); | |
bootbox.confirm("Are you sure you want to reset this users password?", function(confirmed) { | |
if (confirmed) | |
{ | |
$.ajax({ | |
url: e.currentTarget.href, | |
success: function() | |
{ | |
location.reload(); |
public static function unique_slug($title) | |
{ | |
$post_slug = \Str::slug($title); | |
$next_slug = null; | |
$i = 0; | |
do | |
{ | |
if ($i == 0) | |
{ |
// This snippet below needs to be added to your apache config. | |
// Or add a extra vhosts.conf file and include it into your httpd.conf file with line... | |
Include /private/etc/apache2/other/vhosts.conf | |
// vhosts.conf | |
<VirtualHost *:80> | |
DocumentRoot "/Library/Webserver/Documents/daneden.me/" | |
ServerName daneden | |
ServerAlias daneden.local |