teleren/devto huggingface dataset:
How to know my phone is hacked or not?
Published: 2023-12-30 05:43:18

How to know if my phone is hacked or not?
Smartphones have become an integral part of our lives, containing sensitive personal and financial information. With the increasing prevalence of cyber threats, it is important to be vigilant about the security of our devices. This article will provide a comprehensive step-by-step guide to help you determine ([How to know if my phone is hacked?](https://www.geekstalk.space/2023/06/how-to-know-my-phone-is-hacked-or-not.html)) if your smartphone has been compromised. By following these steps, you can safeguard your data, privacy, and overall digital wellbeing.


step 1:
Monitor battery performance: One of the earliest signs of a hacked smartphone is unusual battery behavior. If your battery drains unusually quickly, even when you're not using your phone much, it could indicate malicious software running in the background. Also pay attention to sudden temperature increases, as they may suggest unauthorized processes consuming system resources.

step 2:

Pay attention to data usage: Excessive data consumption may indicate a compromised smartphone. Keep track of your data usage pattern and check if there is any significant deviation. An unexpected increase in data usage, especially when you are not actively using data-intensive apps or browsing the Internet, may indicate the presence of malware or spyware on your device. ([How to know if my phone is hacked or not?](https://www.geekstalk.space/2023/06/how-to-know-my-phone-is-hacked-or-not.html))

step 3:
Monitor unusual app behavior: Regularly review your installed apps for any suspicious behavior. Look for unfamiliar or unsolicited pop-ups, excessive ads, or unexpected crashes. Additionally, pay attention to any new apps that you haven't installed yourself, as these could potentially be malicious. Always verify the legitimacy of an app before downloading it from unofficial sources or third-party app stores.

step 4:

Check for strange text messages or calls: Phishing attempts through text messages or calls are common techniques used by hackers. Beware of unsolicited messages or calls that ask for personal information or redirect you to suspicious websites. Avoid clicking suspicious links or providing sensitive data in response to such messages.
Convert all the first letters in a statement to capital letters
Published: 2023-12-30 05:37:46

To convert all the first letters in a statement to capital letters, you can achieve this by checking if the addresses stored in the database are all in lowercase and then display them with the first letter capitalized using Java.


	private static String capitalizeFirst(String word) {
	    return word.substring(0, 1).toUpperCase()
	      + word.substring(1).toLowerCase();
	}

	
	public static String capitalizeAllFirstLetters(String address){
		
		Pattern pattern = Pattern.compile("^[A-Z,a-z]");
		String[] addressArray = address.split(" ");
		StringBuffer afterChangesAddress = new StringBuffer();
		
		for(int i=0;i<addressArray.length;i++){
			 Matcher m = pattern.matcher(addressArray[i]);
			  if(m.find()){
				  afterChangesAddress.append(capitalizeFirst(addressArray[i])).append(" ");
			 }else{
				 afterChangesAddress.append(addressArray[i]).append(" ");
			 }
		}
		return afterChangesAddress.substring(0, afterChangesAddress.lastIndexOf(" "));
		
	 }

	
	

	public static void main(String[] args) {


		String str = capitalizeAllFirstLetters("1180 seven seats dr, orlando, fl 3283");
		
		System.out.println(str);

	}

Output:
1180 Seven Seats Dr, Orlando, Fl 3283
I created a Dark-Web Search Engine
Tags: darkweb, search, engine, website
Published: 2023-12-30 05:12:57

Just as usual i was surfing on tor network but the problem was to find specific links according to title given to their websites. 

To make surfing easy, i created a search engine which will make it easy for you to find websites according to your Search And you can also submit your own .onion links (Submitting URLs are in development and will be released soon)

Visit [deepweb.pages.dev](deepweb.pages.dev)


![deepweb.pages.dev](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ks358ubo9g2fdgxiuey.png)



And please support me by visiting this [Link](https://remainmother.com/ntbbueee5?key=d6acb63cbb4b4df8c9edf079a22a5980) (It will show you a simple ad, which will help me to give more time in developing the search engine)


## Disclaimer: 


I mean no harm to anyone, Some listed sites may be false or promote violence/murder. Criminals: There's a chance you will find websites run by criminals. Beyond selling illegal goods and services, they may seek to exploit you and steal from you.

> Breaking the law: You can be prosecuted for things you do on the dark web


> Use with caution.


## How to keep yourself safe:


- Always use an anonymous browser like Tor, and keep your security settings at the maximum value
- Add VPN for additional security.
- Disconnect camera and microphone from your computer for security.


## Benefits to the dark web


Users evading government censorship can share information about what is happening in their country. Whistle blowers often come to the dark web to find allies who can take their secrets and share them more publicly elsewhere.

{% embed https://deepweb.pages.dev %}
WatchTowerHQ - The Website Management Tool Trusted by Agencies
Tags: saas
Published: 2023-12-30 04:40:59

Drowning in website management tools? Reduce your tech stack and unleash revenue with WatchTowerHQ, the all-in-one solution built for digital agencies. WatchTowerHQ packs the essentials - updates, monitoring, backups - but it doesn't stop there. Unlock actionable insights with historical data analysis, stay ahead of issues with real-time notifications in email, Slack, or Zapier, track DNS and SSL health, and empower your team with granular user permissions. Take control of your agency's website management. Ditch the tool overload and let WatchTowerHQ handle it all. Sign up for a 7-day free trial today!

[https://watchtowerhq.co](https://watchtowerhq.co)
Evfleetchargers Reaches Sales of Over 3,000 Supernova DC Fast Chargers
Tags: evcompany, evfleetchargers, evfleetcharger
Published: 2023-12-30 03:47:43

Evfleetchargers has achieved a significant milestone by surpassing the sales mark of 1,000 units of its cutting-edge Supernova DC fast chargers. A prominent global provider of electric vehicle (EV) charging and energy management solutions, Evfleetchargers disclosed this achievement today, underscoring the swift adoption of its innovative technology. Launched just last year, the Supernova DC fast chargers have now been embraced by over 500 owners and co-owners across four countries.

This accomplishment signifies the growing recognition of Evfleetchargers's technology, which not only enhances reliability but also provides a versatile power upgrade path. The customer base spans renowned companies worldwide, including Iberdrola, BeCharge, Atlante, and Osprey, attesting to the trust, technological prowess, and commitment to customer satisfaction that Evfleetchargers has cultivated.

Martinez Miller, spokesperson for Evfleetchargers, remarked, "In just over a year, we have achieved what often takes companies three or four years. We have successfully introduced and scaled our innovative DC fast charger, making it one of the leading platforms in the market today, with commitments for over 12,000 units." Miller expressed excitement about future prospects as the company plans to expand Supernova's market presence into North America later this year, offering new power and hardware configurations, including NACS, CCS, and CHAdeMO, along with top-notch installation, maintenance, and support services.

Supernova, Evfleetchargers's next-generation DC fast charger, addresses the industry's demand for reliable and efficient public charging for both electric vehicle drivers and chargepoint operators. The latest iteration, Supernova 180, is tailored for the North American market, supporting charging speeds of up to 180 kW. Leveraging an innovative modular design, Supernova allows simultaneous charging of multiple EVs with split-charge configurations, ensuring interoperability with all vehicle makes, models, and charging standards. Additionally, it offers extensive customization options for branding and has a reduced footprint, making it suitable for diverse locations such as gas stations, high-power charge hubs, car dealerships, and shopping malls where space and power are limited.
Coddy - Code Makes Perfect
Tags: education, software, code, elearning
Published: 2023-12-30 02:42:07

Coddy is an online platform focused on teaching code in a practice-driven way. We provide a short, practice-driven, and fun way to learn code online like never seen before, with the goal of transforming code learning into a daily hobby. Ready to revolutionize your coding learning experience? Join us today and unlock the great coder inside you!

[https://coddy.tech](https://coddy.tech)
AWS-Elastic Container Service
Tags: linux, devops, aws
Published: 2023-12-30 02:28:18

Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service that helps you easily deploy, manage, and scale containerized applications. 

-  EC2 is that it deploys isolated VM instances with auto scaling support, and ECS deploys scalable clusters of managed Docker containers.

- Amazon Elastic Compute Service (ECS), Elastic Kubernetes Service (EKS), and AWS Fargate help deploy and manage containers

- AWS Fargate is a technology that you can use with Amazon ECS to run containers without having to manage servers or clusters of Amazon EC2 instances. With Fargate, you no longer have to provision, configure, or scale clusters of virtual machines to run containers.

Step-1. Create Cluster and task definition  using AWS Fargate

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

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

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

Step-2. Create the services in the cluster.

- Create the service with the task definition family which we created for nginx.

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

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

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

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

- Once service created we can access the Public IP details from the Task tab.

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

- Now you able to access the Nginx on the browser with the Public IP.
Excel add-in in taskpane using react 18
Published: 2023-12-30 01:52:15

I am trying to add multiple routes in a react 18 excel add-in. However, react does not like the BrowserRouter or HashRouter.
I receive the following error:
**ERROR**
`globalHistory.replaceState is not a function
TypeError: globalHistory.replaceState is not a function
    at getUrlBasedHistory (https://localhost:3000/taskpane.js:20811:19)
    at createHashHistory `

Does anybody have a suggestion on how to fix this?

The fragments of the code are:

`import { HashRouter as Router } from "react-router-dom";
import App from "./components/App";`

`Office.onReady(() => {root.render(
<Router><App /></Router>);});`
What Actually is Babylon.js?
Tags: babylonjs, javascript, virtualreality, augmentedreality
Published: 2023-12-30 01:24:00


![Babylon.js](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/74470gm8uq8r1661p55j.jpeg)

If you are a coder who also has a knack for graphic design, I'm sure you know about Babylon.js. But exactly is Babylon.js? Well, it is a real-time 3D engine that's used to display 3D graphics in web browsers. It was released in 2013 by the joint efforts of Microsoft and David Catuhe, developer. The source code of Babylon.js is TypeScript-based. It is further compiled into JavaScript and available to users through NPM and CDN.

But before you start working on Babylon.js, you must have a basic understanding of CSS, HTML, JavaScript, and the Document Object Model (DOM). Some developers also use it to create web-based virtual reality and augmented reality (AR) apps. That's because it offers a lot of interactive 3D content, tools, and features that allow developers to create interactive 3D games.

Moreover, there are numerous effects, like post-processing effects, that can help developers create visually appealing graphics using Babylon.js. One of the best things about Babylon.js is its speed. You can also create cross-platform apps in babylon.js. This means you don't have to write separate codes for mobile and desktop. With one code base, you can develop both mobile and desktop VR apps.

Also, the apps made in Babylon.js are compatible with popular browsers like Chrome, Firefox, and Edge. Many projects have been created with Babylon.js, including Google's Tilt Brush, Microsoft HoloLens, Autodesk Fusion 360, and Google's Block.

Now, undoubtedly, there are plenty of benefits to using Babylon.js, but why specifically choose it? Why not use three.js? Well, three.js is used for creating 3D animations. Babylon.js is used for creating photorealistic images. Three.js is suitable for making simple apps, whereas Babylon.js is ideal for making complex apps and games. It's best to use when it comes to transforming dull data into visually appealing objects for analysis.

Further, it seems that Babylon.js is already popular among game developers. Temple Run, Minecraft Classic, Wall Game, and Space Invaders are all made using Babylon.js.
How to upgrade from Ubuntu 22.04 to 23.04 using terminal [2024]
Tags: ubuntu, apt, terminal, lunarlobster
Published: 2023-12-30 01:09:17

Step 01:

Get all the apt updates

`sudo apt-get update` and 
`sudo apt-get upgrade`

to make sure all the packages are in the latest version.

Step 02:

Update the system using the below command.

`sudo do-release-upgrade` 

This might warn you that if you were to continue [livepatch](https://ubuntu.com/security/livepatch/docs/livepatch) will be turned off. Type `y` and continue. 

If you encounter an error saying...

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

Go to `/etc/apt/sources.list.d` and locate the `winehq-<release>.sources` and delete it. This will do the trick. If it throws an access denied error, try it with root privilages. 

`sudo rm -rf winehq-<release>.sources`

Make sure you replace the <release> with whatever the version that shows in your directory.

Example: `winehq-jammy.sources`

Then redo the Entire step 02 from beginning. 

Moving on....

If you get a "third party entries in `sources.list` disabled" warning, type `y` and continue

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


Then the update starts to download and

- Remove unnecessary packages
- Install new packages needed for the new version
- Upgrade existing packages

This will be a lengthy process depending upon the internet connection speed. So sit back and relax.


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


Once everything is downloaded (about 2.7GB) it will start upgrading them.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/no6u3v0dcw6sq0l9ynkx.png)
Setting up fluent bit using docker
Tags: devops, docker, fluentbit, deployment
Published: 2023-12-30 00:30:52

# Purpose
This is a step by step guide about how to setup fluent bit with docker.

The fluent bit official installation guide only had documentation about how to run fluent bit using docker but it didn't mention how to set it up.

So this is my solution to how to setup fluent bit using docker commands only. No docker compose.

# Steps


### Designate a folder where you'll store the fluent bit configs. In my case the directory is `D:/fluent-bit`

### Start a temporary container to copy default configs from
```
docker run -d --rm --name temp cr.fluentbit.io/fluent/fluent-bit
```

### Copy the configs to your designated folder
```
docker cp temp:/fluent-bit/etc/ D:/fluent-bit
```

### Stop the temporary container
```
docker stop temp
```

### Now start fluent bit with the config folder mounted as a volume
```
docker run -dti --name fluent-bit -v D:/fluent-bit:/fluent-bit/etc cr.fluentbit.io/fluent/fluent-bit
```


### By default fluent bit is configured to output to std out. So see docker log to see what fluent bit is logging.
```
docker logs fluent-bit
```
You'll see something like this
![docker logs output](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0fznc84ll4g1mo1jx4o1.png)


### Now to make sure that fluent bit is indeed taking configs from our folder. Go to the designated folder and open the fluent-bit.conf folder

### Look for this string
```
tag cpu.local
```

### Change it to this
```
tag CPU_LOCAL
```

### Save the file and restart the container
```
docker restart fluent-bit
```

### Now look at docker logs
```
docker logs fluent-bit
```
Notice that the logs are different.
![Config change worked](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ffoq2qx8pdyl9w3wx6w3.png)


## References
1. [https://github.com/minhaz1217/devops-notes/tree/master/65.%20setting%20up%20fluent%20bit%20with%20docker](https://github.com/minhaz1217/devops-notes/tree/master/65.%20setting%20up%20fluent%20bit%20with%20docker)
2. [https://docs.fluentbit.io/manual/installation/docker](https://docs.fluentbit.io/manual/installation/docker)
The easy way to get unique values in array of array Javascript
Tags: webdev, javascript, programming, beginners
Published: 2023-12-30 00:30:22

```js
const catsData = [
    {
        emotionTags: ["moody"],
        isGif: false,
        image: "angry.jpeg",
        alt: "A cat looking moody",
    },
    {
        emotionTags: ["moody", "insomniac"],
        isGif: false,
        image: "angry2.jpeg",
        alt: "A cat looking moody",
    },
    ...........]
```
Today I learn an easy method to get unique values in array of array. The `catsData` above show there is an array of object and i want to get the `object.emotionTags` data.

```js
function getEmotionsArray(cats){
    const emotionsArray = [];
    for (let cat of cats) {
       emotionsArray.push(cat.emotionTags)
    }
    let flattenArr = emotionsArray.flat()
    return [...new Set(flattenArr)]
}
```
<u>I setup `getEmotionsArray(cats) function`</u>

- I set and empty array `emotionsArray`.

- I use `for of` method to loop thru the cats data and then push `emotionTags` array into `emotionsArray`.

```js
[["moody"], ["moody", "insomniac"], ["moody"], ["confused", "sad"],.....]
```

- The `emotionsArray` will have array of array.

```js
["moody", "moody", "insomniac", "moody", "confused", "sad",...]
```

- Then I use `Array.prototype.flat()` method to flatten `emotionsArray`.

```js
["moody", "insomniac", "confused", "sad", "dominant", "happy", "relaxed", "hungry", "scared"]
```

- To get the unique values in the array simply use `[...new Set(flattenArr)]`.

Eat, sleep, code, repeat!
Andrew Tan
From Concept to Creation: My Story Behind Snoozle
Tags: ai, mobiledevelopment, fullstack, nextjs
Published: 2023-12-30 00:20:09

As a tech enthusiast and storyteller at heart, I've always been fascinated by the intersection of technology and creativity. This fascination led me to create "Snoozle," an AI-powered app designed to generate personalized bedtime stories for children. Here's my story of how Snoozle came to life.

#### **The Spark of Inspiration**

The idea for Snoozle struck me one evening while reading a bedtime story to my niece. I realized how much children love stories and how these narratives spark their imagination. However, I also noticed the challenge of keeping the stories fresh and engaging night after night. This moment of realization was the genesis of Snoozle.

#### **Conceptualizing Snoozle**

I envisioned an app that wasn't just a static collection of stories but a dynamic platform that could create new, personalized stories effortlessly. I wanted to build something that would not only entertain but also stimulate the creative minds of children.

![Snoozle App Demo](https://cdn.designly.biz/blog_files/from-concept-to-creation-my-story-behind-snoozle/image1.jpg)

#### **Embracing the Power of AI**

Knowing the potential of AI in content creation, I started exploring how it could be leveraged to write stories. After much research and development, I integrated AI algorithms capable of constructing narratives based on user inputs. Users could build stories, define contexts, and create reusable characters – all of which would be seamlessly woven into a story by the AI.

#### **Integrating Amazon Polly for Voice Narration**

I believed that voice narration would add an extra layer of magic to the stories. That's why I integrated Amazon Polly, a service that turns text into lifelike speech. This feature meant that not only would children have unique stories every night, but they would also be narrated in a captivating, human-like voice.

#### **Designing for Simplicity**

I was determined to make Snoozle accessible and easy to use for everyone, regardless of their tech skills. The user interface was designed to be intuitive, ensuring that story creation was just a few clicks away.

#### **Making Snoozle Free for Everyone**

I strongly felt that Snoozle should be accessible to every child, parent, or guardian. This belief led me to the decision of making Snoozle completely free to sign up and use. I wanted to ensure that the joy of storytelling could reach as many children as possible, without any barriers.

#### **The Launch and Beyond**

Launching Snoozle was a moment of pride and joy. Seeing my vision come to life and being used by people around the world has been an incredibly fulfilling experience. The feedback from users has been overwhelmingly positive, and it's heartwarming to hear about the joy and excitement Snoozle brings to bedtime routines.

Go ahead, sign up now with one-click Google signup and try it out! Please leave comments and suggestions!

[Snoozle.io](https://snoozle.io)
Babylon.js Browser MMO - DevLog #3 - Logging out
Tags: gamedev, babylonjs, mmo, indie
Published: 2023-12-30 00:13:50

Hello,
Welcome everyone in the third episode of my devlog MMORPG from scratch.
Since last time I added possibility to logout from the game along with auto logging out after some connections problems.

What was changed?:

- logout button
- new logout endpoint
- added auto logout after 10s without ping call from the client

{% youtube 3VZnvjDnRsI  %}
Simplify Life: Your Life-hack Playbook?
Tags: discuss
Published: 2023-12-30 00:00:00

---
published_at : 2023-12-30 00:00 +0000
---
Life can be complex, but simplifying is an art. What's your life-hack playbook for simplifying aspects that tend to be unnecessarily complicated? Share your tips!
<br>
Follow the DEVteam for more discussions and online camaraderie!
{% embed https://dev.to/devteam %}
How Do You Keep Your Productivity Killers at Bay?
Tags: codenewbie, beginner, discuss
Published: 2023-12-30 00:00:00

---
published_at : 2023-12-30 00:00 +0000
---
Identifying and crushing productivity killers is a skill. How do you overcome habits that impede your productivity? Share your tried-and-true tips!
<br>
Follow the DEVteam for more discussions and online camaraderie!
{% embed https://dev.to/devteam %}