teleren/devto huggingface dataset:
Finding the location of the keycloak.conf file when running Keycloak in a Docker container
Tags: keycloak, docker
Published: 2023-11-01 07:25:54

I'm currently reading the book "**[Keycloak - Identity and Access Management for Modern Applications](https://www.packtpub.com/product/keycloak-identity-and-access-management-for-modern-applications/9781800562493)**" and am on chapter 9, "**Configuring Keycloak for Production**."

To work with this chapter, I chose to run Keycloak on a Docker container from several options.

In that section, it is required to edit the `keycloak.conf` file. The book instructs to look for the file at `$KC_HOME/conf/keycloak.conf`, where `$KC_HOME` is only set for installing Keycloak rather than running it on Docker.

As someone who is new to Docker, I had to check where I could find the `keycloak.conf` file. Here's what I learned:

By default, the working directory of the Docker container created by the Keycloak image is `/opt/keycloak/`. The `docker exec` command enables us to connect there.

Now I could find the `keycloak.conf` under `/opt/keycloak/conf/`.

```
$ docker exec <DOCKER_CONTAINER_NAME> ls /opt/keycloak/conf

cache-ispn.xml
keycloak.conf
README.md
```

I hope this helps!

References
- [Running Keycloak in a container - Keycloak](https://www.keycloak.org/server/containers)
- [docker exec | Docker Docs](https://docs.docker.com/engine/reference/commandline/exec/)
Logo of my browser not coming in Pixel devices
Published: 2023-11-01 07:14:35

Hi,Dev's.

I've build my browser in android,by taking chromium as base.
All of the things working good,it is running perfectly.

But,only on pixel phones the logo of chromium is coming instead of my browser logo.

On all other phone brands,like Samsung,Oneplus my browser logo is coming.

Does anyone have any idea why it is happening like this ??
Guidance on Importing Bookmarks and Settings to Vivaldi on i7 Laptops
Published: 2023-11-01 07:08:03

Hello Everyone

I recently made the switch to Vivaldi on my [i7 laptop](https://www.lenovo.com/fr/fr/d/i7-laptops/) and I'm loving the browser so far. However, I'm facing a challenge - I need to import my bookmarks and settings from my previous browser, and I'm not quite sure how to do it seamlessly.

Can anyone provide a step-by-step guide or share their experiences on how to import bookmarks and settings from other browsers to Vivaldi on i7 laptops? I've been using [mention your previous browser] before, and I'd like to make the transition as smooth as possible.

Your insights and tips will be greatly appreciated as I want to make sure I don't lose my important bookmarks and browser preferences during this transition. Thanks in advance for your help!
Using Tailwind CSS classes in markdown
Tags: tailwindcss, markdown, mdx, astro
Published: 2023-11-01 07:10:34

One of the biggest reasons why I moved my blog from Gatsby to Astro was its markdown integration and ease of creating new articles using markdown syntax.

Not only markdown but [MDX](https://mdxjs.com/) - using JSX and component imports in markdown content.

Using Tailwind CSS typography plugin
As my blog is built using Tailwind CSS, content for the blog articles were also using Tailwind’s classes to style it. This means that instead of using regular

```
<p>
```

tags I’m using

```
<p class="pb-3 text-slate-400 text-xl">
```

to create a “simple” paragraph. As you can see this isn’t really simple nor does it enable me to write articles fast.

Not that the speed of converting my thoughts and ideas into HTML markup was my biggest problem.

***

Sensible person would use Tailwind’s typography plugin to style all content markup using CSS classes on the markdown content parent element. Their page even says that the plugin’S intended use is to to add beautiful typographic defaults to any vanilla HTML you don’t control, like HTML rendered from Markdown.

How would the paragraph look like using Tailwind’s prose classes?

```
<article class="prose prose-p:pb-3 prose-p:text-slate-400 prose-p:text-xl">
```
You’d have to add modifiers to the parent element class attribute. And repeat those modifiers for all other “target” like a, h1, h2, ul and all others.

And you’d have to reset some of the defaults that typography plugin brings to the table. It looks less and less as a sensible solution. Right?

Assigning Custom Components to HTML elements
Fortunately smart folks from MDX were already thinking of scenarios like that.

That is why you can import your custom component and then export a components object that maps the standard HTML to your custom component:

```
import Paragraph from '../components/Paragraph.astro';
export const components = {p: Paragraph}

This will be styled custom paragraph.
Paragraph.astro component is pretty simple:
```

```
<p class="pb-3 text-slate-400 text-xl">
    <slot />
</p>
```
<slot /> is where the “child” content (paragraph’s text) will go.

***

This whole article was written using standard markdown syntax with styling applied by overwriting the HTML with custom components. I must say that the speed of writing this article surprised even me. Whole article was written in VS Code without any need for custom HTML markup nor CSS nor messy copy/pasting from older articles.

Now I’m off to find a good VS Code extension for Grammarly so I literally don’t have to use any other tool to publish an article.

***

To learn more, visit Astro’s [Markdown Content](https://docs.astro.build/en/guides/markdown-content/#assigning-custom-components-to-html-elements) guide or [MDX Website](https://mdxjs.com/table-of-components/) for a full list of HTML elements that can be overwritten as custom components.
Saraogi Hospital & IRIS IVF Centre
Tags: ivf
Published: 2023-11-01 06:51:34

Saraogi Hospital & IRIS IVF Centre stands as a prominent infertility and IVF center in Mumbai equipped with the Best IVF Doctors in Mumbai where we provide you with advanced IVF solutions over Infertility  such as:
1. **[IVF Treatment](https://www.ivfinmumbai.com/our-services/ivf-treatment-in-mumbai/)**
2. **[IUI Treatment](https://www.ivfinmumbai.com/our-services/iui/)**
3. **[ICSI Treatment](https://www.ivfinmumbai.com/our-services/icsi/)**
4. **[Surrogacy Treatment](https://www.ivfinmumbai.com/our-services/surrogacy/)**
5. **[Infertility Treatment](https://www.ivfinmumbai.com/infertility-treatment-in-mumbai/)**

Saraogi & IRIS IVF is known to offer affordable treatment that in any way does not compromise the quality of the treatment. When you choose us as your preferred Infertility & IVF centre in Mumbai, we make sure you are part of each & every process being planned for achieving successful results. 

Book a consultation with our IVF doctors today and we assure you that you will leave the premises with big smiles which are of utmost importance to us.
What are local and global variables?
Tags: c, oops, interview, beginners
Published: 2023-11-01 06:41:05

Okay , let me keep it simple and 2 minute read 

Imagine you have lil skies music concert in your town and if I ask some true hip hop lover from your town he obviously knows who is lil skies so he is globally more famous, and on the other hand in that same concert to open lil skies management focuses on local talent of your town who is just famous in your town let me call him "Mystery" he started his career a year ago so you know who is Mystery and his work but but in other countries no one knows who Mystery is .

if you understand this story guess what you can easily understand local and global variables 

I will explain with code 

`#include<iostream>
using namespace std;

string global = "lil skies";
int main()
{
  string global = "Mystery";
  cout<<global<<endl;
}`

here as you see before main function we have a global string which gives me lil skies and in main function which is in a block we have Mystery , here block is nothing but Your town based on the above analogy , so what happens is when I do print my output it won't print lil skies , it prints Mystery why in your town only hip hop fans know who is lil skies but everyone doesn't know him , but everyone knows who is mystery because he is from this town he has contributed to this town, right? 

So How can I print 'lil skies'? For that, you need to ask the particular hip hop fans; only they know who 'lil skies' is. so in programming we use "::" operator

`#include<iostream>
using namespace std;

string global = "lil skies";
int main()
{
  string global = "Mystery";
  cout<<::global<<endl;
}
`
now lil skies gets printed , but usually lil skies wins everytime why because he is a global variable, and he can be called by any function using the :: operator ,  but mystery is only known by his town so he exist with that main function town if you try to print him outside you get errors because he is not global scoped , he is local scoped.
Amazon Route 53 Transfer domain and trouble shooting
Tags: aws, route53, domain, awscommunity
Published: 2023-11-01 06:35:44

**Hi Developers,I'm Maverick,I want share a case for you today,Let me show you**

# Background
I hava a customer,who have 2 aws account ,I will call that Account-A and Account-B,in Account-A have a domain(like example.com) register by Route 53,and the customer have new project need deploy to Account-B,so the customer want to transfer this domain(example.com) from Account-A to Account-B.Then I login to Account-A Route 53 console and want transfer domain(example.com) to Account-B.

# Step by Step
## Route 53 Domain Operation

1. First login to Route 53 console page
2. in left navigation bar of the page,we need choose Registered Domains
3. Jump in you want transfer domain details page
4. make sure your domain "Transfer lock" status is **"OFF"**
5. Select "Transfer to another AWS account" from the drop-down box in the upper right corner
6. paste your target account ID
7. Then you will get the transfer password
8. Login another AWS account,like Account-B,same operations step 1-2,and choose "Transfer in"---"Single domain"
9. In details page,just put request infomation

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q31bofiw58h6t7m0s5it.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/44n6cemkrt21ky12csb9.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5h8dw0omfe2sfls43v6y.png)


# Trouble shooting
## The domain is not transferable at this time

### Introduce
Actually,I don't know how to deal this problem,and I trying to search by using google,and I found have some body also have same question,but no answer!


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q07o1x1eivqklurr3a8c.png)


Same question link:https://repost.aws/questions/QUsUOoB4fHSG-WBb9QWTlMxA/why-is-transferring-domain-between-accounts-unavailable-at-this-time

### Solution
Make sure your Domain status code is "ok" and no more code,In this case , customer domain just buy about 2 days,the Domain status code is "addPeriod ok",you have to wait about 5 days or more time
Improving Neovim load time on WSL 2
Tags: neovim, wsl
Published: 2023-11-01 06:24:35

Recently I decided to duplicate [my Neovim setup](https://github.com/llllvvuu/dotfiles/tree/main/vim/.config/nvim) from MacOS to WSL. On MacOS, I never had any load time issues, but to my shock, on WSL it took 2 seconds to start Neovim and another 2 seconds to [lazy load more plugins](https://github.com/folke/lazy.nvim) when opening a file!

The root cause of this is the **slow filesystem calls between WSL and the host Windows** which affects the search for executables. This can be addressed in 3 areas:
1. [Bypass `clipboard.vim` search for executables](https://www.reddit.com/r/neovim/comments/1293o2y/comment/jelzgxt/).
2. [Don't add Windows $PATH to WSL $PATH](https://stackoverflow.com/questions/51336147/how-to-remove-the-win10s-path-from-wsl)
3. [Deduplicate $PATH](https://unix.stackexchange.com/a/124517) (add this to the end of `.bashrc`/`.zshrc`)

A nice side effect of these steps is that bash/zsh becomes much faster as well (especially with autocompletion/[autosuggest](https://github.com/zsh-users/zsh-autosuggestions)).
Glassmorphism Creative Cloud App Redesign
Tags: codepen
Published: 2023-11-01 06:14:12

Inspired by Mikołaj Gałęziowski
"https://dribbble.com/shots/14831798-Glassmorphism-Big-Sur-Creative-Cloud-App-Redesign"

{% codepen https://codepen.io/epicsaxguy/pen/wvREqXO %}
Ağ Keşif - SNMP v2 Keşfi Nasıl Oluşturulur?
Published: 2023-11-01 06:07:54

Bu yazıda, Liman 2.0 araryüzü üzerinde Ağ Keşif (Netex) Eklentisinde SNMP v2 keşfi nasıl yapılır göreceğiz.

- Liman açılır.
- Ağ Keşif ve Envanter Yönetimi eklentisine girilir.
- Eklentinin _Keşif_ sekmesinden _Keşifler_ seçilir.
- "+" butonuna tıklanır.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dm9agy86qm5fm6voxogq.png)

- Açılan _Keşif Oluştur_ penceresinde gerekli yerler aşağıdaki gibi doldurulur.

> _Keşif Türü_ SNMP olarak seçilir.
> _Sensör_ menüden seçilir.
> IP Aralığı X.X.X.10-15 olarak girilebilir. 

:exclamation: Girilen IP aralığının içinde SNMP v2'nin kurulu olduğu IP'nin olmasına dikkat edilmeli.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/12r8yeg4sr4py1rhxbyo.png)

- _SNMP Bilgileri_ bölümünde, yeni bilgi eklemek için sağ taraftaki _seçenekler_ butonuna (4) tıklanır.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7xjpyhv447vk6gg2rht6.png)

- Yukarıdaki pencere açılacaktır. Buradaki "+" butonuna tıklanır. Aşağıdaki ekranda verilen bilgiler doldurulur ve kaydedilir.

> _OID_ yazan alan makineler tarafından dönen generic bir OID yazılabilir. Örnek olarak "1.3.6.1.2.1.1.1" değerini kullanabilirsiniz.
> Community bölümüne de SNMP v2 kurulumunda verilmiş olan şifre girilir.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y34ihlcm3f44zwpupofh.png)

- _Keşif Oluştur_ penceresindeki _SNMP Bilgileri_ menüsünden oluşturulan SNMP Bilgisi seçilir ve keşif kaydedilir.

:exclamation::exclamation: Keşifin başarılı bir şekilde gerçekleştirildiğini kontrol etmek için: 

- Eklentinin _Makineler_ sekmesine girilir.
- _Keşif Yöntemleri_ sütunundaki _filtreleme_ butonundan _Discovery_ seçilir ve _Onayla_ butonuna basılır.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7udc0fjbh9x1bx5ddyv9.png)

- Yaptığınız keşif aşağıdaki gibi gözükmelidir.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oa3cjacyv0j1g1v9k55e.png)

:exclamation::exclamation: Keşif, Makineler kısmında görünmüyorsa netex-sensor loglarını kontrol etmek için:

- Eklentinin _Keşif_ menüsündeki _Sensörler_ sekmesine girilir. 
- Sensörün sağ tarafındaki _Seçenekler_ butonundan (3) _Loglar_ seçilir. 
- Keşif sırasında alınan hatalar açılan log ekrandan görüntülenebilir.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d1gsmv7sr42d1vi54sya.png)

:exclamation::exclamation: SNMP v2'yi fiziksel makinenizde manuel test etmek için aşağıdaki komutu kullanabilirsiniz:

```
snmpwalk -v2c -c Password IP
```
supabase에 새 role 추가하기
Tags: supabase, role
Published: 2023-11-01 06:01:15

새 사용자가 raw_user_password에 insert를 하면, 트리거가 돌면서 public.users, auth.users에 무언가 작업을 한다.

```sql
-- 최초 한 번만 실행하면 됨
grant usage on schema extensions to public;
```

### 사용자 생성

```sql
CREATE ROLE test_user INHERIT LOGIN  PASSWORD 'test_user_password'; -- 사용자 생성
GRANT USAGE ON SCHEMA public TO test_user; -- public 스키마 접근 허용
GRANT USAGE ON SCHEMA auth TO test_user; -- auth 스키마 접근 허용
GRANT insert, TRIGGER ON TABLE public.raw_user_password TO test_user; -- 사용할 테이블들 권한 허용
GRANT select, update ON TABLE public.users TO test_user;
GRANT select, update ON TABLE auth.users TO test_user;
```

### 사용자 삭제
접근 허용한 권한들을 모두 회수해야 삭제가 가능하다.

```sql
revoke USAGE ON SCHEMA public from test_user;
revoke USAGE ON SCHEMA auth from test_user;
revoke all ON TABLE public.raw_user_password from test_user;
revoke all ON TABLE public.users from test_user;
revoke all ON TABLE auth.users from test_user;
drop role test_user;
```
function gen_salt(unknown, integer) does not exist
Tags: supabase, postgres
Published: 2023-11-01 05:57:24

새 사용자를 만들고 권한도 다 준 것 같은데 `function gen_salt(unknown, integer) does not exist` 이런 식으로 찾지 못할 때가 있다. 

이럴 때는 schema를 정확히 지정해서 사용하게 해야한다. 

```sql
select extensions.gen_salt(unknown, integer);
```

그래도 못 찾는다면 extensions을 public하게 만들어서 테스트 해보자.

```sql
grant usage on schema extensions to public;
```
Everything about Spam Filters and How to avoid emails landing in Spam folders.
Tags: emaildeliverability
Published: 2023-11-01 05:51:37

As a dedicated email marketer, you’ve put your heart into crafting irresistible email campaigns, only to have some of them end up in the spam folder. The culprits? Spam filters, well-meaning but sometimes overzealous gatekeepers. To outsmart them and ensure your emails shine in the inbox spotlight, let’s dive into the world of spam filters.

Why Emails Land in Spam: Understanding spam filters is essential. They may flag your emails as spam if recipients mark them as such or if your emails contain trigger phrases. Also, having permission from your email recipients is crucial — avoid buying email lists.

What Are Spam Filters? Spam filters are like digital bouncers for your inbox, designed to spot and flag unwanted emails. They play a vital role in email providers like Gmail, Yahoo Mail, and Outlook. While they affect what lands in your recipient’s inbox, they don’t impact your email delivery rate. However, if an email is marked as spam, it may not get the visibility it deserves.

How Spam Filters Work: Spam filters evaluate various factors, including subject lines, senders’ IP addresses, spammy words or phrases, and user input. These filters rely on techniques like email header analysis, content filters, user-defined filters, and blacklisted addresses to detect spam.

Keeping Emails Out of Spam: To ensure your emails reach the inbox, not the spam folder, follow these steps:

Never use purchased email lists.
Consider using a double opt-in signup form.
Monitor your IP reputation and sender reputation.
Segment your emails.
Monitor engagement metrics.
Choose your words carefully in subject lines.
Authenticate your emails.
Avoid attachments and third-party links.
By following these steps, you can keep your emails out of the spam folder and maintain a sparkling sender reputation.

Read it detail here :- https://emaildojo.io/blogs/everything-about-spam-filters-and-how-to-avoid-email-landing-in-spam-folders/
Best website about leave application
Published: 2023-11-01 05:50:58

Navigating the complexities of educational institutions can often be challenging, especially when it comes to essential processes like applying for leaves.Our platform is dedicated to simplifying this process by offering comprehensive information on leave applications.

Are you a teacher looking for guidance on drafting a leave application by teacher to principal? Or perhaps you're searching for the ideal format for a leave application from teacher to principal? Our website covers it all. With in-depth insights and templates, we cater to all your needs. Whether you're drafting an application by teacher to principal for leave or are curious about the best practices for leave application for school as a teacher, our platform is your one-stop destination for all things related to leave applications in the academic realm.

Visit us today and ensure that your [leave applications](https://www.applicationformats.com/leave-application-for-school-teacher-to-principal/) are compelling, concise, and convey your message effectively.
Mastering Landing Page: Essential Tips and Tricks 🚀 #webdesign
Tags: webdesign, javascript, programming, html
Published: 2023-11-01 05:41:48

https://youtu.be/wSJhCv2TcOc


Welcome to our latest tutorial on "Mastering Landing Pages: Essential Tips and Tricks"! 🚀 In this video, we're going to empower you with the knowledge and skills to create landing pages that convert like a charm and leave your visitors engaged and impressed. Whether you're a web design enthusiast, marketer, or business owner, these insights will help you optimize your landing pages for success.

🌟 Key Highlights:
- 🎨 Design principles for a visually stunning first impression
- 📈 Conversion-boosting strategies and techniques
- 💡 Proven tips and tricks to optimize user experience
- 🔧 Practical tools and resources to streamline your landing page creation

Don't miss out on mastering the art of landing pages! Watch now and elevate your online presence.

For more web design and marketing tips, be sure to visit our website at  @technicalmickey  And remember to follow us on social media for the latest updates and exclusive content:

📲 Follow us on Instagram: [https://instagram.com/technicalmickey]
🌟 Connect with us on YouTube:  @technicalmickey  
📘 Connect with us on Facebook: [https://www.facebook.com/technicalmickeyofficial]

Like, subscribe, and hit the notification bell to stay informed about our latest tutorials and updates. Let's embark on this journey to master landing pages together! 💻📊 #LandingPages #WebDesign #webdevelopment #html #css #coding #javascript #ConversionOptimization #marketingtips 

how to create landing page using html and css,
how to create simple landing page using html and css,
how to create a landing page using html and css,
how to make a landing page using html and css,
how to build a landing page with html and css,
how to create a home page in html and css,
how to create a homepage using html and css,
how to make a landing page with html and css,
how to build a landing page using html and css,
create a landing page using html and css,
how to create landing page using html,
create a landing page html css,
how to create a landing page html css,
how to create facebook home page in html and css,
how to make facebook home page in html and css,
how to create home page html and css in hindi,
how to make landing page using html css and javascript,
creating landing page html css,
how to make a landing page using html css,
how to make netflix homepage using html and css,
create netflix homepage using html and css,
how to create a landing page html,
how to create home page html and css in tamil,
how to make landing page website using html and css,
how to create a landing page in html


https://www.youtube.com/playlist?list=PL0BRfHrurdBeLBMryMm9J8D8Q9aebxL_b
Seeking Forum Solutions for a Node.js, React, Next.js Stack
Published: 2023-11-01 05:21:08

Hey, we're expanding our current website to include a user forum, a move beyond our initial plans of a simple knowledge base. We previously utilized Strapi for a knowledge base project on Kukarella. Now we're aiming for a forum that not only hosts articles but also fosters interaction between users and our team. We're inspired by forums like the ones on dev.to and Intercom Community. Given that we're working with Node.js, React, and Next.js, any specific forum solutions you'd recommend?