Skip to content

Instantly share code, notes, and snippets.

@workshur
workshur / git-gpg.md
Created October 15, 2018 18:27 — forked from bcomnes/git-gpg.md
my version of gpg on the mac
  1. brew install gnupg21, pinentry-mac (this includes gpg-agent and pinentry)

  2. Generate a key: $ gpg2 --gen-key

  3. Take the defaults. Whatevs

  4. Tell gpg-agent to use pinentry-mac:

    $ vim ~/.gnupg/gpg-agent.conf 
    
@workshur
workshur / Error
Created September 13, 2018 15:09
2018-09-13 14:47:42.989  INFO 1 --- [cTaskExecutor-1] c.f.c.d.m.a.l.WorkflowLaunchingListener  : Received workflow launching message: WorkflowLaunchingMessage[workflowId=05520172-ca48-4136-8c59-3ae2cc8254fb, workflowStepId=94cee9bf-0329-471d-a27c-b3559967f63b, workflowName='null', jobId=66, dataUploadIds=null, userApiKey='********7Ye6', totalWorkflowRows=3]
2018-09-13 14:47:42.990  WARN 1 --- [cTaskExecutor-1] s.a.r.l.ConditionalRejectingErrorHandler : Execution of Rabbit message listener failed.
2018-09-13T14:47:42.990526574Z 
org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Listener method 'public void com.figureeight.client.data.materializer.api.listener.WorkflowLaunchingListener.receiveWorkflowLaunchingMessage(com.figureeight.client.data.materializer.api.domain.broker.WorkflowLaunchingMessage)' threw exception
at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:190) ~[spring-rabbit-2.0.4.
@workshur
workshur / ml-recs.md
Created September 10, 2018 04:49 — forked from bsletten/ml-recs.md
Machine Learning Path Recommendations

This is an incomplete, ever-changing curated list of content to assist people into the worlds of Data Science and Machine Learning. If you have a recommendation for something to add, please let me know. If something isn't here, it doesn't mean I don't recommend it, I just may not have had a chance to review it yet or not.

I will generally list things in order of easier to more formal/challenging content.

It may feel like there is an overwhelming amount of stuff for you to learn (because there is). But, there is a guided path that will get you there in time. You need to focus on Linear Algebra, Calculus, Statistics and probably Python (or R). Your best bet is to get a Safari Books Online account (https://www.safaribooksonline.com) which you may already have access to through school or work. If not, it is a reasonable way to get access to a tremendous number of books and videos.

I'm not saying you will get what you need out of everything here, but I have read/watched at least some of all of the following an

@workshur
workshur / [DOCKER] No space left on device error
Last active November 23, 2017 13:21
[No space left on device error] #tags: docker
1. Soft Fix
docker rmi $(docker images -q -f "dangling=true")
# Start env
docker system prune
docker volume prune
2. Hard
rm ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2
restart docker
@workshur
workshur / [GIT] prune
Last active April 18, 2017 07:50
[Prune] prune #tags: git
git gc --prune=now
@workshur
workshur / [CSS] base64 for background-image
Last active April 18, 2017 07:49
base64 for background-image #tags: css
background-image: url("data:image/{type};base64,{code}");
@workshur
workshur / [GIT] Ignor local changes
Last active April 18, 2017 07:49
[Ignor local changes] #tags: git
git update-index --assume-unchanged <path&filename>