teleren/devto huggingface dataset:
Apple Mouse Design Fail Solved With Bash
Tags: productivity, automation, bash
Published: 2024-04-26 09:28:59

The Apple Mouse charging port is a weird design, because while charging the mouse it cannot be used. Aesthetics won out over user productivity.

On the one hand I appreciate that one hour of charging time every few weeks is a marginal outage. Infrequent enough that the disruption is almost forgotten each time.

Though on the other hand Mac OS is pretty unusable without a mouse. So my expensive iMac is bricked because the mouse has lies upside down with cable plugged into its belly. 

But hey, I can appreciate the nice aesthetic while I sit and watch it charging. Oh wait..there's no pop-up charging indicator either, so I just guess when it's 100% 😡

And my mouse alway seems to run out of power when I'm fully into whatever I'm doing. Does this just happen to me?

I just couldn't stand it anymore, so I built a battery level warning script that I run in the background. If the mouse or keyboard fall below 20% charge then I get a simple pop-up window. 

It's a gentle reminder to charge when I next leave my desk. No rush, no outage, because with 20% I still have a few days of battery left. I typically just plug it in when I finish that day.

[tomtastic](https://github.com/tomtastic) made some good improvements to the inner workings. And we made sure only two pop-up reminders per day, which feels about right.

It's a pretty simple bash script run from cron. Aesthetics may have won the design process at Apple, but we can solve the productivity problem it caused.

It's on GitHub: [MagicPowerAlert](https://github.com/thisdougb/MagicPowerAlert)

_I got a pop-up this morning, which reminded me of the script running quietly in the background. And I am out for a meeting this afternoon, so I'll plug it in before I go. Whenever the pop-up appears it feels like a little win over poor design._
Java Certified Foundations Associate 1Z0-811 Preparation Study Plan
Tags: java, python, softwareengineering, software
Published: 2024-04-26 09:23:56

The Java Certified Foundations Associate 1Z0-811 exam is designed for students in various educational institutions including two-year colleges, secondary schools, and four-year colleges and universities. This certification is suitable for individuals who have completed the Oracle Academy program or are currently studying computer science with a focus on Java. It is also beneficial for faculty members who teach Java and computer science courses, as well as those who are new to their Java careers.

To prepare for the 1Z0-811 exam, it is important to first download the exam syllabus. This will provide a clear understanding of the topics that will be covered in the exam.

Next, download the JDK 1.8 software, which is the version validated for this exam. Additionally, it is recommended to download a text editor, such as Notepad++ or Editplus, instead of an Integrated Development Environment (IDE). This will allow you to focus on learning Java coding and be better prepared for the exam.

After setting up the necessary software, create a text file with the path command for your JDK/bin location. This will ensure that your computer can locate the JDK software and run Java programs smoothly.

The study plan for the 1Z0-811 exam can be divided into three phases. In the first phase (Day 3-13), systematically go through each exam objective and create programs to gain a better understanding of the topics.

In the second phase (Day 13-23), set a study plan using MyExamCloud's 1Z0-811 study plan. This includes practicing 10 full-length mock exams and setting goals for each exam objective. The mock exams come with explanations for each answer, in eBook format, which can be accessed through the MyExamCloud mobile app or web browser.

In the third phase (Day 23-30), take objective and random tests on a regular basis, and repeat them until scoring above 90%. This will ensure a thorough understanding and application of the exam topics, and prepare you for the real exam.

The MyExamCloud [1Z0-811 Practice Tests](https://www.myexamcloud.com/onlineexam/1z0-811-java-foundations-exam-practice-tests.course) Study Plan includes 778 questions grouped according to exam topics. It also offers one free trial exam to give an idea of the exam format and difficulty level.

By following this study plan and consistently practicing and reviewing the material, you will be well-prepared to pass the 1Z0-811 exam and become a Java Certified Foundations Associate.
Puro Vista
Tags: cashew, nuts, purovista, cashewnuts
Published: 2024-04-26 09:19:38

Welcome to [Puro Vista](https://purovista.com/), your ultimate destination for top-notch cashew nuts. We take pride in offering a wide range of high-quality cashew products that are not only delicious but also packed with essential nutrients.
At Puro Vista, we prioritize quality at every step of the process. From sourcing the finest cashew nuts to ensuring stringent quality checks, we guarantee freshness and purity in every bite. Our range includes Unpeeled Cashews for a delightful crunch and Borma Cashew for a rich and creamy experience.
What sets us apart is our commitment to health and wellness. All our cashew products are cholesterol-free, gluten-free, and naturally sweet, making them a guilt-free snack option for everyone.
Discover the perfect blend of taste and nutrition with Puro Vista. Elevate your snacking experience with our premium quality cashews and experience why we're the preferred choice for discerning consumers. Order Now!


Puro Vista
Address: Phase-7, Sector-61 Mohali PUNJAB-160062
Contact: +91 8968887578
Website; [https://purovista.com/](https://purovista.com/)
Site web API-SNCF (REACT,SCSS,API)
Tags: api, scss, react, programming
Published: 2024-04-26 09:13:40

Site web API-SNCF

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1yoccp7ij0s9rqf22ct0.png)
https://guillaumesere.github.io/api-sncf/

API-SNCF est votre guichet unique pour obtenir les informations les plus récentes sur les horaires de trains en France. Grâce à une interface utilisateur intuitive et réactive, ce site web offre un accès instantané aux horaires en direct des trains, ainsi qu'aux retards potentiels, le tout alimenté par les données de l'API de la SNCF.

Recherche de Ville : Une barre de recherche intuitive permet aux utilisateurs de trouver rapidement les horaires des trains pour une ville spécifique. En tapant le nom de la ville, les résultats sont filtrés en temps réel pour une expérience de recherche fluide.

Affichage des Horaires : Les horaires des trains sont présentés de manière claire et organisée, fournissant des détails tels que les heures de départ et d'arrivée, les gares intermédiaires et les éventuels retards.

Indicateurs de Retard : Les trains en retard sont clairement identifiés avec des indicateurs visuels, permettant aux utilisateurs de prendre des décisions éclairées sur leurs déplacements.

Mises à Jour en Temps Réel : Les données sont constamment mises à jour en temps réel, assurant que les utilisateurs disposent des informations les plus précises et les plus récentes pour planifier leurs voyages.

Design Réactif : Le site est construit avec React et SCSS, garantissant une expérience utilisateur fluide et cohérente sur une variété de périphériques, des ordinateurs de bureau aux smartphones.

Facilité d'Utilisation : L'interface utilisateur est conçue pour être conviviale et intuitive, même pour les utilisateurs novices, avec des fonctionnalités de glisser-déposer et de navigation simple.
An OIDC authentication library that supports self hosting and has complete test cases
Tags: node, typescript, svelte, javascript
Published: 2024-04-26 09:10:38

https://github.com/chuck1in/nw-auth

Made an identity authentication library based on the OIDC process, which supports third-party platforms such as GitHub, WeChat, Google, Twitter, Feishu, and Sina. In theory, it also supports self-deployed OIDC authentication servers. Since it has not been advertised, I don't know if any users are using it.

🎉 The features of this library are as follows:

- 🍒 Small code size
- 🍋 Few exposed interfaces
- 🥝 No runtime dependencies

Recently, I used my spare time to add a self-test page to this library, which is convenient for everyone to confirm whether the three-party login function of the library can operate normally through the visual interface.


![seflhost-test](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s9sokk3co3yq5gx5fbyz.png)

This page is made with sveltekit. I don't specialize in front-end. I didn't think there was much work, but it ended up taking a lot of time and effort. 

If you find this library useful, I hope you can give me some ⭐ for encouragement. Thank you for your support.

If you are willing to contribute code to this library, you can simply add more third-party login platforms based on the existing structure. 👏 👏 👏
Lapis jewellery
Tags: lapis, jewellery, lazuli
Published: 2024-04-24 10:57:55

Lapis jewelry encompasses a stunning array of accessories adorned with lapis lazuli gemstones, known for their rich blue color and captivating beauty. Lapis lazuli has been prized for centuries for its deep blue hue and speckled with golden pyrite inclusions, reminiscent of a starry night sky.

Lapis lazuli jewelry comes in various forms, including necklaces, earrings, bracelets, rings, and pendants. The gemstone is often cut and polished into cabochons or beads to showcase its natural beauty. Whether set in sterling silver, gold, or other precious metals, lapis lazuli creates striking pieces that exude elegance and sophistication.

One of the most iconic uses of lapis lazuli in jewelry is in ancient Egyptian artifacts, where it was revered as a symbol of royalty and power. Cleopatra famously used powdered lapis lazuli as eyeshadow, further solidifying its association with luxury and beauty.

In addition to its aesthetic appeal, lapis lazuli is believed to have metaphysical properties. It is thought to promote inner peace, wisdom, and spiritual enlightenment, making it a popular choice for those seeking balance and harmony in their lives.

Lapis lazuli jewelry is versatile and can be worn for various occasions, from casual outings to formal events. Its deep blue color adds a pop of vibrancy to any outfit, making it a statement piece that effortlessly commands attention.

Whether you're drawn to its captivating beauty or its purported metaphysical properties, lapis lazuli jewelry is a timeless investment that holds both aesthetic and symbolic significance. With its rich history and stunning allure, it's no wonder lapis lazuli continues to be cherished in the world of jewelry design.
(https://www.argent-asher.com/collections/lapis-lazuli-jewellery)
Digital marketing activities
Tags: webdev, programming, beginners, productivity
Published: 2024-04-26 09:04:55


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s3zdbpgv9vce5yndsjva.jpg)**Search Engine Optimization (SEO)**: Optimizing website content and structure to improve visibility in search engine results pages (SERPs) and increase organic traffic.
**Content Marketing**: Creating and distributing valuable, relevant, and consistent content to attract and engage a target audience. This includes blog posts, articles, videos, infographics, etc.
**Social Media Marketing**: Utilizing social media platforms like Facebook, Twitter, Instagram, LinkedIn, etc., to connect with audiences, build brand awareness, and drive traffic to websites.
**Email Marketing**: Sending targeted emails to prospects and customers to promote products, share news, and nurture relationships. This includes newsletters, promotional emails, follow-ups, etc.

for more services you can visit to [bigbytehire.](https://www.bigbytehire.com/)
Web Radio (HTML, CSS, Javascript) Flux divers.
Tags: webdev, javascript, css, html
Published: 2024-04-26 09:03:24

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

https://guillaumesere.github.io/WEB-RADIO/

Description :
Votre web radio offre une expérience immersive et diversifiée pour les amateurs de musique et de programmes audio. Avec une interface conviviale et moderne, elle combine habilement les dernières technologies web avec une sélection de flux provenant de diverses stations de radio du monde entier.

Technologies Utilisées :

HTML : La structure de la page web est créée en utilisant HTML pour organiser les différents éléments de l'interface utilisateur.

CSS : Les styles visuels et la mise en page sont définis à l'aide de CSS, offrant une apparence attrayante et une expérience utilisateur cohérente.

JavaScript : La fonctionnalité interactive de la web radio est implémentée en JavaScript, permettant une manipulation dynamique des éléments de la page, y compris le chargement et la lecture des flux radio, ainsi que la gestion des interactions utilisateur.
Vay tiền nhanh trong ngày không thế chấp
Tags: vaytiennhanh, vaytiennhanhtrongngay, vaynhanh
Published: 2024-04-26 09:02:33

Vay tiền nhanh trong ngày không thế chấp, không thẩm định, giải ngân 30 phút. Vay tiền nóng gấp trả góp theo ngày, tuần, tháng, TPHCM.

Cho vay tiền nhanh trong ngày tại TPHCM và các tỉnh lận cận chỉ cần CMND và hộ khẩu. Giúp bạn có tiền nhanh trong ngày, ai cần vay mượn tiền nóng gấp hãy gọi hoặc đăng ký ngay nhé.

Tại sao phải vay tiền tư nhân nhanh trong ngày?

Công ty cho vay tài chính VAYEXPRESS là một doanh nghiệp đáng tin cậy hàng đầu trong lĩnh vực tài chính. Chuyên ngành tư vấn, hỗ trợ khách hàng về cho vay tài chính, và cũng là đối tác chính thức của Ngân Hàng. Chúng tôi đảm bảo sẽ hỗ trợ giúp bạn vay tiền nhanh nhất trong ngày!

Nếu không gọi được xin để lại tin nhắn – Chuyên viên tư vấn sẽ gọi lại cho anh chị ngay lập tức!

Có nhiều sản phẩm vay đa dạng để khách hàng lựa chọn. Đó chính là: vay tiền mặt nhanh trong ngày, vay tiêu dùng tín chấp. Vay thế chấp tài sản theo sổ tiết kiệm, sổ đỏ, nhà ở, xưởng sản xuất, trang sức có giá trị.
Mượn tiền tại VAYEXPRESS nhanh chóng, an toàn, hiệu quả, uy tín nhất hiện nay.
Miễn phí tư vấn và hoàn tất hồ sơ cho vay nóng tiền mặt không phát sinh chi phí nào cả.
Vay tiền nhanh trong ngày không thẩm định nhà. Chúng tôi không gọi điện thẩm định người thân, bạn bè, đồng nghiệp công ty.
Bảo mật khoản vay và thông tin cá nhân người dùng, không ai biết kể cả người thân trong gia đình.
Chuyên viên tư vấn vay tiền góp ngày chuyên nghiệp, vui vẻ, ân cần, nhiệt tình, tư vấn rõ ràng dễ hiểu. Giúp người vay chọn được gói vay phù hợp, vay được số tiền mong muốn.
Lãi suất cạnh tranh, minh bạch, thấp nhất thị trường hiện nay.
Thời gian cho vay linh hoạt và dài hạn trả góp trong 3 tháng, 6 tháng. 9 tháng, 12 tháng, tối đa 36 tháng.
Không thu phí bảo hiểm và không thu phí xử lý hồ sơ nếu hồ sơ vay thành công.
Thủ tục vay tiền TPHCM đơn giản, tư vấn nhiệt tình, tận nơi.

Liên hệ:

Địa chỉ: 613 Lạc Long Quân, Phường 9, Tân Bình, Hồ Chí Minh
Email: tourismphuan6879@gmail.com

Website: [https://vaytiennhanhtrongngay.org/](https://vaytiennhanhtrongngay.org/)

Facebook: [https://www.facebook.com/vaytiennhanhtrongngay.org](https://www.facebook.com/vaytiennhanhtrongngay.org)

Twitter: [https://twitter.com/vaytiennhanhtn](https://twitter.com/vaytiennhanhtn)

Linkedin: [https://www.linkedin.com/in/vaytiennhanhtrongngayorg/](https://www.linkedin.com/in/vaytiennhanhtrongngayorg/)

Tiktok: [https://www.tiktok.com/@vaytiennhanhtrongngay2](https://www.tiktok.com/@vaytiennhanhtrongngay2)

Maps: [https://maps.google.com/maps?cid=10632397319399906347](https://maps.google.com/maps?cid=10632397319399906347)

Youtube: [https://www.youtube.com/channel/UCERvtSvV926gSuiW3POp_ew](https://www.youtube.com/channel/UCERvtSvV926gSuiW3POp_ew)

Instagram: [https://www.instagram.com/vaytiennhanhtrongngayorg](https://www.instagram.com/vaytiennhanhtrongngayorg)
What was your win this week?
Tags: discuss, weeklyretro
Published: 2024-04-26 09:00:00

Hey! 👋

You made it. It's officially Friday. 😎

Looking back on this past week, what was something you were proud of accomplishing?

All wins count — big or small 🎉 

Examples of 'wins' include: 
- Starting a new project
- Fixing a tricky bug
- Going out to get ice cream 🍦

---

![A claymation version of Patrick, the starfish, from Spongebob gorging himself on ice cream. He stops mid-bite and hangs on the side of the ice cream cone while swallowing ice cream satisfactorily. Notably he is out of the water and on a populated beach.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/66bp4cgy89jps0jd7nda.gif)
Tjeerd Engel
Published: 2024-04-26 08:55:17

Als ZZP’er help ik bedrijven met het opzetten, verbeteren en/of onderhouden van hun website en SEO. Mijn 24 jaar kennis en ervaring als Internet Marketeer pas ik toe bij het bouwen van nieuwe WordPress websites, het verbeteren en onderhouden van bestaande websites, zoekmachine optimalisatie (SEO) en hulp bij internet marketing.

Denk jij als ondernemer meer uit jouw website te kunnen halen, of vind jij online media ingewikkeld? Dan kan ik je helpen.

Wil je weten hoe of wat de investering zal zijn? Stuur mij dan een e-mail:  info@tjeerdengel.nl


[SEO](https://seo-friesland.nl/)
[WordPress](https://wordpress-friesland.nl/)
[Tjeerd Engel](https://www.tjeerdengel.nl/seo-friesland/)
Shrink. Share. Earn how to make money from Python and adfocus API
Tags: python, api, coding, programming
Published: 2024-04-26 08:52:41

## Hi 🙂🖐

In this post, I will share with you how to make money from Python
and `adfocus API` 

## Step 1
Create account from [here](https://bit.ly/4b2TEYG)

## Step 2
Go to [https://adfoc.us/tools/api](https://adfoc.us/tools/api) 

## Step 3

```python
import requests
url = ''
api_key = 'Your API key' # from step 2

endpoint = f'http://adfoc.us/api/?key={api_key}&url={url}'

res = requests.get(url = endpoint)
print(res.text)

```

The only required variable to send is url= which contains the full URL of the link to shrink.

If there is NO error, the API will return an AdFoc.us shortened URL.
If there is an error, the API will return 0.
BÙI THỊ HUYỀN ANH
Published: 2024-04-26 08:43:27

Bùi Thị Huyền Anh, là một phần không thể thiếu trong sứ mệnh của BY88. Với sự xuất sắc và đam mê không ngừng, Huyền Anh là một trong những nhân tố quan trọng giúp nhà cái by88 phát triển và thành công.
Địa chỉ : 62 P.Yên Lãng, Thịnh Quang, Đống Đa, Hà Nội, Việt Nam
Phone : 840914123456
Brand : BY88
Website : https://by88.fund/tac-gia-bui-thi-huyen-anh/
Email: sampippinmd@gmail.com
Tags: #tacgiahuyenanh #tacgiaby88 #ceoby88
 
Social Links:

https://twitter.com/buithihuyenanh

https://www.pinterest.com/buithihuyenanh/

https://www.youtube.com/channel/UCxeJfiX4Zqmex-NN5hQGcNw

https://www.youtube.com/@buithihuyenanh/about

https://en.gravatar.com/sampippinmd

https://www.tumblr.com/buithihuyenanh

https://github.com/buithihuyenanh

https://gravatar.com/sampippinmd

https://www.blogger.com/profile/08775387115684073489

https://buithihuyenanh.blogspot.com/

https://500px.com/p/buithihuyenanh?view=photos

https://about.me/buithihuyenanh/

https://www.deviantart.com/buithihuyenanh

https://issuu.com/buithihuyenanh

https://folkd.com/profile/buithihuyenanh

https://www.producthunt.com/@buithihuyenanh

https://www.scoop.it/u/bui-th-huy-n-anh

https://git.project-hobbit.eu/buithihuyenanh

http://artistecard.com/buithihuyenanh

https://www.ultimate-guitar.com/u/sampippinmd

https://linktr.ee/buithihuyenanh

https://qiita.com/buithihuyenanh

https://www.quora.com/profile/Sam-Pippinmd

https://vimeo.com/buithihuyenanh

https://foursquare.com/buithih5239766/list/buithihuyenanh

https://www.youtube.com/@buithihuyenanh/about

https://www.goodreads.com/user/show/177707571-b-i-th

https://www.twitch.tv/buithihuyenanh

https://flipboard.com/@buithihuyenanh/

https://gravatar.com/sampippinmd

https://www.kickstarter.com/profile/buithihuyenanh/about

https://www.blogger.com/profile/08775387115684073489

https://www.behance.net/buithihuyenanh

https://www.instapaper.com/p/buithihuyenanh

https://sites.google.com/view/buithihuyenanh/home

https://band.us/@buithihuyenanh

https://data.world/buithihuyenanh

https://www.blackhatworld.com/members/buithihuyenanh.1922867/#about

https://www.designspiration.com/buithihuyenanh/

http://www.socialbookmarkssite.com/user/buithihuyenanh/

https://replit.com/@buithihuyenanh

https://pxhere.com/en/photographer/4242806

https://public.tableau.com/app/profile/buithihuyenanh

https://forums.goha.ru/member.php?u=1521866

https://www.chordie.com/forum/profile.php?id=1938834

https://roomstyler.com/users/buithihuyenanh

https://buithihuyenanh.contently.com/

https://www.penname.me/@buithihuyenanh

http://egamingsupply.com/member/72870-buithihuyenanh/about

https://gitee.com/buithihuyenanh

https://glints.com/vn/profile/public/df86f74d-6a9e-4ac7-b080-94b7cc746de3

https://archive.org/details/@buithihuyenanh

https://www.fitday.com/fitness/forums/members/buithihuyenanh.html

https://www.gta5-mods.com/users/buithihuyenanh

https://www.shadowera.com/member.php?141904-buithihuyenanh

https://learn.microsoft.com/en-us/users/buithihuyenanh-7389/

https://worldcosplay.net/member/1757410

https://rosalind.info/users/buithihuyenanh/
13章17
Published: 2024-04-26 08:35:20


**オプションA:**
```java
int[] array;          // 整数型の配列を宣言しています。
array = new int[] {}; // 宣言された配列を空の配列で初期化しています。
```
このコードは、`int[]` 型の配列変数 `array` を宣言し、空の配列で初期化しています。これはJavaの配列を扱う正しい方法です。Javaでは、配列を宣言後に空の配列で初期化することが可能です。

**オプションE:**
```java
Double[] array5 = {null, 1.0}; // Double型のオブジェクト配列を宣言し、nullと1.0で初期化しています。
```
このコードは、`Double` 型の配列 `array5` を宣言し、最初の要素を `null`、次の要素を `1.0` で初期化しています。Javaの `Double` クラスはオブジェクト参照型なので、その要素として `null` 値を許容しています。このため、この初期化方法も正しいです。

これに対して、他のオプションは以下の理由で不適切です：

**オプションB:**
```java
int[] array2 = new int[3]; // ここでは配列を宣言し、3つの要素で初期化しています。
array2 = {1, 2, 3};        // これは不正です。配列リテラルは宣言時にのみ使用できます。
```
Javaでは、配列リテラルを直接変数に代入するには宣言と同時に行う必要があります。代入のみの行で配列リテラルを使用することはできません。

**オプションC:**
```java
Double[] array3 = new Double[3] {}; // これはDoubleオブジェクトの配列を宣言し、3つのnullで初期化しています。
```
無名配列を作る時は大カッコの中に要素数を指定しません。

**オプションD:**
```java
int[] array4 = {array4[0], array4[1]}; // これは自分自身の未初期化の状態の要素を使って初期化しようとしています。
```
これは不正です。なぜなら、`array4` を初期化する際に `array4` 自身の要素を使用しようとしているからです。配列が初期化される前には、その要素にアクセスすることはできません。