Makefile for rust projects
Personal Coding and Hobby Notebook
You want to serve a wordpress instance on a website’s domain url but not at the path’s root, you want it under a sub-directory, for example “blog”, the same as this blog: https://www.gubatron.com/blog Here’s how my NGINX’s server block for ‘www.gubatron.com’ looks like at the moment (https/ssl hasn’t been configured yet) [pastacode lang=”javascript” path_id=”fc6f967d7689931c81e9e9691b714f29″ file=”” […]
Aprovecho y doy 2 consejos. Cuando Amarok, o XMMS no te quieren funcionar, y no ves ningun proceso que este relacionado en top, matas todo… firefox, xmms, amarok, y aun nada…. la solucion es lsof. Intenta hacer esto: lsof | grep alsa Aparecera una lista de procesos y te muestra que librerias estan ocupando. Mata […]
[javascript] Array.prototype.swap=function(a, b) { var tmp=this[a]; this[a]=this[b]; this[b]=tmp; } function quickSort(array,comparator) { qsort(array,0,array.length,comparator); } /** * NOTE: the comparator is a dynamic function you will define like so comparator(a,b) { if (a > b) return 1; else if (a < b) return -1; else { return 0; } } * it is up to you […]