Skip to content

Instantly share code, notes, and snippets.

View kghbln's full-sized avatar
🐇
Tempus ipsum affert consilium.

Karsten Hoffmeyer kghbln

🐇
Tempus ipsum affert consilium.
View GitHub Profile
@rohityadavcloud
rohityadavcloud / my.cnf
Created July 27, 2015 10:19
Example MySQL my.cnf optimized
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
syslog
### Keybase proof
I hereby claim:
* I am kghbln on github.
* I am kghbln (https://keybase.io/kghbln) on keybase.
* I have a public key whose fingerprint is 188A 2299 7D2B D982 913D BAE5 3323 8E94 6562 31E7
To claim this, I am signing this object:
@cb99999
cb99999 / jquery-clickable-div.js
Last active December 7, 2018 05:34
jquery -> make entire div a clickable link
<script>
jQuery(document).ready(function($) {
/*----------------------------
make entire div clickable
-----------------------------*/
$(".myBox").click(function(){
window.location=$(this).find("a").attr("href");
return false;