Skip to content

Instantly share code, notes, and snippets.

@diegoeis
diegoeis / Pitch Deck - Roteiro para desdobrar novas ideias, oportunidades e problemas de produto e negócio.md
Created February 16, 2024 18:47
Pitch Deck - Roteiro para desdobrar novas ideias, oportunidades e problemas de produto e negócio.md

Pitch Deck - Roteiro para desdobrar novas ideias, oportunidades e problemas de produto e negócio

Apresentar ideias de negócio ou de produtos não é uma coisa fácil. Pelo contrário: geralmente nós estamos trabalhando num momento de muita incerteza, com pouca informação e validações. Tudo não passa de opiniões baseadas em evidências que não puderam ser validadas totalmente.

Mas essa é a natureza desse problema: apresentar a solução de um problema, de forma que possamos clarificar mais os pontos, tentando tirar o contexto cada vez da zona caótica, onde nós não sabemos o que não sabemos.

Dessa forma, esse roteiro e a estrutura narrativa que mostro aqui, é uma sugestão para você sair da estagnação de ideias e se deslocar do 0 para o 1 mais rapidamente nesse trabalho.

O objetivo é ter um template/roteiro de apresentação para criar narrativa de produto e negócio para embasar novas ideias, oportunidades ou iniciativas, respondendo perguntas essenciais.

@simonw
simonw / geocode.py
Created January 26, 2025 16:49
Geocode using the API bulit into macOS CoreLocation
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "pyobjc-core",
# "pyobjc-framework-CoreLocation",
# "click"
# ]
# ///
"""Basic geocoding using CoreLocation on macOS."""
@amkisko
amkisko / solid_queue_alive.rb
Created January 25, 2025 05:56
Rails solid_queue alive server livenessProbe readinessProbe kubernetes helper
class SolidQueueAliveServer
def initialize(host: nil, port: nil, engine: nil, logger: nil)
@host = host || "0.0.0.0"
@port = port || 7433
@engine = engine || "puma"
@logger = logger || Rails.logger
end
def run!
require "rackup"
@diegoeis
diegoeis / 50-palavras.md
Last active January 26, 2025 17:09
50 palavras que ouvimos muito em 2014 sobre desenvolvimento web.

Seria interessante sua ajuda. Quero listar as 50 palavras mais ouvidas em 2014 que tem algum tipo de relacionamento com desenvolvimento, envolvendo front-end, back-end e UX. Quero fazer um artigo comentando algumas dessas palavras. Abaixo seguem as que eu lembrei, top of my head. E você, lembra de alguma?

  1. Web Components
  2. Tooling
  3. ES6
  4. Data Binding
  5. Mobile First
  6. Performance
  7. Material Design
  8. SASS
@emoose
emoose / UpdateDLSS.psm1
Last active January 26, 2025 17:07
PowerShell script/module that allows globally updating DLSS for all games
# Global DLSS update script by emoose - https://gist.github.com/emoose/11271bbb3b42fb3b1b0e1c83eef47c05
# Allows setting up driver to use a single global DLSS DLL for all DLSS2/3 games
# If this global version is newer than the one included with game, it should get loaded automatically
# Script can be used with dlss/dlssg/dlssd files (will need to re-run it for each)
# (more info at https://forums.guru3d.com/threads/.439761/page-143#post-6221767)
#
# Two ways of using this script:
# - save script as UpdateDLSS.ps1 then run it through command prompt or powershell: "powershell .\UpdateDLSS.ps1"
# or "powershell C:\Users\emoose\Documents\UpdateDLSS.ps1"
#
@derlin
derlin / PCSwissFrench.keylayout
Last active January 26, 2025 17:07
PC layout Swiss-French for MacOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<!-- Key mapping for PC-style keys with Swiss French layout -->
<!--Last edited by Ukelele version 2.2.8 on 2015-06-02 at 17:10 (CEST)-->
<keyboard group="0" id="16101" name="PC Swiss French" maxout="1">
<layouts>
<layout first="0" last="0" modifiers="commonModifiers" mapSet="ISO"/>
</layouts>
<modifierMap id="commonModifiers" defaultIndex="0">
<keyMapSelect mapIndex="0">
@phpcodertop
phpcodertop / script.sh
Created April 14, 2018 22:44
install ipvtl trial and hack its trial
#!/bin/bash
echo "Downloading ipvtl Software \n"
cd /home
wget http://www.ipvideotrans.com/download/ipvtl_trial-x64.tar.xz
@CyberPunkMetalHead
CyberPunkMetalHead / bitcoin-surge-trading-bot-alpha-data.py
Last active January 26, 2025 17:01
Crypto trading bot designed to take advantage of surges in bitcoin price
def get_data():
"""Download one day of 10 minute candles, along with the buy and sell prices for bitcoin."""
utc_from, utc_to = get_dates()
return mt5.copy_rates_range('BTCUSD', mt5.TIMEFRAME_M10, utc_from, utc_to)

g.co, Google's official URL shortcut (update: or Google Workspace's domain verification, see bottom), is compromised. People are actively having their Google accounts stolen.

Someone just tried the most sophisticated phishing attack I've ever seen. I almost fell for it. My mind is a little blown.

  1. Someone named "Chloe" called me from 650-203-0000 with Caller ID saying "Google". She sounded like a real engineer, the connection was super clear, and she had an American accent. Screenshot.

  2. They said that they were from Google Workspace and someone had recently gained access to my account, which they had blocked. They asked me if I had recently logged in from Frankfurt, Germany and I said no.

  3. I asked if they can confirm this is Google calling by emailing me from a Google email and they said sure and sent me this email and told me to look for a case number in it, which I saw in

@Hermanio
Hermanio / thermal-conf.xml
Last active January 26, 2025 16:58
A working thermald configuration file for Thinkpad T430 with a trip point of 90C.
<?xml version="1.0"?>
<ThermalConfiguration>
<Platform>
<Name>T430</Name>
<ProductName>*</ProductName>
<Preference>QUIET</Preference>
<ThermalSensors>
<ThermalSensor>
<Type>pkg-temp-0</Type>
<Path>/sys/class/thermal/thermal_zone0/temp</Path>