This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!require(dplyr)) { | |
install.packages("dplyr", dependencies = T) | |
} | |
if (!require("devtools")){ | |
install.packages("devtools") | |
} | |
require(devtools) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# monitor your Macbook CPU temperature and the fan speed | |
# Required: iStats, https://github.com/Chris911/iStats | |
# Usage: Rscript chart.temp.fan.speed.osx.R | |
# Output: Rplots.pdf | |
if (!require("ggplot2")){ | |
install.packages("ggplot2", dep=T) | |
} | |
require(ggplot2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
07-12 13:57:38:964 #-------# oC found on "https://owncloud.domain.ext" | |
07-12 13:57:39:026 oc_module: Authentication required | |
07-12 13:57:39:026 oc_module: Call the csync callback for ownCloud | |
07-12 13:57:39:173 oc_module: Simple propfind result code 207. | |
07-12 13:57:39:173 oc_module: opendir returning handle 054815f8 | |
07-12 13:57:39:173 oc_module: owncloud_stat ownclouds://owncloud.domain.ext/remote.php/webdav/Development/Sites/personal/js called | |
07-12 13:57:39:173 csync_walker: directory: ownclouds://owncloud.domain.ext/remote.php/webdav/Development/Sites/personal/js | |
07-12 13:57:39:173 _csync_detect_update: ==> file: js - hash 17645160135380861920, mtime: 1373546553 | |
07-12 13:57:39:173 _csync_detect_update: Database entry found, compare: 1373546553 <-> 1373546553, md5: 51dfaa8c7e735 <-> 51dfaa8c7e735 | |
07-12 13:57:39:173 _csync_detect_update: file: js, instruction: INSTRUCTION_NONE <<= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import inspect | |
import shutil | |
import docutils.core | |
import ckan.logic.action.get as getactions | |
import settings_clean_api_client as settings | |
def extract_func_params_from_doc(docstring): | |
params = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://sam.zoy.org/wtfpl/COPYING for more details. | |
# | |
# Version 3, enhanced for Ubuntu 13.X+, Fedora 19+, and similar distros. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a minimal configuration example for httpd virtual host and php-fpm | |
# I put here the mod_fastcgi configuration even if it should be on a separate file | |
# Remember to use the right port number | |
NameVirtualHost *:12345 | |
<IfModule mod_fastcgi.c> | |
# "fake" php handler | |
AddHandler php5-fcgi .php | |
Action php5-fcgi /fcgi-bin/php5.external |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://sam.zoy.org/wtfpl/COPYING for more details. */ | |
# Usage: sh build_httpd_php-fpm.sh INSTALL_DIR PORT_NUM | |
# Example: sh build_httpd_php-fpm.sh $HOME/webapps/custom_apache 12345 |