正在加载视频...

视频加载失败

Internationalization is essential for any production app, but the manual process of moving strings into resource files can be a major drain on your velocity. With a simple prompt, Google Antigravity streamlines this by intelligently scanning your code, identifying hardcoded strings, and refactoring them into your localization files. Watch...

90,505 次观看 • 6 个月前 •via X (Twitter)

0 条评论

暂无评论

原始帖子的评论将显示在这里

相关视频

Gemini for Android is here! This new app makes it easier to access Google's chatbot, powered by the Gemini Pro LLM, right from your Android device. You can ask Gemini a question by tapping the launcher icon or long-pressing the power button. Once invoked, the Gemini overlay lets you enter a text or text+image prompt. You can tap the camera icon to snap a photo or press the "add this screen" button to take a screenshot of the current page to include in your prompt. The Gemini app for Android is available on Google Play with support for English, but support for Korean and Japanese will be coming next week. While there won't be an app for iOS, iPhone users can access Gemini by opening the Google App and tapping the "Gemini" button up top. How can you long-press the power button to invoke Gemini if that gesture is handled by Google Assistant? The answer is that the Gemini Android app can replace Google Assistant as your default assistant if you want, meaning all the ways you'd normally invoke Google Assistant on your phone can instead invoke Gemini. Unfortunately, Gemini currently doesn't offer ALL the same functionality as Google Assistant and requires an active data connection, but more features will be added over time. There's also now a Gemini Advanced tier, which offers access to Google's most powerful Ultra 1.0 LLM. Access to Gemini Advanced requires a subscription to the new $20/month "AI Premium" Google One plan, which offers the same benefits as the 2TB plan but adds access to Gemini Advanced and soon Gemini features in Gmail, Docs, & other Workspace apps (formerly under the Duet AI umbrella). Gemini Advanced is available in English on the web.

Mishaal Rahman

38,428 次观看 • 2 年前

8 rules to improve your AI coding agent. All of these rules work with Claude Code, Cursor, VS Code, and with most programming languages. Automating these rules will 10x the code quality and security produced by your AI coding agents. 1. Dependency checks - Prevent your agent from suggesting insecure libraries based on outdated training data. 2. Secret exposure - Auto-fix the use of hardcoded credentials introduced by your coding agent. 3. File and function size - Automatically refactor any files or functions that exceed a reasonable length. 4. Complexity and parameter limits - Simplify overly complex code written by the agent. 5. SQL Injection - Auto-fix all database interactions with unsanitized user input. 6. Unused variables and imports - Detect and remove dead code. 7. Detect invisible unicode characters in AI rules files - Remove zero-width spaces, direction overrides, and other invisible characters that can hide malicious behavior. 8. Insecure OpenAI API usage - Enforce use of secure OpenAI endpoints, proper authentication, and context isolation Here is how you can automate this: Install the Codacy extension. This will give you access to a CLI for local scanning and an MCP server for agent communication. From here on out, every time you need to generate some code: 1. Your agent will write the code 2. It will then call Codacy's CLI to check it 3. It will find any issues in real time 4. Your coding agent will fix the issues 5. When the code passes all checks, you are done Level of effort on your side: literally zero! Code quality and security because of this: 100x better! Here is the link to download the extension for your IDE: Thanks to the Codacy team for collaborating with me on this post.

Santiago

49,331 次观看 • 9 个月前