Skip to content

Instantly share code, notes, and snippets.

View joaovitor's full-sized avatar

Joao Vitor Lacerda Guimaraes joaovitor

  • Zero Hash
  • Belo Horizonte, MG, Brasil
View GitHub Profile
@joaovitor
joaovitor / PacktPublishing.txt
Created October 29, 2020 14:22
List of repositories of PacktPublishing
git@github.com:PacktPublishing/100-JavaScript-Algorithm-Challenges.git
git@github.com:PacktPublishing/10-Apps-in-10-Weeks-2016-Edition.git
git@github.com:PacktPublishing/11-JavaScript-Features-Critical-to-Understand.git
git@github.com:PacktPublishing/14681_Part-2-AWS-Certified-Solutions-Architect-and-CD-SO---2018.git
git@github.com:PacktPublishing/2018-Python-Regular-Expressions---Real-World-Projects.git
git@github.com:PacktPublishing/2019-Ultimate-Guide-to-Raspberry-Pi-Tips-Tricks-and-Hacks.git
git@github.com:PacktPublishing/20-Web-Projects-with-Vanilla-JavaScript.git
git@github.com:PacktPublishing/2D-Animation-with-CSS-Animations---Complete-course-and-project.git
git@github.com:PacktPublishing/2D-Game-Development-With-HTML5-Canvas-JS---Tic-Tac-Toe-Game.git
git@github.com:PacktPublishing/2D-Game-Development-with-Javascript-and-CSS3---Create-a-Memory-Game.git
1
00:00:00,030 --> 00:00:02,210
welcome to learn Kubernetes from a
2
00:00:02,210 --> 00:00:02,220
welcome to learn Kubernetes from a
3
@joaovitor
joaovitor / gist:fb2b3cdbf26a1ce5bd3e
Created September 26, 2014 10:26
Resposta ao link do dicasl do dia 26/09/2014 - http://www.dicas-l.com.br/dicas-l/20140926.php
$ cat ~/.bash_history | cut -f 1 -d\ | sort | uniq -c | sort -r | head
3385 git
3138 gs
2276 cd
2093 ll
563 gsr
497 gd
337 for
274 exec-git-command.sh
265 mvn
SELECT TABLESPACE_NAME,
COUNT( *) FREE_CHUNKS,
DECODE( ROUND((MAX(BYTES) / 1024000),2), NULL,0, ROUND((MAX(BYTES) / 1024000),2)) LARGEST_CHUNK,
NVL(ROUND(sqrt(MAX(BLOCKS)/SUM(BLOCKS))*(100/sqrt(sqrt(COUNT(BLOCKS)) )),2), 0) FRAG_INDEX
FROM SYS.DBA_FREE_SPACE
GROUP BY TABLESPACE_NAME
ORDER BY 4 DESC, 1;
@joaovitor
joaovitor / gist-github-gadget.xml
Created August 6, 2012 15:05 — forked from andresrc/gist-github-gadget.xml
Gist.GitHub Google Gadget
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Derquinse Gist.GitHub Gadget">
<Require feature="dynamic-height" />
</ModulePrefs>
<UserPref name="gistId" display_name="Gist #" required="true" />
<Content type="html">
<![CDATA[
<div id="content_div">
@joaovitor
joaovitor / 01-was7-install-responsefile.txt
Created July 13, 2012 05:31
WAS 7 installation config files
-OPT silentInstallLicenseAcceptance="true"
-OPT disableOSPrereqChecking="true"
-OPT disableNonBlockingPrereqChecking="true"
-OPT installType="installNew"
-OPT profileType="standAlone"
-OPT feature="noFeature"
-OPT PROF_enableAdminSecurity="true"
-OPT PROF_adminUserName=wasadmin
@joaovitor
joaovitor / Gemfile
Created February 26, 2012 13:44
Escolha da vida
source 'http://rubygems.org'
gem 'sinatra'
@joaovitor
joaovitor / gist:840444
Created February 23, 2011 13:46
nokogiri-sax.rb
require 'nokogiri'
class DocumentHandler < Nokogiri::XML::SAX::Document
attr_reader :opened, :closed
def initialize
@level = 0
@opened = 0
@closed = 0
end
@joaovitor
joaovitor / benchmark-output.txt
Created December 20, 2010 23:26
output of: rails runner lib/benchmark_parser.rb
user system total real
file_new_parser 65.520000 0.370000 65.890000 ( 68.159821)
string_new_parser 71.690000 0.290000 71.980000 ( 74.296380)
old_parser 119.490000 1.880000 121.370000 (132.974209)
infinity_test do
notifications :growl do
show_images :mode => :faces
end
use :test_framework => :rspec
before_run do
clear :terminal
end