Leniel Maccaferri

2K posts

Leniel Maccaferri banner
Leniel Maccaferri

Leniel Maccaferri

@johnleniel

Jesus Christ believer & computer/software engineer. Software and music lover.

Volta Redonda, RJ - Brazil Katılım Nisan 2010
99 Takip Edilen884 Takipçiler
Leniel Maccaferri
Leniel Maccaferri@johnleniel·
Useful command to count the number of files by file type in a #git repository branch: git ls-files -x *.cs -i | wc -lg * note that we're counting C# code files only with extension .cs. #numberoffiles #count #filetype
English
0
0
1
0
Leniel Maccaferri retweetledi
Prof. Feynman
Prof. Feynman@ProfFeynman·
11 * 11 = 121 111 * 111 = 12321 1111 * 1111 = 1234321 11111 * 11111 = 123454321 111111 * 111111 = 12345654321 1111111 * 1111111 = 1234567654321 11111111 * 11111111 = 123456787654321 111111111 * 111111111 = 12345678987654321
65
1.3K
5.9K
0
Leniel Maccaferri
Leniel Maccaferri@johnleniel·
Nice way of running an ad-hoc #query on all #SQLServer #Elastic DBs at once: EXECUTE master.sys.sp_MSforeachdb ' USE [?]; IF (DB_NAME() LIKE ''corporation-product-client-db-%'') BEGIN SELECT Verified FROM dbo.TransactionAttempts WHERE Verified <= ''2000-01-01'' END ' @SQLServer
English
0
0
0
0
Leniel Maccaferri
Leniel Maccaferri@johnleniel·
I needed to find some piece of code I worked on some days ago but didn't remember in what file it is... so here goes a beautiful and fast way of finding all files touched by a given user in a #git repo: git log --no-merges --author="name" --name-only --pretty=format:"" | sort -u
English
0
0
0
0
Leniel Maccaferri
Leniel Maccaferri@johnleniel·
While developing a Web #API client to manipulate some #JSON I just skipped 1 to 2 hours of vile donkey work by generating 354 lines of #csharp with @quicktypeio 🎉😎 https://app.quicktype.i Just copy paste your full JSON and voilá... you've gotten all C# classes. Just amazing.
Leniel Maccaferri tweet media
English
0
0
2
0
Leniel Maccaferri retweetledi
JimBobSquarePants 🇺🇦
JimBobSquarePants 🇺🇦@James_M_South·
Check out those gains! @terrajobst Can you please tell everyone around you to keep up the good work. You're all rocking it!
JimBobSquarePants 🇺🇦 tweet media
English
6
22
137
0
Leniel Maccaferri
Leniel Maccaferri@johnleniel·
I really liked this #free alternative to Postman in Mac OS: Insomnia #REST Client Their motto: "Debug #APIs like a human, not a robot. Finally, a REST client you'll love." - Create HTTP requests - View response details - Organize everything @GetInsomnia
Leniel Maccaferri tweet media
English
0
3
12
0