Skip to content

Instantly share code, notes, and snippets.

View sample_tableau_notebook_controller
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tableau Server Controller"
]
},
{
View keybase.md

Keybase proof

I hereby claim:

  • I am jdkram on github.
  • I am jdkram (https://keybase.io/jdkram) on keybase.
  • I have a public key ASC9TsJt8hvsTQKfuucIoVJDziHEy_YJC1c9emNjpKCdTQo

To claim this, I am signing this object:

@jdkram
jdkram / DestinyTips.md
Created Oct 29, 2017
A list of resources for Destiny 2 players
View DestinyTips.md

Hi folks,

I've put together a list of resources for players of a variety of skill levels. If anyone has any corrections or suggestions please let me know!

Apps

Destiny official app, for LFG and clan chat: https://play.google.com/store/apps/details?id=com.bungieinc.bungiemobile&hl=en_GB

Inventory management:
An absolute must - get your kit around your characters even when away from The Tower, always ensure you're at maximum light level and quickly switch to specific loadouts for PvP etc.
@jdkram
jdkram / icite_sample_code.rb
Created Aug 13, 2016
iCite sample Ruby script
View icite_sample_code.rb
require 'open-uri'
require 'json'
require 'csv'
ICITE_URL = "https://icite.od.nih.gov/api/pubs"
ICITE_FIELDS = ["pmid", "authors", "citation_count", "citations_per_year", "expected citations_per_year", "field_citation_rate", "is_research_article", "journal", "nih_percentile", "relative_citation_ratio", "title", "year"]
SAMPLE_PMIDS = %w(
18541772 18542051 18542297 18543598 18544040
18544041 18544607 18545699 18546057 18546185
@jdkram
jdkram / gist:5087482
Created Mar 5, 2013
Errors with UTF-8 conversion that keep cropping up with my Ruby installation.
View gist:5087482
gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.9.0/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.0/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib
Building native extensions with: '--with-xml2-include=/usr/local/Cellar/libxml2/2.9.0/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.0/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib'
This could take a while...
Successfully installed nokogiri-1.5.6
Parsing documentation for nokogiri-1.5.6
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/nokogiri/nokogiri.bundle, skipping
Done installing documentation for nokogiri (3 sec).
1 gem installed
@jdkram
jdkram / gist:5087126
Created Mar 5, 2013
Error installing Nokogiri on MacOS 10.8.2 - weird problems with UTF-8 conversion
View gist:5087126
gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.9.0/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.0/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib
Building native extensions with: '--with-xml2-include=/usr/local/Cellar/libxml2/2.9.0/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.0/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib'
This could take a while...
Successfully installed nokogiri-1.5.6
Parsing documentation for nokogiri-1.5.6
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/nokogiri/nokogiri.bundle, skipping
Installing ri documentation for nokogiri-1.5.6
Done installing documentation for nokogiri (4 sec).
1 gem installed
You can’t perform that action at this time.