profile
viewpoint
Dale Campbell Oshuma CloudPassage Greenville, SC http://oshuma.github.io/ Sr. Backend Engineer @cloudpassage

Oshuma/app_config 22

Simple Ruby framework-agnostic application configuration.

Oshuma/api_faker 8

Simple Merb app to fake (and test) arbitrary web APIs.

Oshuma/git-trip 8

Visualize git commit SHAs. It's nerd acid!

Oshuma/DeliciousBar 7

OS X menu bar app to access your Delicious bookmarks.

Oshuma/jarvis 4

Just A Rather Very Intelligent System

Oshuma/corrupt.rack 3

Bare-bones Rack based MVC framework.

Oshuma/interspire 3

Ruby library for the Interspire API.

Oshuma/jamtime 3

A music browser and player.

Oshuma/js-chat 3

Simple Javascript chat type dealy.

Oshuma/manweb 3

A simple Sinatra app to display manual pages.

push eventOshuma/nasa

Dale Campbell

commit sha c578d62b01170fe1519a64d634c3bb63f54bbeb9

nvm, golangci-lint seems busted when referring to defs in other files

view details

push time in 14 days

push eventOshuma/nasa

Dale Campbell

commit sha bcfbd09c9f3040eed88449999a025da411a4566f

Fix typo.

view details

push time in 14 days

push eventOshuma/nasa

Dale Campbell

commit sha 4e4a9bb0fd21d74716347d963a2a157aabc6061f

Use github super linter.

view details

push time in 14 days

startedTheAlgorithms/Go

started time in a month

issue openedgobuffalo/buffalo

javascriptTag in contentFor block doesn't use asset fingerprint

Description

When using the javascriptTag helper inside of a contentFor block, it does not append an asset path or fingerprint, and instead just uses "filename.js".

Steps to Reproduce the Problem

In templates/application.plush.html:

    ...
    <%= javascriptTag("application.js") %>
    <%= contentOf("js") %>
  </body>
</html>

In templates/foo/index.plush.html:

...
<% contentFor("js") { %>
  <%= javascriptTag("foo.js") %>
<% } %>

Generated output is:

<script src="foo.js" type="text/javascript"></script>

Workaround

Using assetPath helper manually inside of a <script> tag uses correct fingerprinting.

<% contentFor("js") { %>
  <script src='<%= assetPath("foo.js") %>' type="text/javascript"></script>
<% } %>

Generated output is (correct):

<script src='/assets/foo.de9ae56f16a15f83a22d.js' type="text/javascript"></script>

Info

Please run buffalo info and paste the information below where it says "PASTE_HERE".

<details>

-> Go: Checking installation        
✓ The `go` executable was found on your system at: /usr/local/go/bin/go
                                   
-> Go: Checking minimum version requirements                   
✓ Your version of Go, 1.14.2, meets the minimum requirements.                                     
             
-> Go: Checking Package Management        
✓ You are using Go Modules (`go`) for package management.
                                       
-> Go: Checking PATH                                                          
✓ Your PATH contains /home/oshuma/.go/bin.
                                                       
-> Node: Checking installation                                           
✓ The `node` executable was found on your system at: /usr/bin/node
                                  
-> Node: Checking minimum version requirements 
✓ Your version of Node, v14.2.0, meets the minimum requirements.
                            
-> NPM: Checking installation          
✓ The `npm` executable was found on your system at: /usr/bin/npm
                                              
-> NPM: Checking minimum version requirements     
✓ Your version of NPM, 6.14.4, meets the minimum requirements.
                                           
-> Yarn: Checking installation                                         
✓ The `yarnpkg` executable was found on your system at: /usr/bin/yarnpkg   
                                                                       
-> Yarn: Checking minimum version requirements                                
✓ Your version of Yarn, 1.22.4, meets the minimum requirements.
                                                      
-> PostgreSQL: Checking installation      
✘ The `postgres` executable could not be found on your system.
For help setting up your Postgres environment please follow the instructions for you platform at:
                                         
https://www.postgresql.org/download/                                 
                 
-> MySQL: Checking installation
✘ The `mysql` executable could not be found on your system.       
For help setting up your MySQL environment please follow the instructions for you platform at:
                                   
https://www.mysql.com/downloads/
                     
-> SQLite3: Checking installation
✘ The `sqlite3` executable could not be found on your system.
For help setting up your SQLite3 environment please follow the instructions for you platform at:
                
https://www.sqlite.org/download.html
                  
-> Cockroach: Checking installation
✘ The `cockroach` executable could not be found on your system.
For help setting up your Cockroach environment please follow the instructions for you platform at:
             
https://www.cockroachlabs.com/docs/stable/

-> Buffalo (CLI): Checking installation
✓ The `buffalo` executable was found on your system at: /usr/local/bin/buffalo
                        
-> Buffalo (CLI): Checking minimum version requirements
✓ Your version of Buffalo (CLI), v0.16.8, meets the minimum requirements.
                  
-> Buffalo: Application Details   
Pwd         /home/oshuma/SSD/Projects/curiosity
Root        /home/oshuma/SSD/Projects/curiosity
GoPath      /home/oshuma/.go
PackagePkg  github.com/Oshuma/curiosity
ActionsPkg  github.com/Oshuma/curiosity/actions
ModelsPkg   github.com/Oshuma/curiosity/models
GriftsPkg   github.com/Oshuma/curiosity/grifts    
WithModules true                        
Name        curiosity                      
Bin         bin/curiosity                                              
VCS         git                                                            
WithPop     true                                                       
WithSQLite  false                                                             
WithDep     false                           
WithWebpack true                                      
WithNodeJs  true                          
WithYarn    true                                      
WithDocker  true                           
WithGrifts  true                         
AsWeb       true                                                     
AsAPI       false
InApp       true
PackageJSON {map[build:webpack -p --progress dev:webpack --watch]}
                                                                                                                                                                                             
-> Buffalo: config/buffalo-app.toml
name = "curiosity"
bin = "bin/curiosity"
vcs = "git"
with_pop = true
with_sqlite = false
with_dep = false
with_webpack = true
with_nodejs = true
with_yarn = true
with_docker = true
with_grifts = true
as_web = true
as_api = false

-> Buffalo: config/buffalo-plugins.toml
[[plugin]]
  binary = "buffalo-pop"
  go_get = "github.com/gobuffalo/buffalo-pop/v2"

-> Buffalo: go.mod
module github.com/Oshuma/curiosity

go 1.14

require (
        github.com/Oshuma/nasa v0.1.2
        github.com/gobuffalo/buffalo v0.15.5
        github.com/gobuffalo/buffalo-pop/v2 v2.0.6
        github.com/gobuffalo/envy v1.9.0
        github.com/gobuffalo/helpers v0.6.1
        github.com/gobuffalo/mw-csrf v0.0.0-20190129204204-25460a055517
        github.com/gobuffalo/mw-forcessl v0.0.0-20180802152810-73921ae7a130
        github.com/gobuffalo/mw-i18n v0.0.0-20190129204410-552713a3ebb4
        github.com/gobuffalo/mw-paramlogger v0.0.0-20190129202837-395da1998525
        github.com/gobuffalo/packr/v2 v2.8.0
        github.com/gobuffalo/plush v3.8.3+incompatible
        github.com/gobuffalo/pop/v5 v5.1.1
        github.com/gobuffalo/suite v2.8.2+incompatible
        github.com/gobuffalo/tags/v3 v3.1.0
        github.com/markbates/grift v1.5.0
        github.com/unrolled/secure v0.0.0-20190103195806-76e6d4e9b90c
)

</details>

created time in a month

created tagOshuma/nasa

tagv0.1.2

NASA Open APIs

created time in a month

push eventOshuma/nasa

Dale Campbell

commit sha 6387c876cc6430fcbaa5ebd10004de60ab4f9930

Separate out manifest photo object.

view details

Dale Campbell

commit sha 08bee8bc62ea158c4fa21dfa723032157b064531

Bump to v0.1.2

view details

push time in a month

push eventOshuma/nasa

Dale Campbell

commit sha 1fead17a4c908a0cb2d59b81262cc33931ac63fc

Adding LICENSE.

view details

push time in a month

startedmum4k/termdash

started time in 2 months

issue openedchrisccerami/mars-photo-api

Spirit manifest photos objects have no `earth_date`

Curiosity and Opportunity manifests both have an earth_date attribute for their photos objects. See comparison snippets below.

// Curiosity manifest
    "photos": [
      {
        "sol": 0,
        "earth_date": "2012-08-06",
        "total_photos": 3702,
        "cameras": [
          "CHEMCAM",
          "FHAZ",
          "MARDI",
          "RHAZ"
        ]
      }
// Spirit manifest
    "photos": [
      {
        "sol": 1,
        "total_photos": 77,
        "cameras": [
          "ENTRY",
          "FHAZ",
          "NAVCAM",
          "PANCAM",
          "RHAZ"
        ]
      }

created time in 2 months

created tagOshuma/nasa

tagv0.1.1

NASA Open APIs

created time in 2 months

push eventOshuma/nasa

Dale Campbell

commit sha 7284922649410bd99dcf8dbfc1b3c454c939079b

Adding Rovers and RoverCameras arrays.

view details

push time in 2 months

PublicEvent

PR opened gopherdata/gophernotes

Simple Makefile.
+17 -1

0 comment

2 changed files

pr created time in 2 months

push eventOshuma/gophernotes

Dale Campbell

commit sha b732fe181fde444c52a5684aab983b8678b9bddf

Simple Makefile.

view details

push time in 2 months

delete branch Oshuma/gophernotes

delete branch : issue-196

delete time in 2 months

push eventOshuma/gophernotes

Dale Campbell

commit sha 7408543f2803301328360d7cad5262298f328b44

First stab at implementing shell command. Issue #196

view details

Dale Campbell

commit sha 29b2c792108887e935dc2d91e64815f3ee483762

Implement stdout/stderr pipe to Jupyter kernel. Issue #196

view details

Massimiliano Ghilardi

commit sha 1e543509809a28909933b17b36eaf9b1f16facb8

shell commands: improve parsing and error messages

view details

Massimiliano Ghilardi

commit sha 10097f0b213f1ccdc0744fa4cd0c8da278650874

Merge branch 'Oshuma-issue-196'

view details

push time in 2 months

CommitCommentEvent

pull request commentgopherdata/gophernotes

First stab at implementing shell command.

@cosmos72 Can you verify/merge when you get a chance?

Oshuma

comment created time in 2 months

push eventOshuma/gophernotes

Dale Campbell

commit sha 29b2c792108887e935dc2d91e64815f3ee483762

Implement stdout/stderr pipe to Jupyter kernel. Issue #196

view details

push time in 2 months

startedmidas-network/COVID-19

started time in 2 months

pull request commentgopherdata/gophernotes

First stab at implementing shell command.

@cosmos72 Sounds good. I'll implement that as soon as I get a chance and update this PR.

Oshuma

comment created time in 2 months

PR opened gopherdata/gophernotes

First stab at implementing shell command.

Issue #196

The only thing left is to steam stdout/stderr to Jupyter. I couldn't quite figure out how to do that, so if anyone could give me some pointers/examples, I can implement it.

+37 -5

0 comment

2 changed files

pr created time in 3 months

create barnchOshuma/gophernotes

branch : issue-196

created branch time in 3 months

fork Oshuma/gophernotes

The Go kernel for Jupyter notebooks and nteract.

fork in 3 months

startedgopherdata/gophernotes

started time in 3 months

startedyunabe/lgo

started time in 3 months

push eventOshuma/scumbago

Dale Campbell

commit sha 1a88b965aa8413b589c5658cdc7ccf304f8fe281

Bump to v1.12.1

view details

push time in 3 months

push eventOshuma/scumbago

Dale Campbell

commit sha d112f0fce26483ea72a21ef8a1c0bb86261b14b4

Use updated corona package.

view details

push time in 3 months

push eventOshuma/corona

Dale Campbell

commit sha a8ad4ea9ba38541895252b33d59263d640f71768

Update README.

view details

push time in 3 months

issue closedOshuma/corona

Reliable Data Source

The JHU data is broken and unreliable, so I need to find a better source. Currently using open-covid-19/data but lazd/coronadatascraper looks promising.

closed time in 3 months

Oshuma

issue commentOshuma/corona

Reliable Data Source

open-covid-19 dataset seems to be stable.

Oshuma

comment created time in 3 months

created tagOshuma/corona

tagv0.7.0

Go library for the Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE

created time in 3 months

push eventOshuma/corona

Dale Campbell

commit sha 89d9f5d8bafd0e0cdb8b2a58bef4cbf3de17b60f

Better time series API.

view details

Dale Campbell

commit sha a9645219ecf7375e76827f75816efafc67d18be1

Bump to v0.7.0

view details

push time in 3 months

more