Telegram Group & Telegram Channel
​​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. С телефона код может поплыть немного 😅



tg-me.com/developer_tools/377
Create:
Last Update:

​​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. С телефона код может поплыть немного 😅

BY Dev Tools


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/developer_tools/377

View MORE
Open in Telegram


Dev Tools Telegram | DID YOU KNOW?

Date: |

Telegram and Signal Havens for Right-Wing Extremists

Since the violent storming of Capitol Hill and subsequent ban of former U.S. President Donald Trump from Facebook and Twitter, the removal of Parler from Amazon’s servers, and the de-platforming of incendiary right-wing content, messaging services Telegram and Signal have seen a deluge of new users. In January alone, Telegram reported 90 million new accounts. Its founder, Pavel Durov, described this as “the largest digital migration in human history.” Signal reportedly doubled its user base to 40 million people and became the most downloaded app in 70 countries. The two services rely on encryption to protect the privacy of user communication, which has made them popular with protesters seeking to conceal their identities against repressive governments in places like Belarus, Hong Kong, and Iran. But the same encryption technology has also made them a favored communication tool for criminals and terrorist groups, including al Qaeda and the Islamic State.

A project of our size needs at least a few hundred million dollars per year to keep going,” Mr. Durov wrote in his public channel on Telegram late last year. “While doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.

Dev Tools from de


Telegram Dev Tools
FROM USA