TGViewer
Dev Tools Dev Tools @developer_tools · 3.2K subscribers
Post #377 7.25K
​​NaturalyCode - AI ресурс который переводит "програмерский" язык в английский.
Поддержка разных "языков" вроде: ruby, python ,js, Aws Policy , CSS, SQL и другие
Там платная подписка, но можно подвязать карту(ничего списывать не будет), попробовать и отменить подписку в течении 14 дней.

 module HTTParty
module Utils
def self.stringify_keys(hash)
return hash.transform_keys(&:to_s) if hash.respond_to?(:transform_keys)
hash.each_with_object({}) do |(key, value), new_hash|
new_hash[key.to_s] = value
end
end
end
end


Перевело в


 HTTParty::Utils.stringify_keys({ "dog" => "Fido", "cat" => "Felix" })

 module defines a helper method "stringify_keys" that transforms the keys of a hash into a string. This method will transform the keys of a hash into a string if the hash responds to "transform_keys". The helper method then iterates over the hash and overwrites the keys with the corresponding values.

P.S. С телефона код может поплыть немного 😅
More from @developer_tools
  1. Nov 1, 2021​​ray.so - прикольный тул для создания симпатичных код-шейр картинок. Даже плохой код тут…
  2. Oct 30, 2021​​inpaint - тул с устаревшим лендингом, но с простым интерфейсом который позволяет легко у…
  3. Oct 9, 2021​​Bubble - интересный тул для лепки сайта без кода. Довольно обширный функционал конструкт…
  4. Oct 8, 2021​​there - простенький тулл для просмотра локального времени тиммейтов, друзей колег. Не ед…
  5. Sep 24, 2021​​genact - тулл который создает видимость активности в терминале. Для работы нужно скачать…
  6. Sep 23, 2021​​unscreen - тул убирает фон на видео/gif. Есть API. Работает не идеально на кадре с Траво…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →