Skip to content

Instantly share code, notes, and snippets.

View pbalduino's full-sized avatar

Plínio Balduino pbalduino

View GitHub Profile
@pbalduino
pbalduino / falcon_privacy_policy.txt
Created August 9, 2025 20:41
Privacy Policy – Falcon App
Last updated: 2025-08-09
Falcon (“we”, “our”, or “us”) is committed to protecting your privacy. This Privacy Policy explains how our mobile application (“App”) collects, uses, and safeguards your information.
1. Information We Collect
Currently, the App does not require users to create an account or provide personal information such as name, email, or phone number.
We may collect the following information:
Device information: basic technical data (e.g., operating system version, device type) necessary for the App to function.

Keybase proof

I hereby claim:

  • I am pbalduino on github.
  • I am pbalduino (https://keybase.io/pbalduino) on keybase.
  • I have a public key ASCW2vRNEzDLsc5fyymfU6m4lOcuPRluzS0WqxyxkLMWnQo

To claim this, I am signing this object:

;; :dependencies [[org.clojure/clojure "1.10.1"]
;; [overtone/overtone "0.10.6"]
;; [leipzig "0.10.0"]]
;; Reference: https://musescore.com/user/5715836/scores/2665176
(ns jukebox.megalovania
(:require [overtone.live :refer :all]
[leipzig.melody :refer [all bpm is phrase tempo then times where with]]
[leipzig.live :as live]
(ns generate-dates
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as gen]))
(def positive-long (s/and integer? pos?))
(s/def ::timestamp
(s/with-gen
positive-long
#(gen/fmap (fn [number] (- (inst-ms (java.time.Instant/now)) number)) (s/gen positive-long))))
@pbalduino
pbalduino / testFilter.spec.js
Created August 17, 2017 04:35
How to test a filter in VUE.js 2
/* component */
<script>
export default {
name: 'sample',
filters: {
round: function (value) {
if (!value) return NaN;
return Math.round(value);
}
@pbalduino
pbalduino / highperfjs.txt
Created June 22, 2017 06:59
High Performance JavaScript reference
https://www.slideshare.net/nzakas/high-performance-javascript-yuiconf-2010
https://www.slideshare.net/nzakas/writing-efficient-javascript/24-Scope_Chain_Augmentation_The_with
https://www.slideshare.net/caelumdev/otimizaes-de-performance-web-desafios-do-mundo-mobile
https://www.slideshare.net/caelumdev/performance-web-alm-do-carregamento
https://www.w3schools.com/js/js_performance.asp
@pbalduino
pbalduino / aws-google.txt
Created November 10, 2016 17:39
Equivalências entre AWS e Google Cloud
Compute
EC2/AMI -> Compute Engine
Elastic Beanstalk -> App Engine
ECS -> Container Engine
Lambda -> Cloud Functions
Storage
S3 -> Cloud Storage
@pbalduino
pbalduino / star.logo
Created August 1, 2016 14:58
A little star with Logo
@pbalduino
pbalduino / Gemfile
Created July 12, 2016 14:35
Gemfile
source 'http://gemcutter.org'
gem "bj"
gem "hpricot", "~> 0.6"
gem "sqlite3-ruby", "~> 1.3.1", :require => "sqlite3"
gem "aws-s3", :lib => "aws/s3"
gem "rails", "= 2.3.10"
gem "authlogic", "~> 2.1.6"
group :development, :test do
gem 'mongrel', :require => false