teleren/devto huggingface dataset:
How my operating system helps me be productive at work and studies.
Published: 2023-12-23 17:23:00

Hello! How are you?

Today I come to share my experience about my studies and work activity.

My work as a programmer is challenging when it comes to creating effective solutions, constantly looking for hypotheses that can be tested until the problem is satisfied; hence it is said that programmers study every day. There is also the career factor, I don't intend to do what I do forever. Well, I don't intend to be a programmer for the rest of my life, so studying areas related to programming is a focus for me and not only that, career transition is still a hypothesis.

**Based on this, how do I divide my attention between work and my personal ambitions?**

Personally, I'm not a very organized person when it comes to time. I often procrastinate or get lost in an activity and don't respect the calendar I designed myself, thus giving more attention to one activity over others.

Separating work life from personal life is very important. This importance is even reflected on my computer. And this is the focus of this text: I use two operating systems on my computer.
Splitting the PC in half is one of the most useful things I have done, since 2019 I have been partitioning the PC and have been successful in my activities.

https://zorin.com/os

For work and leisure, I use Zorin Os, a Linux distribution that offers me a lot of comfort, speed and productivity. In this partition (which, by the way, is the largest), I place work stuff, images, documents, programs, everything for work activity. It's a good Linux distro for programming. It's really for work and the small creations that I post on my github and linkedin.


https://www.microsoft.com/en-us/windows

For studies I use Windows. It's more boring, less fun, has little usability, decentralized (you can do anything), in other words, great for studying. Here you have my playlists of courses, subjects, PDFs, e-books and everything I need to study. I don't have the music I listen to constantly or movies. The focus is on studies.

**Pomodoro Technique**

The Pomodoro technique consists of setting aside 25 minutes to study uninterruptedly and then resting for 15 minutes. This cycle must be repeated several times, always giving the brain time to rest and assimilate the content that was studied.

A great technique! I apply it in my academic life, I get good results. Windows gives me that break, since my digital entertainment media isn't there. Like a good engineering student, 

I also spent hours on end studying, solving cases, understanding theorems. Finishing the university press, I can apply this technique and see the maxim behind it: it's not the intensity, but the consistency.

Grain by grain the chicken fills its crop.

**Conclusion**

Studying and working is not an easy task. I started working when I was in the 3rd year of university, I had to learn how to balance priorities from a very early age, studying in the morning with a 9-hour workload (from 9am to 5pm).

Choose a good time to study, focus on a subject, get rid of distractions and remember: it's not intensity but consistency.

Until next time
Default CSS for Img
Tags: css
Published: 2023-12-23 17:16:04

Default css for rendering image properly.

**max-width:100%**
(container size is smaller then image)
**hight:auto**
(maintain aspect ration)
**vertical-align:middle**
(image will not have empty space in bottom)
**front-style:italic**
(alt text)
**background-repeat:no repeat;**
**background-size : cover**
(low quality image)
**shape-margin: 0.5rem**
(margin)
Buy verified Paxful Account
Tags: webdev, javascript, programming, beginners
Published: 2023-12-23 17:06:56

Buy verified Paxful Account

➤E-mail: universalseosmm@gmail.com
➤WhatsApp: +1 315-355-7986
➤Telegram: Universalseosmm
➤Skype: universalseosmm

https://universalseosmm.com/product/buy-verified-paxful-account/
Guide to Validating Sign-In with Apple Tokens in Python
Tags: python, apple, jwt
Published: 2023-12-23 16:19:25

### Background
The integration of Sign In with Apple into applications has become increasingly popular due to its convenience and privacy-focused approach. However, navigating the token validation process and retrieving user information can be a complex task for developers. This article aims to demystify this process specifically for Python developers, offering a step-by-step guide on how to validate tokens obtained through Sign In with Apple and efficiently access user data within your application. By delving into the intricacies of token validation and user information retrieval, this comprehensive guide aims to equip developers with the knowledge and tools necessary to seamlessly implement and utilize Sign In with Apple functionality in their Python-based applications.

### Prerequisite
_This article is not focussing on how to get the value from Apple Developer page._
1. Client ID (client_id)
2. Client Secret (client_secret) - A JSON Web Token (JWT) generated by the developer

### Generate client secret
Generate a signed token to identify your client application. [2]

```python
key_id = None
team_id = None
client_id = None
private_key = None  # .p8 key file

headers = {"kid": key_id}
open_private_key = open(private_key)
private_key_data = open_private_key.read()


payload = {
    "iss": team_id,
    "iat": datetime.now(),
    "exp": datetime.now() + timedelta(days=180),
    "aud": "https://appleid.apple.com",
    "sub": client_id,
}

client_secret = jwt.encode(
    payload, private_key_data, algorithm="ES256", headers=headers
).decode("utf-8")
```


### Generate and validate tokens
Validate an authorization grant code originating from your frontend interface.

```python
headers = {"content-type": "application/x-www-form-urlencoded"}

data = {
    "client_id": client_id,
    "client_secret": client_secret,
    "code": id_token,
    "grant_type": "authorization_code",
}

res = requests.post(URL, data=data, headers=headers)
values = res.json()
```

Below is the response you'll get after success make request
```json
{
  "access_token": "adg61...67Or9",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "rca7...lABoQ",
  "id_token": "eyJra...96sZg"
}
```

1. **access_token**: token from frontend
2. **token_type**: type for OAuth 2.0 framework
3. **expires_in**: lifespan or validity duration of an access token
4. **refresh_token**: renews access without re-login
5. **id_token**: token to get the user details (next action)

### Get the user details
```python
decoded = jwt.decode(
                id_token,
                "",
                verify=False,
                options={"verify_signature": False},
                algorithms=["HS256"],
            )
```


### References
1. https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens
2. https://developer.apple.com/documentation/accountorganizationaldatasharing/creating-a-client-secret
What you learning about this weekend? 🧠
Tags: codenewbie, discuss, learning, beginners
Published: 2023-12-23 17:01:00

Hey my peeps 🙌

What's everybody learning about this weekend?

Whether you're sharpening your [JS](https://dev.to/t/javascript) skills, making PRs to [your OSS repo of choice](https://github.com/forem/forem) 😉, sprucing up your portfolio, or [writing a new post](https://dev.to/new) here on DEV, we'd like to hear about it.

Hope ya all have wonderful weekends and that your learning sesh goes well. Work that brain muscle! 🧠💪

![Ken Jeong dressed as a scientist kisses a plastic model brain and says "Thanks brain."](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/udgy50byoivxiouq8ub3.gif)
HOW I RECOVER MY STOLEN CRYPTO FROM FAKE PLATFORM__TECHNOCRAT RECOVERY
Tags: recover, stolen, bitcoin, usdt
Published: 2023-12-23 16:54:28

Imagine being eager to check your bitcoin wallet when you wake up one morning only to discover it is empty. Your valuable bitcoins had been taken by someone who had gotten past your security procedures. Bring on the rage and sense of betrayal. But worry not— Technocrat Recovery [technocratrecovery(@)contractor.net] is here to come to your rescue! Our second case study explores the role Technocrat Recovery played in helping to recover bitcoins that had been stolen. The implementation of Wizard online recovery necessitates careful record-keeping and documentation. Maintain a record of all the crucial data pertaining to your bitcoin transactions, including wallet addresses, transaction histories, and any pertinent correspondence. The healing process will run more smoothly and effectively as a result. As powerful as Technocrat Recovery is, it's important to acknowledge that not all recovery scenarios may be straightforward or easily solvable. Certain factors, such as the complexity of the case, the age of the transactions, or external factors beyond Technocrat Recovery's control, may pose challenges. In these cases, patience and open communication with the Technocrat Recovery team are crucial. Remember, even wizards stumble upon obstacles, but with determination and collaboration, a solution may still be within reach. As the world of cryptocurrencies continues to evolve, so do the methods and techniques used in bitcoin recovery. Emerging trends include the utilization of artificial intelligence and machine learning algorithms to increase the efficiency and accuracy of recovery processes. These technologies have the potential to revolutionize the speed and effectiveness of recovering lost or stolen bitcoins. Even a wizard as great as Technocrat Recovery is always able to do better. The Technocrat Recovery team is constantly trying to improve user experience, optimize recovery algorithms, and broaden the range of bitcoin scenarios that can be recovered. The role of Technocrat Recovery in efficient bitcoin recovery cannot be overstated. This advanced technology offers a reliable and effective solution for individuals and organizations grappling with the loss or theft of their valuable digital assets. Be sure to contact Technocrat Recovery through-[https://www.technocraterecovery.site]
Thank you.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p2p0kyw7lvkr5h0z3adh.jpeg)
HAVE YOU LOST YOUR FUNDS TO TRADING SCAM? - CONTACT DIGITAL WEB RECOVERY
Published: 2023-12-23 16:45:27

Phishing attacks are like Dementors in a world full of internet scammers, robbing unsuspecting victims of their lives. Nevertheless, Digital Web Recovery saved a client who was attacked in this manner. They were able to track down the stolen bitcoin and retrieve the money by using their tracking abilities together with a little bit of magical finesse. The hidden weapon of Digital Web Recovery is their capacity to conduct blockchain transactions as a legal investigation. They can follow the digital trail left by thieves by exploring the intricacies of the blockchain. By means of thorough analysis and proficient investigation, they can expose the network of deceit and locate the stolen bitcoin's original source. Technology magic is nothing new to these wizards. When an exchange is compromised, it can feel like the Gringotts vault doors have been thrown wide open. In one such case, Digital Web Recovery worked their magic to reclaim the funds that had been lost due to a security breach. Through their meticulous investigations and collaboration with the exchange, they managed to restore the stolen bitcoin to the rightful owners, turning a potential disaster into a triumph. Equipped with state-of-the-art instruments and software, they leverage data recovery's potential to uncover concealed details and retrieve misplaced bitcoin. When it comes to recovering money that appears to be lost in the digital void, their proficiency with these cutting-edge technology provides them an advantage. Digital Web Recovery collaborates together with regulatory organizations and law enforcement to bring justice to the world of bitcoin theft. They can guarantee that those responsible for the theft are held accountable and that the money that was taken is returned to its rightful owners by fusing their magic with the power of the law. Hurry now to save your coin before it gets too late. Contact Digital web recovery through: digitalwebrecovery(@)mail-me.com & Signal: +14033060588 Greetings.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hmfkej9a8ooduc154nte.jpg)
How to Track and Retrieve Your SHEIN Package Missing: A Step-by-Step Guide
Published: 2023-12-23 16:01:28

How to Track and Retrieve Your [SHEIN Package Missing](https://www.setupyouraccounts.com/shein-missing-package-refund/): A Step-by-Step Guide
If you have a SHEIN package missing, it can be frustrating, but there are steps you can take to track and retrieve it. Follow this step-by-step guide:

1. Check your tracking information: Start by checking the tracking information provided by SHEIN. You can find this information in the order confirmation email or by logging into your SHEIN account and checking the order status.
2. Contact SHEIN customer support: If the estimated delivery date has passed, or you see any discrepancies in the tracking information, reach out to SHEIN's customer support.
3. Wait for a response: After contacting customer support, they may take some time to investigate the issue. Be patient and wait for their response.
4. Check with the carrier: If the tracking information indicates that the package was delivered, but you haven't received it, check with the carrier to confirm the delivery details.
5. Check your delivery address: Double-check the delivery address you provided to SHEIN. Ensure that it is accurate and complete. Sometimes, packages get misdelivered due to address errors.
 
Remember that the steps and policies may vary depending on your location and the shipping carrier used. Always keep track of your order's tracking information and stay in touch with SHEIN's customer support for the most up-to-date information on your missing package.
Use proxychains in WSL
Published: 2023-12-23 15:49:32

---
title: Use proxychains in WSL
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-07-22 03:14 +0000
---

A WSL distro changes its IP and gateway address every time it restarts, so using proxychains would be a painful experience because the proxychains config file can not use domain names. The proxy runs on the host, forwarding traffic to a remote server.

So a script to dynamically generate proxychains config file would be helpful.

{% embed https://gist.github.com/socrateslee/63c0d86effcca91b0fcb300375129d5a %}
The Twelve-Factor App: Config
Tags: learning, writing, architecture, devjournal
Published: 2023-12-23 15:41:29

### Keep your configs for each environment

---

The app's configuration is everything that may vary between environments. This includes:

* System resources like databases, Memcached, and backing services;
* Credentials for external services such as Amazon S3 or Twitter;
* Environment-specific values such as the hostname.

The Twelve-Factor methodology strongly advocates for
separating configuration from the code. This is primarily
because configuration values may differ between environments
while the code remains constant. A useful way to determine if
configurations are properly extracted from the code is by
considering the scenario of making the codebase open source.
If the credentials need to be managed, the configurations
might be compromised.

Another approach involves using configuration files not
included in the version control system, such as
'config/database.yml' in Rails. While this is a significant
improvement, it is not recommended because there's a risk of
accidentally pushing these files. Additionally, configuration
files often scatter across different locations, making
maintenance challenging. Moreover, these config files tend to
be specific to a particular language or framework.

Another practice to avoid is grouping configurations into
environment-specific sets. Apps tend to categorize
configurations into named groups for different environments.
However, this method doesn't scale well. As the project
expands, developers might introduce their own custom
environments, leading to an explosion of configurations that
complicate deployment management.

**The Twelve-Factor methodology suggests storing
configurations in environment variables.** Environment
variables are easy to modify between deployments without
requiring changes to the code. They compel setting up
independent configurations for each deployment environment,
minimizing the chance of accidental check in the codebase
repository. They don't aggregate into 'environments' groups,
they are language- and OS-agnostic standards and provide a
scalable model as the app naturally expands to more
deployments.

_This Twelve-Factor App post series is a means for me to consolidate the knowledge I've gained while studying these rules. Please feel free to visit [the site (https://12factor.net/) for more detailed explanations. That's all folks!_
C# - Function Pointers for High-Performance Scenarios
Tags: csharp, programming, tutorial
Published: 2023-12-23 15:30:00

C# 9.0 introduced function pointers as a new feature, offering a way to work with pointers to functions in a manner similar to C and C++. This is particularly useful in performance-critical applications where you need to avoid the overhead associated with delegates, such as interop scenarios or low-level system programming.

Here’s how to use function pointers in C#:

1. **Declare Function Pointers:**
   Use the `delegate*` syntax to declare a function pointer. You can specify the calling convention and the parameter and return types.

2. **Use in High-Performance Code:**
   Function pointers can be used in places where delegates would traditionally be used, but where the overhead of a delegate is undesirable.

Example:

```csharp
using System;
using System.Runtime.InteropServices;

class Program
{
    // Declaring a function pointer type
    static unsafe delegate*<int, int, int> addPtr;

    static void Main()
    {
        unsafe
        {
            // Assigning a method to the function pointer
            addPtr = &Add;
            int result = addPtr(3, 5);
            Console.WriteLine($"Result: {result}");
        }
    }

    // Method compatible with the function pointer
    static int Add(int x, int y)
    {
        return x + y;
    }
}
```

In this example, `addPtr` is a function pointer that points to the `Add` method. This setup avoids the overhead of delegates, which can be beneficial in certain high-performance scenarios.

Function pointers in C# are an advanced feature and should be used with caution, as they introduce unsafe code into your application. They are best suited for scenarios where performance is critical and where the developer has a good understanding of pointers and low-level programming concepts.
Zelte Pfortner
Published: 2023-12-23 15:10:43

Der beste Zeltverleih im Raum Köln Bonn. Ob Festzelt, Pagodenzelt oder hochwertiges Messezelt, von Köln bis Olpe und von Düsseldorf bis Bonn und darüber hinaus versorgen wir Sie deutschlandweit mit Eventzelten in vielen verschiedenen Größen.

[zelt mieten hochzeit](https://www.zelte-pfoertner.de/zelt-mieten-hochzeit-in-koeln/)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7jbmsgzfrqh5o4spo0rd.jpg)
Cloud Computing by Categories
Tags: cloudcomputing, aws, azure, googlecloud
Published: 2023-12-23 15:00:53

Here is a list of the types of cloud computing services and the name of the product according to the companies AWS, Azure and Google.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9cwsjy5g4akgl5dq9cni.gif)
Vivaldi 6.5 Browser - neu: auf Desktop & iOS veröffentlicht
Published: 2023-12-23 14:23:31



Vivaldi 6.5 Browser - neu: auf Desktop & iOS veröffentlicht
Vivaldi 6.5 auf Desktop und iOS veröffentlicht
 
Es ist unsere letzte Veröffentlichung in diesem Jahr! Heute wurde Vivaldi 6.5 auf Desktop und iOS veröffentlicht. 🥳 Und es gibt einiges zu entfalten!

Beginnend mit der Desktop-Version: https://vivaldi.com/

Wir haben eine der am häufigsten nachgefragten Funktionen hinzugefügt – das Sitzungsfenster. Es ermöglicht nicht nur die Anzeige Ihrer gespeicherten Sitzungen. 
ihr könnt auch deren Inhalte anzeigen und bearbeiten! 

Aber das ist noch nicht alles – wir haben auch eine automatische Backup-Funktion eingebaut.

ihr müsst euch keine Sorgen mehr machen, dass ihr versehentlich die falschen Tabs schließt
ihr könnt jetzt den gesamten Browserverlauf synchronisieren. Etwas, wonach viele gefragt haben. Und wie immer ist es dank Ende-zu-Ende-Verschlüsselung privat und sicher. 

mehr infos hier:  https://vivaldi.com/

It's our final release this year! Today, Vivaldi 6.5 has launched on Desktop and iOS. And there's a lot to unfold!

Starting with the Desktop version:

We've added one of the most requested features - the Sessions Panel. It not only allows viewing your Saved Sessions. You can also view and edit their content! 
But that's not all - we have also included an automatic backup feature. You no longer need to worry about accidentally closing the wrong tabs. 

You can now Sync your full browsing history. Something a lot of you have asked for. And as always, it's private and secure thanks to end-to-end encryption. 
Easily access and find your Synced Tabs from the Address Bar and Windows Panel. 
Workspaces have also received a handy improvement - Workspace Rules. They sort the tabs automatically for you by moving specific websites 
into designated Workspaces, helping you keep your Tabs well organized. 

The newly added "Append to Note" command will let you add any selected text to your existing note. You no longer have to copy & paste or create multiple notes while researching one topic. 

As usual, we've fixed some bugs and added other improvements here and there.