- Published
- Author
- Soniya Rayabagi
Using
git url to clone repo instead of https will not ask password on every git push/pullAt Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.
git url to clone repo instead of https will not ask password on every git push/pullradio input in a React Hook form and attempted to pass a boolean value, however when i submit the form, i receive the typeof value as a string. Knowing that RHF has valueAsNumber to convert it as number. I thought that setValueAs was a generic way to allow any conversion but I can't make it work.boolean value from a RHF radio input.setValueAs approach, which I have previously tried, only functions with text input (such as type="text" or type="number"). Even if the value for a radio button is a string, it doesn't function.(
{t("I'm Booking For")}
onChange(false)}
checked={value === false}
inputRef={ref}
id="myself"
/>
{t("Myself")}
onChange(true)}
checked={value === true}
inputRef={ref}
id="someone-else"
/>
{t("Someone Else")}
)}
/>verification links, subscription updates, marketing etc. we can create separate topics for each type of email. This allows us to manage the subscription preferences for each type of email separately.{{amazonSESUnsubscribeUrl}} placeholder in our emails: AWS SES will automatically replace the {{amazonSESUnsubscribeUrl}} placeholder in the email with the actual unsubscribe URL. OTP verification and password reset emails, even after they opt-out of other emails, we can use separate contact lists and topics for these types of emails or we should not pass ListManagementOptions in these emails.{
"Destination": {
"ToAddresses": ["user@example.com"]
},
"Message": {
"Body": {
"Html": {
"Charset": "UTF-8",
"Data": " // Email content... If you no longer wish to receive our emails, please unsubscribe"
}
},
"Subject": {
"Charset": "UTF-8",
"Data": "Email subject"
}
},
"Source": "sender@example.com",
"ListManagementOptions": {
"ContactListName": "contact_list_name",
"TopicName": "Marketing"
}
}"Hello" stored in a. Instead, it creates a new variable b that references the same string object in memory as a. Both a and b will point to the same memory location, which means they will hold the same value and any changes made through one variable will be reflected in the other.b.upcase!puts a # Output: "HELLO"
puts b # Output: "HELLO"dup method or string manipulation methods to create a new string object with the same content.mysql> use your_local_db;
mysql> source your_db_backup_dump.sql;mj-preview tag. This tag allows us to customize the preview text that appears in the recipient's inbox.Check out our latest deals!git branch -D git checkout maingit checkout -b git commit -m "Your commit message"git push origin -f -f flag in the ‘git push’ command, you force-push the changes to the branch on the remote repository. This erases the previous commits from the branch, giving you a fresh start with your new commit.”could not connect to server: Operation timed out
Is the server running on host "10.220.0.15" and accepting
TCP/IP connections on port 5432?10.220.0.15 . In order to see if it is connected or not we need to check the pg_hba.conf file.postgresql directory . In order to get the path we can do ps aux | grep postgres...
user 46455 0.0 0.0 409138608 1248 ?? Ss 13Sep23 0:00.82 postgres: checkpointer
user 46372 0.0 0.0 408998640 2192 ?? S 13Sep23 0:16.79 /opt/homebrew/opt/postgresql@13/bin/postgres -D /opt/homebrew/var/postgresql@13-D flag. So in my case it my path is /opt/homebrew/var/postgresql@13ls and we can find the file called pg_hba.conf . Then we need to run nano pg_hba.confCtrl + O then click Enter and Ctrl +Xhost YOUR_DB_NAME YOUR_USER_NAME 10.220.0.15/32 md5Showing page 42 of 83
AI is everywhere but it's unclear which investments will actually move your metrics and which are expensive experiments.
Most AI projects fail at the data layer. Pipelines, quality, access all need work before LLMs can deliver value.
Your engineers are shipping product. They don't have capacity to also become AI specialists with production-grade experience.
Aging, undocumented codebases make AI integration slow, risky, and expensive. They need to move first.