teleren/devto huggingface dataset:
A Simple Instagram Tracking Script Written in Python
Tags: python, opensource, security, cybersecurity
Published: 2024-07-05 01:56:17

![proof of concept](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tittxxd7sbe73yq44sk1.png)
```
python3 main.py -h
usage: Instagram Tracker [-h] -u USERNAME

📸 an Instagram tracker that logs any changes to an Instagram account
(followers, following, posts, and bio)

options:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        The username of the account to track

🤝 Contribute: https://github.com/ibnaleem/instatracker
```
> You must login to *your* Instagram account in order to properly scrape someone else's Instagram account. This is due to Instagram blocking `HTTPS GET` requests from unauthenticated cookies. Your login information is never stored. See more [here](https://github.com/ibnaleem/instatracker/blob/main/main.py#L51C1-L56C136) and [here](https://github.com/instaloader/instaloader/blob/master/instaloader/instaloadercontext.py#L253C1-L338C43).


> You can always create/use an alt-account for the login.

## Installation
> [Install Python if you don't have it already](https://www.python.org/downloads/)


### Clone this repository:
```
$ git clone https://github.com/ibnaleem/instatracker.git
```
### Install dependencies:
```
$ pip install -r requirements.txt
```
### Set `user` & `passwd` field on [line 56](https://github.com/ibnaleem/instatracker/blob/main/main.py#L56)
```python
self.bot.login(user="YOUR INSTAGRAM USERNAME", passwd="YOUR INSTAGRAM PASSWORD") # this allows us to access & scrape Instagram.
```
### Run the script
```
$ python3 main.py -u USERNAME
```
## Automated Logging
[InstaTracker](https://github.com/ibnaleem/instatracker) not only displays all modifications an Instagram account makes directly to the terminal (e.g., *USERNAME has unfollowed 1 person*), but it also records these changes in a text file, including the date and time.
```
------2024-06-30 01:01:13.659694+00:00------
johndoe has 100
johndoe is following 100 people
johndoe has 0 posts
johndoe has the following bio: this is my biography
------2024-06-31 02:03:15.761715+00:00------
johndoe has lost 2 followers (100 followers --> 98 followers)
------2024-06-31 05:03:15.761715+00:00------
johndoe has gained 5 followers (98 followers --> 103 followers)
...
```
This script checks for any changes every 5 minutes because Instagram's firewall starts blocking requests that are sent too quickly. You can manually update this [here](https://github.com/ibnaleem/instatracker/blob/main/main.py#L70), but do not be surprised if the script stops working.

## Built With
- [Python](https://www.python.org/)
- [Instaloader](https://github.com/instaloader/instaloader)
- [Rich](https://github.com/Textualize/rich)

## LICENSE
This repository is under the [MIT License](https://github.com/ibnaleem/instatracker/blob/main/LICENSE)

## Created By
[Ibn Aleem](https://www.linkedin.com/in/shaffan-aleem-b7a852255/)
WEB BAILIFF CONTRACTORS LEGIT PHONE HACKER
Published: 2024-07-05 01:52:57


I suspected my wife of 5 years of cheating on me and it turned out she was seeing her high school lover even though we have 2 little children. I hopped on the internet to look for a phone hacker so that I could confirm my fears when I came across Web Bailiff Contractors who has hundreds of reviews as legit phone hackers. I gave them her info and they got back to me me in about 4 hours. You can just search them on google and head on to their website where you can communicate via the chat feature or the contact details displayed.I suspected my wife of 5 years of cheating on me and it turned out she was seeing her high school lover even though we have 2 little children. I hopped on the internet to look for a phone hacker so that I could confirm my fears when I came across Web Bailiff Contractors who has hundreds of reviews as legit phone hackers. I gave them her info and they got back to me me in about 4 hours. You can just search them on google and head on to their website where you can communicate via the chat feature or the contact details displayed
How to store password in Database
Tags: systemdesign, javascript, systemdesignwithzeeshanali
Published: 2024-07-05 01:37:00

Storing passwords securely in a database is critical for maintaining the integrity and security of a system. Here are key methods and best practices for password storage in terms of system design:

### 1. **Use Strong Hashing Algorithms**
   - **Hashing**: Store the hashed version of the password instead of the plaintext password. Use strong, cryptographic hashing algorithms like:
     - **bcrypt**: Designed specifically for hashing passwords and includes a salt automatically.
     - **Argon2**: The winner of the Password Hashing Competition (PHC), designed to resist GPU cracking.
     - **PBKDF2**: Uses a pseudorandom function (such as HMAC) and is configurable to be slow.
   
### 2. **Salting Passwords**

- **Salting**: Add a unique, random salt to each password before hashing to prevent rainbow table attacks.

   - Ensure each password is concatenated with a unique, random string (salt) before hashing. Store the salt in the database alongside the hashed password.

### 3. **Pepper**
   - **Peppering**: Add a static secret value (pepper) to all passwords before hashing. The pepper should be kept secret and stored separately from the database, often in application code or environment variables.

### Key Outcomes

   - Choose hashing algorithms that are intentionally slow (like bcrypt, Argon2, or PBKDF2) to make brute-force attacks more difficult.

   - Use techniques like PBKDF2, bcrypt, or Argon2, which internally apply the hashing function multiple times to increase computation time.

   - Store salts in the same database table as the hashed passwords. Salts do not need to be secret but should be unique per password.

   - Ensure your database and application environment are secure:
     Use HTTPS for data transmission.
     Apply database access controls and encryption.
     Regularly update and patch systems to fix vulnerabilities.

   - Conduct regular security audits and code reviews to ensure password storage and handling follow best practices.

### Conclusion

Implementing these methods ensures that even if an attacker gains access to the database, the passwords remain protected. Proper hashing, salting, and environment security practices are fundamental to secure password storage in system design.



More Details:

Get all articles related to system design 
Hastag: SystemDesignWithZeeshanAli

Git: https://github.com/ZeeshanAli-0704/SystemDesignWithZeeshanAli
What is the difference between SDK, JDK, OpenJDK, JRE, JVM, java compiler in java platform ?
Tags: java, jvm, javac
Published: 2024-07-05 01:19:57

[What is the difference between SDK, JDK, OpenJDK, JRE, JVM, java compiler in java platform ?
](https://grenierdudev.com/posts/what-is-the-difference-between-sdk-jdk-openjdk-jre-jvm-java-compiler-in-java-platform-2d42e37)
What is Wasm or WebAssembly ? Learn WebAssembly Basics with Rust Part C
Tags: webassembly, rust, cpp, javascript
Published: 2024-07-05 01:16:15

[What is Wasm or WebAssembly ? Learn WebAssembly Basics with Rust Part C](https://grenierdudev.com/posts/what-is-wasm-or-webassembly-learn-webassembly-basics-with-rust-part-c-1009bf7)
What is Wasm or WebAssembly ? Learn WebAssembly Basics with Rust Part B
Tags: webassembly, rust, cpp, javascript
Published: 2024-07-05 01:15:14

[What is Wasm or WebAssembly ? Learn WebAssembly Basics with Rust Part B](https://grenierdudev.com/posts/what-is-wasm-or-webassembly-learn-webassembly-basics-with-rust-part-b-17cfc10)
What is Wasm or WebAssembly ? Learn WebAssembly Basics with Rust Part A
Tags: webassembly, rust, cpp, javascript
Published: 2024-07-05 01:14:02

[What is Wasm or WebAssembly ? Learn WebAssembly Basics with Rust Part A](https://grenierdudev.com/posts/what-is-wasm-or-webassembly-learn-webassembly-basics-with-rust-part-a-26ea079)
Can't Miss: Sniping the Best 4th of July Deals for Developers on Amazon
Tags: news, devtoys, developer
Published: 2024-07-05 00:35:09

As developers, we know how important it is to stay ahead of the game, especially when it comes to snagging the best tech deals. This 4th of July, Amazon is offering some unmissable lightning deals on a range of products perfect for enhancing your workspace and boosting your productivity. Check out these curated blog posts to find the top deals on mini computers, monitors, laptops, and accessories. Act fast—these deals are as hot as the summer sun and won’t last long!


![mini pcs](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i8m1chqbmw1vj2n5smd8.png)
## [1. **Unmissable 4th of July Mini PC Lightning Deals on Amazon**](https://devtoys.io/2024/07/04/unmissable-4th-of-july-mini-pc-lightning-deals-on-amazon/)

Upgrade your setup with these incredible deals on mini computers. Perfect for creating a powerful, space-saving workstation.
[⚡Read more](https://devtoys.io/2024/07/04/unmissable-4th-of-july-mini-pc-lightning-deals-on-amazon/)

---


![laptops](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6janxxzq3miqwt36b4w5.png)
## [2. **Incredible 4th of July Laptop Lightning Deals on Amazon**](https://devtoys.io/2024/07/04/incredible-4th-of-july-laptop-lightning-deals-on-amazon/)

Discover amazing discounts on high-performance laptops that are ideal for coding, gaming, or everyday use.
[⚡Read more](https://devtoys.io/2024/07/04/incredible-4th-of-july-laptop-lightning-deals-on-amazon/)

---


![accessories](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e8yv5ktl3bjm7i1vt44m.png)
## [3. **Hot 4th of July Accessory Deals You Can't Miss on Amazon**](https://devtoys.io/2024/07/04/hot-4th-of-july-accessory-deals-you-cant-miss-on-amazon/)

From SSDs to gaming headsets, find the best deals on peripherals and accessories to complete your tech arsenal.
[⚡Read more](https://devtoys.io/2024/07/04/hot-4th-of-july-accessory-deals-you-cant-miss-on-amazon/)

---


![monitors](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rquzzfnfp2y2xe2jx21s.png)
## [4. **Unbeatable 4th of July Lightning Deals on Amazon for Monitors**](https://devtoys.io/2024/07/04/unbeatable-4th-of-july-lightning-deals-on-amazon-for-monitors/)

Elevate your visual experience with top-rated monitors available at unbeatable prices. Perfect for coding, gaming, and entertainment.
[⚡Read more](https://devtoys.io/2024/07/04/unbeatable-4th-of-july-lightning-deals-on-amazon-for-monitors/)

---

Stay tuned and act quickly to make the most of these fantastic deals. Sniping these offers will ensure you have the best gear to enhance your development workflow and enjoy the ultimate tech experience this summer. Don't miss out—grab these deals before they’re gone!
GitLab Pipelines: Streamlining Continuous Integration and Continuous Deployment
Published: 2024-07-05 00:23:32

**Introduction**
In the modern software development landscape, continuous integration (CI) and continuous deployment (CD) have become essential practices for maintaining code quality and delivering updates efficiently. GitLab Pipelines, a feature of GitLab CI/CD, offers a powerful and flexible solution for automating these processes. In this article, we will explore the capabilities of GitLab Pipelines.

## What are GitLab Pipelines?
GitLab Pipelines are automated workflows defined in a file called `.gitlab-ci.yml` located in the root of a GitLab repository. These pipelines consist of one or more stages, each containing jobs that can run sequentially or in parallel. The primary goal of GitLab Pipelines is to automate the testing, building, and deployment of applications, ensuring that each change to the codebase is verified and ready for production.

## Key Features of GitLab Pipelines
**1. Ease of Configuration:** The `.gitlab-ci.yml` file is straightforward to configure, allowing developers to define stages, jobs, and conditions for their execution.

**2. Scalability:** GitLab Pipelines can handle large and complex workflows, making them suitable for projects of any size.

**3. Integration:** Seamlessly integrates with other GitLab features, such as GitLab Runner, GitLab Registry, and third-party services.

**4. Parallel Execution:** Jobs within a stage can run concurrently, reducing the overall time required for pipeline completion.

**5. Custom Runners:** Supports custom GitLab Runners, enabling flexible and scalable execution environments.

## Example GitLab Pipeline Configuration

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


**Explanation**
**Stages:** The pipeline is divided into three stages: build, test, and deploy.
**Variables:** Environment variables can be defined globally.
**Cache:** The node_modules directory is cached to speed up subsequent pipeline runs.
**before_script:** Commands that run before each job, in this case, npm install to install dependencies.
**Jobs:** Each stage has a corresponding job with specific scripts to execute. The deploy job runs only when changes are pushed to the master branch.

**Conclusion**
GitLab Pipelines offer a robust and versatile solution for implementing CI/CD in any software development project. By automating the build, test, and deployment processes, they help ensure code quality and accelerate the delivery of new features. With its ease of configuration, scalability, and integration capabilities, GitLab Pipelines stand out as a top choice for development teams aiming to streamline their workflows and enhance productivity.
Profiling Node.js apps with Chrome DevTools profiler
Tags: node, chromedevtools, profiling
Published: 2024-07-05 00:22:44

---
title: Profiling Node.js apps with Chrome DevTools profiler
published: true
tags: ['node', 'chromedevtools', 'profiling']
canonical_url: https://sevic.dev/notes/profiling-nodejs-chrome-devtools-profiler/
---

Profiling refers to analyzing and measuring an application's performance characteristics.

Profiling helps identify performance bottlenecks in a Node.js app, such as CPU-intensive tasks like cryptographic operations, image processing, or complex calculations.

This post covers running a profiler for various Node.js apps in Chrome DevTools.

### Prerequisites

- Google Chrome installed

- Node.js app bootstrapped

### Setup

- Run `node --inspect app.js` to start the debugger.

- Open `chrome://inspect`, click `Open dedicated DevTools for Node` and then navigate to the Performance tab. Start recording.

- Run load testing via [autocannon](https://www.npmjs.com/package/autocannon) package using the following command format `npx autocannon <COMMAND>`.

- Stop recording in Chrome DevTools.

### Profiling

On `Perfomance` tab in Chrome DevTools open `Bottom-Up` subtab to identify which functions consume the most time.

Look for potential performance bottlenecks, such as synchronous functions for hashing (`pbkdf2Sync`) or file system operations (`readFileSync`).
Need help with a project
Tags: android, beginners, learning
Published: 2024-07-05 00:12:19

Hi everyone. I am seeking some help on a project that will hopefully in time save my relationship as well as give me a piece of mind to help keep me sane. My partner and I are a gay couple, and we like to have fun from time to time, when we do our thing we use a website, that in turn has a lot of different aspects to it. My need here is, I need a way to potentially monitor his activity through the website, the catch is, you don't have to have a registered profile, in fact most profiles are anon on there, so instead of monitoring his account, I think monitoring the area would be more reasonable, but only receive notification when certain triggers are met. If that makes any sense.... Please someone help me, I dearly love my fiance, but this website is going to ruin our relationship and id rather know them look dumb and clueless if something is going on
I have Built E-commerce Website for my Client
Tags: wordpress, webdev, css
Published: 2024-07-05 00:04:35

```

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2tmlve3ky337kgllkhht.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vc8llnwpndrbr22u96p8.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ui7w3p73un7sstpj72e.jpg)
```
SnippetEase - Free Code Snippet Generator
Published: 2024-07-04 23:56:51


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

Are you a tech content writer wanting to share your code on your website in a fancy way? Are you bored of the default code snippet style that your theme is forcing you to use? We found a solution for you, and it is totally free.

Introducing [SnippetEase](https://devtool.site/), a free code snippet generator that transforms the way you share code on your blog. With SnippetEase, you can present your code elegantly and professionally, making it easier for your readers to understand and appreciate your work. The best part? It works seamlessly on both Blogger and WordPress, or any website that supports custom HTML.

Key Features of SnippetEase:

- Customizable Design: Tailor the look of your code snippets to match your blog's aesthetic.
- Easy Integration: Simple to use and integrate, even if you're not a coding expert.
- Multi-Platform Compatibility: Perfect for Blogger, WordPress, and any site that supports custom HTML.
- Free to Use: Enjoy all these features without spending a dime.

How to use SnippetEase on Wordpress:

First, type or paste your code on SnippetEase, choose your language and your theme, then see in the preview section if you like it or not. After getting the results you desire, click on "Generate and Copy Styled HTML", this will automatically copy a html code that represents your code snippet.
Now, go to Wordpress, create a post, and for the block, select "Custom HTML" and paste the HTML code in that block.
Congratulations, you will now have something like this:

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

Check out [our Mechatronics Blog](https://munjitso.engineer/) to learn more and to support us.

Say goodbye to bland, default code snippets and hello to a more engaging and visually appealing way to share your knowledge. Try [SnippetEase](https://devtool.site/) today and enhance your tech content like never before!
Deploy a Java application using Spring Boot on Google Cloud
Published: 2024-07-04 23:15:33

Google Cloud offers many other features that you can configure, such as databases, storage, monitoring, and more.

Use Google App Engine, which is a serverless platform that makes it easy to deploy and automatically scale applications. Next, I'll show you how to do it.


Step 1: Set up your environment
1. Install Google Cloud SDK: If you don't have it installed yet, follow the instructions here.

2. Initialize Google Cloud SDK: Set up your Google Cloud environment by running:

**gcloud init**


3. Install the App Engine plugin:

gcloud components install app-engine-java

Step 2: Create a Spring Boot Application

1. Create a Spring Boot project:

**o Project: Maven Project
o Language: Java
o Spring Boot: 2.5.x
o Project Metadata: Enter the name of your group, artifact, and other details.
o Dependencies: Add Spring Web.**


Then, build the project and download the ZIP file. Unzip the file on your machine.

2. Create the Spring Boot application: Open your project in your favorite IDE

3. Create a simple controller: In the directory

src/main/java/com/example/demo (adjust according to your structure), create a file called HelloController.java with the following content:

package com.example.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/")
    public String hello() {
        return "Hello, World!";
    }
}

4. Make sure the application runs: Run your application with the mvn spring-boot:run command and verify that you can access http://localhost:8080 and see the "Hello, World!" message

Step 3: Prepare your app for App Engine

1. Create the app.yaml file: In the root directory of your project, create a file called app.yaml with the following content:
**runtime: java11
instance_class: F1**

This file tells App Engine to use the Java 11 runtime.

2. Package your application: Build your application to generate the executable JAR file. Use the Java 11 runtime environment.

**mvn clean package**


Step 4: Deploy the app to Google App Engine

1.Deploy the application:

**gcloud app deploy target/demo-0.0.1-SNAPSHOT.jar**

Follow the instructions and confirm the deployment when prompted.

2.Abrir la aplicación:

**gcloud app browse**

Tu aplicación Spring Boot ahora debería estar desplegada en Google App Engine. Puedes actualizar el código y redeployar usando el mismo comando gcloud app deploy.
Deploying a Node.js Application on AWS Elastic Beastalk
Published: 2024-07-04 22:41:48

Deploying applications to AWS Elastic Beanstalk is straightforward and ideal for quickly deploying Node.js applications without managing infrastructure.
We'll deploy a basic Node.js application using Express.js to AWS Elastic Beanstalk.

Example Application

**Setup Your Project**

```
mkdir nodejs-app
cd nodejs-app
npm init -y

```
**Install Dependencies**
```
npm install express

```
**Create The Application**

```
const express = require('express');
const app = express();

app.get('/', (req, res) => {
  res.send('Welcome to AWS Elastic Beanstalk Deployment!');
});

const port = process.env.PORT || 3000;
app.listen(port, () => {
  console.log(`Server running on port ${port}`);
});

```

**Create .ebextensions Directory**

```
option_settings:
  aws:elasticbeanstalk:container:nodejs:
    NodeCommand: "app.js"
```

**Deploy to AWS Elastic Beanstalk**

1. Sign in to AWS Management Console and navigate to Elastic Beanstalk.
2. Create a new application and environment, selecting Node.js platform.
3. Upload your application code (including app.js, package.json, and node_modules if necessary).
4. Deploy your application.

**Access Your Application**
Once deployed, Elastic Beanstalk will provide you with a URL to access your application (http://app-name.elasticbeanstalk.com).