Skip to content

Instantly share code, notes, and snippets.

View douglasdrumond's full-sized avatar
📷
brb

Douglas Drumond Kayama douglasdrumond

📷
brb
View GitHub Profile

Keybase proof

I hereby claim:

  • I am douglasdrumond on github.
  • I am douglasdrumond (https://keybase.io/douglasdrumond) on keybase.
  • I have a public key ASC4lkaf2LGy9K-JjINxel4B4L-BAScMuHZ8n0F-k6j0Pwo

To claim this, I am signing this object:

@douglasdrumond
douglasdrumond / README.md
Created March 2, 2022 01:58 — forked from dexter-stpierre/README.md
Readwise-Obsidian Workflow

Motivation

I decided to create this workflow based on my belief that if information is synced into my Obsidian vault then that data should be completely owned by the tool that synced it. It should never be edited within my vault, and it should be able to be deleted and resynced (hard resync) from that tool with little to no impact to my vault. If you don't agree with this mindset then no worries! This workflow can still help you keep track of which articles you have processed and which ones have new highlights to process. Even if you think this workflow isn't for you, you might learn something in this that might help you solve some problems in your own vault.

Since I only edit highlights and notes from Readwise in Readwise I had to have a way of knowing which highlights I have reviewed/processed and which highlights I still need to do that for. Since I wanted to be abnle to do a hard resync that had to live completely outside of the information that Readwise tracks in my vault. So I created a system in wh

@douglasdrumond
douglasdrumond / android-19-circle.yml
Created April 4, 2016 10:07 — forked from donnfelker/android-19-circle.yml
Sample CircleCI Configuration For an Android App
#
# Build configuration for Circle CI
#
general:
artifacts:
- /home/ubuntu/your-app-name/app/build/outputs/apk/
machine:
environment:
package com.electricobjects.client.onboarding;
import android.app.Dialog;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.content.ContextCompat;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@douglasdrumond
douglasdrumond / post.md
Created March 28, 2016 06:46 — forked from grantland/post.md
RecyclerView item onClick

RecyclerView item onClick

RecyclerView does not have an OnItemClickListener like it's predecessor, ListView. However, detecting item clicks is pretty simple.

Set an OnClickListener in your ViewHolder creation:

private class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder>  {

    public static class ViewHolder extends RecyclerView.ViewHolder
@douglasdrumond
douglasdrumond / README.md
Created March 28, 2016 06:45
A click / long press listener for RecyclerViews. Questions? https://twitter.com/lnikkila
@douglasdrumond
douglasdrumond / sobre trabalhar PJ
Last active March 11, 2016 12:38
Sobre trabalhar PJ (texto compartilhado na comunidade AndroidBrasilDev, não é de minha autoria)
Como você eu tive que pesquisar e entender o que significa trabalhar como PJ
para decidir sobre uma oportunidade.
Bom antes de entender o que significa trabalhar como PJ você deve entender
o que significa trabalhar como CLT e porque as empresas preferem evitar isso.
No CLT vc tem o seu salário bruto digamos que seja R$ 3000. Mas o que você
recebe de verdade é R$ 2603,83
O que acontece é que você tem que pagar do seu salário 11% de INSS R$ 330 mais
@douglasdrumond
douglasdrumond / update.sh
Created February 17, 2016 04:35 — forked from kaushikgopal/update.sh
My morning cli ritual
echo "y" | android update sdk --no-ui; echo "yes" | apm upgrade; softwareupdate -i -a; brew update; brew upgrade; brew cleanup; brew cask cleanup; npm update npm -g; npm update -g; gem update
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style