dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
Credit: http://ubuntugenius.wordpress.com/2011/01/08/ubuntu-cleanup-how-to-remove-all-unused-linux-kernel-headers-images-and-modules/
Wednesday, June 4, 2014
Thursday, February 27, 2014
Updating R from R (on Windows) – using the {installr} package
http://www.r-statistics.com/2013/03/updating-r-from-r-on-windows-using-the-installr-package/
http://www.r-statistics.com/2013/03/updating-r-from-r-on-windows-using-the-installr-package/
Friday, December 20, 2013
Dependency Walker 2.2
Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules.
http://www.dependencywalker.com/
Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules.
http://www.dependencywalker.com/
Thursday, September 26, 2013
100 Great Google Docs Tips for Students & Educators
https://docs.google.com/document/d/1jynk1wLDf89qpTrF3S8XPNaMJB9ua29M9haSx4dZtPU/edit
https://docs.google.com/document/d/1jynk1wLDf89qpTrF3S8XPNaMJB9ua29M9haSx4dZtPU/edit
Friday, September 6, 2013
Randomly Rename Every File in a Directory
http://www.howtogeek.com/57661/stupid-geek-tricks-randomly-rename-every-file-in-a-directory/
http://www.howtogeek.com/57661/stupid-geek-tricks-randomly-rename-every-file-in-a-directory/
Wednesday, August 28, 2013
How to convert a scanned graph into real data
http://lifeupfront.com/2009/02/18/how-to-convert-a-scanned-graph-into-real-data/
http://lifeupfront.com/2009/02/18/how-to-convert-a-scanned-graph-into-real-data/
Friday, July 5, 2013
Wednesday, June 26, 2013
Flash Troubleshooting
http://kb.mozillazine.org/Flash#Troubleshooting
C:\Windows\System32\Macromed\Flash
mms.cfg
ProtectedMode=0
about:config
dom.ipc.plugins.timeoutSecs -> -1
dom.ipc.plugins.enabled.* -> false
Turn off hardware acceleration:
http://kb.mozillazine.org/Flash#Performance_or_display_issues_with_certain_Flash_videos
http://kb.mozillazine.org/Flash#Troubleshooting
C:\Windows\System32\Macromed\Flash
mms.cfg
ProtectedMode=0
about:config
dom.ipc.plugins.timeoutSecs -> -1
dom.ipc.plugins.enabled.* -> false
Turn off hardware acceleration:
http://kb.mozillazine.org/Flash#Performance_or_display_issues_with_certain_Flash_videos
Thursday, June 20, 2013
a mcparallel/mccollect example
An example of mcparallel/mccollect to perform parallel tasks by creating external tasks.
library(parallel)
loop_function <- function (name, duration) {
start_time <- date()
i <- 0
while (i < duration) {
i <- i + 1
}
return (paste("Done: Job: ", name, "from", start_time, " to ", date()))
}
jobs_parallel <- lapply(1:9, function(x) mcparallel(loop_function(x, 3000000), name = x))
mccollect(jobs_parallel)
jobs_serial <- lapply(1:9, function(x) loop_function(x, 3000000))
jobs_serial
credits:
http://www.slideshare.net/bytemining/taking-r-to-the-limit-high-performance-computing-in-r-part-1-parallelization-la-r-users-group-727
http://stat.ethz.ch/R-manual/R-devel/library/parallel/doc/parallel.pdf
library(parallel)
loop_function <- function (name, duration) {
start_time <- date()
i <- 0
while (i < duration) {
i <- i + 1
}
return (paste("Done: Job: ", name, "from", start_time, " to ", date()))
}
jobs_parallel <- lapply(1:9, function(x) mcparallel(loop_function(x, 3000000), name = x))
mccollect(jobs_parallel)
jobs_serial <- lapply(1:9, function(x) loop_function(x, 3000000))
jobs_serial
credits:
http://www.slideshare.net/bytemining/taking-r-to-the-limit-high-performance-computing-in-r-part-1-parallelization-la-r-users-group-727
http://stat.ethz.ch/R-manual/R-devel/library/parallel/doc/parallel.pdf
Thursday, June 13, 2013
Building R packages in Windows
http://www.biostat.wisc.edu/~kbroman/Rintro/Rwinpack.html
After installing Rtools and fixing the PATH, you can use RStudio to build the packages. The built packages can be used in R too:
install.packages("path/to/the/package", type="source")
http://www.biostat.wisc.edu/~kbroman/Rintro/Rwinpack.html
After installing Rtools and fixing the PATH, you can use RStudio to build the packages. The built packages can be used in R too:
install.packages("path/to/the/package", type="source")
Tuesday, June 11, 2013
Creating graphics with R on the grid
http://bioinformaticslaboratory.nl/twiki/bin/view/EBioScience/GraphicsOnGridWithR
http://bioinformaticslaboratory.nl/twiki/bin/view/EBioScience/GraphicsOnGridWithR
Monday, June 10, 2013
10 R packages I wish I knew about earlier
http://blog.yhathq.com/posts/10-R-packages-I-wish-I-knew-about-earlier.html
http://blog.yhathq.com/posts/10-R-packages-I-wish-I-knew-about-earlier.html
Monday, May 27, 2013
Removing Lined Paper lines
http://magenta-moop.deviantart.com/art/Removing-Lined-Paper-lines-28770274
http://magenta-moop.deviantart.com/art/Removing-Lined-Paper-lines-28770274
Thursday, April 25, 2013
Matlab nested functions, allowing the inner function to see the workspace of the parent.
http://www.mathworks.com/help/matlab/matlab_prog/nested-functions.html
http://www.mathworks.com/help/matlab/matlab_prog/nested-functions.html
Subscribe to:
Posts (Atom)