Setting up Dokku with DigitalOcean and Namecheap
..or how I made my own heroku in a few hours for $3.98.
| <?php | |
| /* Add Image Upload to Series Taxonomy */ | |
| // Add Upload fields to "Add New Taxonomy" form | |
| function add_series_image_field() { | |
| // this will add the custom meta field to the add new term page | |
| ?> | |
| <div class="form-field"> | |
| <label for="series_image"><?php _e( 'Series Image:', 'journey' ); ?></label> |
| application:open-your-keymap | |
| application:open-your-stylesheet | |
| autocomplete:attach | |
| autoflow:reflow-paragraph | |
| bookmarks:clear-bookmarks | |
| bookmarks:jump-to-next-bookmark | |
| bookmarks:jump-to-previous-bookmark | |
| bookmarks:toggle-bookmark | |
| bookmarks:view-all | |
| check:correct-misspelling |
W3C Introduction to Web Components - explainer/overview of the technologies
Follow the instructions here: https://www.linode.com/wiki/index.php/PV-GRUB#Ubuntu_12.04_Precise
Basically:
apt-get update
apt-get install -y linux-virtual grub-legacy-ec2
| //Allowing CORS (Cross-Origin Resource Sharing) requests from | |
| // grunt server, put this into Gruntfile.js | |
| grunt.initConfig({ | |
| connect: { | |
| livereload: { | |
| options: { | |
| port: 9000, | |
| hostname: 'localhost', | |
| middleware: function (connect) { | |
| return [ |
This article will explain how to set up a secure web server with NodeJS which only accepts connection from users with SSL certificates that you have signed. This is an efficient way to ensure that no other people are able to access the web server, without building a login system which will be significantly weaker.
I will not explain how to create a certificate authority (CA), create certificates or sign them. If you need to read up on this, have a look at this excelent article on how to do it with OpenSSL (Mac and Linux): https://help.ubuntu.com/community/OpenSSL#Practical_OpenSSL_Usage It is also possible to do this on a Mac with the keychain application, and I assume it is possible on a Windows machine aswell.
This architecture will allow you to have one web server communicating with an array of trusted clients, the web server itself can be on the public internet, that will not decrease the level of security, but it will only ser
| { | |
| "cmd": ["phpunit"], | |
| "file_regex": "php$", | |
| "selector": "source.php", | |
| "working_dir": "${project_path}" | |
| } |
| history | awk '{ print $2}' | sort | uniq -c | sort -n | tail -n 30 | sed -n '{s/^[ \t]*//};p' | gnuplot -p -e 'set xtics rotate out;set style data histogram;set style fill solid 1.0 border -1;plot "-" u 1:xtic(2) notitle' |