sudo apt-get updatesudo apt-get install -y libssl1.0.0 opensslopenssl version -aand confirm the "built on" date is >= 2014-04-07sudo lsof -n | grep ssl | grep DELand restart all listed services.
Repeat #4 until no results are returned.
This is an example of how to scaffold API endpoints to list / get / create / update / delete Posts in a Keystone website.
It's a modification of the default project created with the yo keystone generator (see https://github.com/JedWatson/generator-keystone)
Gists don't let you specify full paths, so in the project structure the files would be:
routes-index.js --> /routes/index.js // modified to add the api endpoints
routes-api-posts.js --> /routes/api/posts.js // new file containing the Post API route controllers
| angular.mock = { }; | |
| /** | |
| * | |
| */ | |
| angular.mock.$RootElementProvider = function() { | |
| this.$get = function() { | |
| return angular.element('<div ng-app></div>'); | |
| } | |
| }; |
| export default x=>document.createElement('a').href=x |
| #!/usr/bin/env python | |
| # I wasn't happy with any of the GitHub libraries for Python that I tried so I | |
| # just used the GitHub API directly. If someone would like to rewrite this | |
| # using a library please be my guest | |
| from __future__ import unicode_literals | |
| import argparse | |
| import base64 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>author</key> | |
| <string>Jacob Rus</string> | |
| <key>comment</key> | |
| <string>Created by Jacob Rus. Based on ‘Slate’ by Wilson Miner</string> | |
| <key>name</key> | |
| <string>Cowboy - Presentation</string> |
| ## Server configuration for nginx to host Atlassian Jira / Jetbrain TeamCity or any other Tomcat web application | |
| # | |
| # author cedric.walter, www.waltercedric.com | |
| # to be saved for ex in /etc/nginx/sites-available/example | |
| server { | |
| listen 80; | |
| server_name jira.example.com; | |
| access_log off; | |
| location / { |
| /*! | |
| * quantize.js Copyright 2008 Nick Rabinowitz. | |
| * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
| */ | |
| // fill out a couple protovis dependencies | |
| /*! | |
| * Block below copied from Protovis: http://mbostock.github.com/protovis/ | |
| * Copyright 2010 Stanford Visualization Group | |
| * Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php |