Skip to content

Instantly share code, notes, and snippets.

㊙️
Going underground

Dominic Sayers dominicsayers

㊙️
Going underground
Block or report user

Report or block dominicsayers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dominicsayers
dominicsayers / elasticsearch.md
Last active Nov 6, 2019
Configuring ElasticSearch to use less memory
View elasticsearch.md

What I actually did

/etc/security/limits.conf

elasticsearch hard memlock 100000

/etc/default/elasticsearch

View tigergraph-docker-cheatsheet.md

TigerGraph Docker cheatsheet

Information

docker ps -a | grep tiger

List all containers with tiger in their name or image name.

docker logs -f tiger-local-development

View blockstack.txt
Verifying my Blockstack ID is secured with the address 1F6D7pjF5BrTQuNyuq9RXVBnAHkj7nY4Pw https://explorer.blockstack.org/address/1F6D7pjF5BrTQuNyuq9RXVBnAHkj7nY4Pw
View onename.txt
Verifying that "dominicsayers.id" is my Blockstack ID. https://explorer.blockstack.org/name/dominicsayers.id
View crunchbase-api-v1.md

UPDATE: CrunchBase have now restored their own documentation so you should now use the canonical information at http://developer.crunchbase.com/. I am leaving this here in case of existing links to it but it is of historical interest only.

NOTE: This documentation has been put here because I couldn't find it anywhere else. I am not associated with Crunchbase in any way. I cannot help you with your Crunchbase API problems. If you need help try here: https://groups.google.com/forum/#!forum/crunchbase-api

CrunchBase API v1 Documentation

Overview

View Minimal gemspec.rb
Gem::Specification.new do |spec|
spec.name = "oc-events-jobs"
spec.version = ""
spec.summary = ""
spec.authors = ""
spec.files = []
end
@dominicsayers
dominicsayers / +++ zsh and bash configuration +++
Last active Jun 7, 2019
Dominic's bash & zsh shell config
View +++ zsh and bash configuration +++
Dominic's configuration files for `zsh` and `bash`
@dominicsayers
dominicsayers / HMRC-Basic-PAYE-Tools-1046.md
Created Mar 25, 2013
HMRC Basic PAYE Tools authentication error 1046
View HMRC-Basic-PAYE-Tools-1046.md

If you're getting an authentication error when trying to make a submission using the HMRC Basic PAYE Tools then check your password length. A password of more than 12 characters will not work.

The website lets you set up a longer password and use it to log in but it will not work for the Basic PAYE Tools.

Change your password on the website to 12 characters or less and you should be able to make your submission. Note that on the password change page it does tell you it should be 12 characters or less.

@dominicsayers
dominicsayers / virtualbox.md
Last active Apr 22, 2019
Installing Virtualbox 4.3 on Ubuntu Server 13.10 64-bit
View virtualbox.md

First install Virtualbox

  1. sudo pico /etc/apt/sources.list.d/virtualbox.list
  2. Add deb http://download.virtualbox.org/virtualbox/debian saucy contrib non-free
  3. wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
  4. sudo apt-get update
  5. sudo apt-get install dkms unzip
  6. sudo apt-get install virtualbox-4.3 --no-install-recommends
  7. wget http://download.virtualbox.org/virtualbox/4.3.6/Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack
  8. sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack
View git-bisect-cheatsheet.md
$ git bisect start
$ git bisect bad
$ git bisect good dd9b00ad73d71a84e11523c062048daaa8e590e9
Bisecting: 14 revisions left to test after this (roughly 4 steps)
[e6ac8fb2b6c9ee04d0600690f477e785f6c02330] Delegate create_graph_node to the graph client
$ git bisect run rspec ./spec/integration/company_branch_spec.rb:49

...
You can’t perform that action at this time.