Skip to content

Instantly share code, notes, and snippets.

View danielnc's full-sized avatar

Daniel Naves de Carvalho danielnc

View GitHub Profile
@danielnc
danielnc / sprint-update-2026-03-13.md
Created March 13, 2026 16:03
Sprint Update: Week ending March 13, 2026 - Daniel/Adeo Team Progress

Sprint Update: Week Ending March 13, 2026

Daniel/Adeo Team Progress Summary

📊 Velocity & Team Highlights

Weekly Metrics:

  • Items Completed: 5 items this week (Mar 8-13)
  • Total Velocity Period: 95 items over 5 weeks
  • Trend: ⬆️ Up (avg 19/week over period)
  • Top Contributors: Daniel (17), Houston (14), Terrence (14), Thiago (12), Greg (11)
@danielnc
danielnc / dashboard-feedback.md
Created March 11, 2026 11:35
Business Summary & Traditional Funds Dashboard — VA Feedback (Mar 2-9, 2026)

Business Summary & Traditional Funds Dashboard — VA Feedback Compilation

Source: Group DM with VAs (C0AJ0541VRC) — Mar 2-9, 2026 Contributors: Laura Lake, Katherine Vittorio, Kerri Leathers Izunagbara, Frank Garcia Dashboards: Business Summary | Traditional Funds Context: Alexia set "business summary health dashboard data" as P1 for VAs (Mar 4). Daniel built both dashboards and asked VAs to review data accuracy + provide UX feedback.


1. Filtering & Column Customization

Keybase proof

I hereby claim:

  • I am danielnc on github.
  • I am danielnc (https://keybase.io/danielnc) on keybase.
  • I have a public key whose fingerprint is F822 829F 701F 69C5 DBF0 1C73 73CA C4D6 FC57 89E6

To claim this, I am signing this object:

@danielnc
danielnc / humanize.rb
Last active October 13, 2015 03:28
humanize milliseconds (ruby)
def humanize(milliseconds)
[[1000, :milliseconds], [60, :seconds], [60, :minutes], [24, :hours], [365, :days], [+1.0/0.0, :years]].inject([]){ |m, (count, name)|
if milliseconds > 0
milliseconds, n = milliseconds.divmod(count)
m.unshift "#{n.to_i} #{name}"
end
m
}.join(' ')
end
@danielnc
danielnc / gist:4030943
Created November 7, 2012 11:23
log lines per second
tail -f file.log |perl -e 'while (<>) {$l++;if (time > $e) {$e=time;print "$l\n";$l=0}}'
@danielnc
danielnc / gist:4030891
Created November 7, 2012 11:09
Bash COUNT && Percent
grep "XXXXXXX" file.log | cut -d"," -f5 | sort | awk '{a[$0]++} END{for (i in a) if (a[i]>1) printf "%10d\t%5.2f%%\t%s\n", a[i], 100*a[i]/NR, i}' | sort -rn
@danielnc
danielnc / Gemfile
Created October 25, 2012 18:50
Ruby-cli --pipe vs Ruby-rb vs Ruby-rb Hiredis benchmark
source "http://rubygems.org"
gem 'bundler', ">= 1.2.1"
gem 'redis', ">= 3.0.2"
gem 'hiredis', ">= 0.4.5"
gem 'bench_press', ">= 0.3.1"