Skip to content

Instantly share code, notes, and snippets.

View maluta's full-sized avatar

Tiago Maluta maluta

View GitHub Profile
@pedro-valentim
pedro-valentim / README
Last active May 25, 2020 00:50 — forked from diverted247/README
Export slides from Google Slides as SVG - Console Script (Chrome tested)
To export SVG from Google Slides.
1. Open Slide deck.
2. View -> 100%
3. Paste the export.js in the console.
4. Make sure to allow multiple downloads.
5. Respond the prompt with anything and click Ok. All SVG should be in Downloads folder.
Cheers,
@guilhermeprokisch
guilhermeprokisch / brazil_phone_area_codes.geojson
Last active May 30, 2024 18:33
Brazil Phone Code Area Map (DDD) - Mapa do Brasil por DDD
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lgmoneda
lgmoneda / README.md
Last active June 26, 2019 23:12
Minimalistic firefox: browse without address and bookmarks toolbar

One of the things I like the most about my Firefox config is this tricky to hide bars and maximize content. Putting together the sources [1] [2] [3]:

  • Go to ~/.mozilla/firefox/<profile> on Linux, ~/Library/Application Support/Firefox/Profiles/<profile folder> or ~/Library/Mozilla/Firefox/Profiles/<profile folder> on OSX, %appdata%\Mozilla\Firefox\Profiles\<profile folder> on Windows
  • Create directory chrome if it doesn't exist
  • Create file userChrome.css inside if it doesn't exist.
  • Add this text to the file:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#!/usr/bin/python
"""
This is a game idea [what about for Christmas night] using QR-code.
(1) First I've generated several codes (each one with a different value),
in my case I use money (values on Brazilian Real) and at the party
(2) We randomly assign one to each participant
(3) They need scan the code to get the prize
@alvesjnr
alvesjnr / a_text.rst
Last active November 10, 2023 01:14
I got trapped by a lambda function.

I got trapped by a lambda function

I consider myself a medium-to-experienced Python programmer (I am using python for 6 years). Today I've lost almos one hour in a very stupid bug with lambda functions. See what happend:

Tkinter, Buttons and Callbacks

I was building a very simple Tkinter GUI (I'm not an GUI expert, so I code in Tkinter because it is easy and simple, but I myself think that it is ugly).

@chitchcock
chitchcock / 20111011_SteveYeggeGooglePlatformRant.md
Created October 12, 2011 15:53
Stevey's Google Platforms Rant

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real