![]() The prize is me sending you an email back btw. If you know a cleaner way to do this, email me :) I’ll give you a prize. This sort of self-aware object makes working with constant data much simpler. Sample Usage public_api ( 'GetMarkets', I generally do not release any crypto-related code, but in this case, I think I can help a few people out. This snippet allows you to programmatically access the Cryptopia API using Promises, which is much, much easier than dealing with callbacks, in my opinion. Here’s a file you can use to connect to the Cryptopia API. Once those dependencies are pulled down, run sh upload.sh -i to begin compressing and optimizing your images and code.ĮS2017 Javascript Module - Cryptopia API Then run the script setup by typing sh upload.sh -s. ![]() Make sure to configure your options at the top of the script! Paste the above script into that file and save. To use this script, create a blank file named upload.sh file in the root directory of your Jekyll site. You can run this script with a -s flag to automatically install the npm dependencies (Google Closure Compiler, Uglif圜SS, and HTML Minifier). All configuration of the script is done at the top of the file. I’ll show you how it looks for Park Center Automotive. This blog is now run from an S3 bucket - fully static.įor my dad’s site,, I use S3’s static site hosting capability, which makes the whole process extraordinarily simple. This blog (()) is run off an EC2 instance that syncs to my S3 bucket every couple of minutes, so all I need to do is upload my changes to S3, and an EC2 cron-job will take care of the rest. It can even optionally generate your favicon files for you. It minifies your assets, compresses your images, and uploads it all to S3 for you. ![]() I developed this while working on a couple of Jekyll sites (this one included). However, this is just a bash script (it does use some npm installs), and it’s pretty easy to configure. I am very aware that perfectly good minification scripts exist for Jekyll - they are better and more flexible than mine, I’m sure. Here’s a script to help you out when developing with Jekyll. If you have completed all of the above steps, you should be able to now run nifi run and get something similar to below. usr/libexec/java_home -V – list all versions of Java on the machineīrew tap caskroom/versions – allow brew to lookup versionsīrew cask install java8 – install java8 (if you haven’t already)īrew cask uninstall java – get rid of the default java9 (not strictly required)Įxport JAVA_HOME=$(/usr/libexec/java_home -v1.8) – set JAVA_HOME to java8 In particular when running 2.1.2 via chruby RubyMine continues to install gems under /.gem/ruby/2.0.0 or /. You will need to take the following steps to delete java9 and switch to java8: You can check your java version with java -version. Next up, try running NiFi via nifi run- I’m getting this error: WARN .Command Launched Apache NiFi but could not determined the Process ID.Īfter some Googling, I determined that we need java8 for NiFi, not java9 (which Homebrew installs by default). Nifi: Java 1.8+ is required to install this formula. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |