Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
<!-- You are probably already familiar with the possibility of hosting static websites on Amazon S3. | |
If not you should read this great tutorial by Chad Thompson: http://chadthompson.me/2013/05/06/static-web-hosting-with-amazon-s3/. | |
One common problem is that while being static your website still needs a contact form. | |
Here's a solution for this problem using Newman API (http://www.newmanapi.com). --> | |
<html> | |
<body> | |
<!-- First we set the 'action' attribute of <form> to point to Newman API --> | |
<form method="post" action="http://submit.newmanapi.com/" > | |
<!-- Now we create our input elements as we would in any other form --> |
This file contains 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
pymat <- function(string, ...) { | |
i <- 0 | |
for( arg in list(...) ) { | |
to_replace <- paste( sep='', "\\{", i, "\\}" ) | |
string <- gsub( to_replace, arg, string ) | |
i <- i + 1 | |
} | |
return( string ) | |
} |
This file contains 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
### MATPLOTLIBRC FORMAT | |
# This is a sample matplotlib configuration file - you can find a copy | |
# of it on your system in | |
# site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it | |
# there, please note that it will be overridden in your next install. | |
# If you want to keep a permanent local copy that will not be | |
# over-written, place it in HOME/.matplotlib/matplotlibrc (unix/linux | |
# like systems) and C:\Documents and Settings\yourname\.matplotlib | |
# (win32 systems). |