teleren/devto huggingface dataset:
Free Carrier Auto-detection API - PHP Demo
Tags: php, beginners, programming, tutorial
Published: 2021-11-10 05:37:12

You can submit the courier tracking number through this API to determine the carrier ID to which the tracking number may belong. The returned data is a list of possible carrier IDs, and the carrier ID with high possibility ranks first.

**Reminder:** The tracking number of each carrier is constantly changing, and there is no standardized rule for tracking number naming. We cannot guarantee that the returned result is 100 percent accurate. Our existing mechanism uses our accumulated data to analyze each carrier’s tracking number naming rule and update the rules daily.

We will not provide legal commitments on the accuracy and validity of the returned result. If you provide this service to your users, it is recommended that you should use the following reminders when giving the tracking result to your users:

- Add a description such as "Possible Results" or "Possible Results Powered by KeyDelivery" or "This Result Is for Reference Only."

- The user can manually modify the carrier.

Source: [API Doc](https://www.kd100.com/docs/carrier-auto-detection)
```php
<?php

	$url = 'https://www.kd100.com/api/v1/carriers/detect';
	$API_Key = ''; # You can find your ApiKey on https://app.kd100.com/api-managment
	$Secret = ''; # You can find your Secret on https://app.kd100.com/api-managment 

	$param = array(
		'tracking_number' => '285075106552'
	);
	$data = json_encode($param);

	$signature = strtoupper(md5($data . $API_Key . $Secret));

	$curl = curl_init();
	curl_setopt_array($curl, array(
		CURLOPT_URL => $url,
		CURLOPT_RETURNTRANSFER => true,
		CURLOPT_ENCODING => '',
		CURLOPT_MAXREDIRS => 10,
		CURLOPT_TIMEOUT => 0,
		CURLOPT_FOLLOWLOCATION => true,
		CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
		CURLOPT_CUSTOMREQUEST => 'POST',
		CURLOPT_POSTFIELDS => $data,
		CURLOPT_HTTPHEADER => array(
			'API-Key: ' . $API_Key,
			'signature: ' . $signature,
			'Content-Type: application/json'
		),
	));
	$response = curl_exec($curl);
	curl_close($curl);
	echo $response;
?>
```
FCC: Sobre Gustavo (Djonga)
Tags: beginners, css, html
Published: 2021-11-10 05:33:56

I am studying in platform Free Code Camp about Web Responsive Design, One of required for get my certificate is constructed 5 websites of different themes. In first website I choose to talk about of Rapper "Djonga", he's one of most popular and influencer in Brazil (and living in my city). In website, have your discography and create process.

{% codepen https://codepen.io/liuizn/pen/RwZJqoz %}
My first 'Code' PR in Hacktoberfest
Tags: hacktoberfest, nextjs, opensource
Published: 2021-11-10 05:11:31

I started getting into open source and learnt Git during Hacktoberfest 2020. Back then, I completed my PRs doing small contributions like listing out something in a README and making PRs to my own repo... 

This time, I really wanted to take it to the next level doing awesome PRs that actually got some code changes. As usual I was going through some repos and came across a [repo](https://github.com/akash-santhosh/tools) were we could add the names of tools that were useful to us... 
It was a NextJS site, and all tool names were hardcoded, which made it extremely difficult for beginners to contribute. Since all tags were same and only the data changed, I thought why not make the data in a separate file as a JS Object or JSON.

I initially opened an [issue](https://github.com/akash-santhosh/tools/issues/11) saying that and thought why not I try it myself😀. I was at first reluctant to start since I haven't used NextJS or even ReactJS before. Still I cloned the repo and started trying it out... And I was able to do it🤩 

I was so excited and opened a [PR](https://github.com/akash-santhosh/tools/pull/12) and to my surprise, it got merged... I couldn't say how happy I was🥳
![github ss](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tt5uylk0g8c42lhocsfa.png)
 
And now, because of the change in my commit, the way all others added data in the repo got much better... 

I was able to contribute even more to the repo after that...

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

Thanks a lot to Hacktoberfest for getting me into the world of Open Source🙏
Swiss-army knife for terminal
Tags: productivity, github, opensource, performance
Published: 2021-11-10 05:06:20

  ZI is an interactive, feature-rich and fast Zshell plugin manager plugin manager. that will allow you to install everything from GitHub and other sites.

  ZI provides Turbo mode which yields 50-80% faster Zsh startup (i.e.: the shell will start up to 5 times faster!). 

  ZI contains extensions that can install from so-called packages in GitHub repositories holding a `package.json` file with the ZI meta-data in them.It has multiple package-manager like features, such as:

 - Run Makefiles.
 - Automatically provide shims (i.e.: forwarder scripts) for the binaries.
 - Extend $PATH to expose the binaries, and more.


  In general, ZI has many hooks which allow surprising things.

  If you have an idea, question or just want to find out more, do not hesitate to reach out  at one of the following places:

- [GitHub Discussions](https://github.com/z-shell/zi/discussions)
- Contact options listed on [this GitHub profile](https://github.com/z-shell)

> New terminal users and contributors are welcome.

---

- [ZI Wiki Pages](https://z-shell.pages.dev)
- [Github](https://github.com/z-shell/zi)
Making it easier to contribute to Open Source
Tags: opensource, rust, vscode, osd600
Published: 2021-11-10 04:58:26

Hello everyone! So this week in my class we had to configure our static site generators to be easier to contribute to. This included adding a CONTRIBUTING.md file and also default format styles etc.

## STEP 1

The first thing I did was creating a rustfmt.toml file for default format styles. Rust makes it super easy so all I had was this file which is used via `cargo fmt`
```toml
max_width = 120
comment_width = 100
match_block_trailing_comma = true
```

## STEP 2

I also created a clippy.toml file however it is blank since the defaults for clippy are pretty sane already and I have no need to modify it. I still created the file however to signify that we do use `cargo clippy` to lint our files.

## Step 3

I then created a .vscode folder with a settings.json file that held only 1 line. Which is to format on save for vscode users. (I use neovim). Hopefully I did that correctly...
```json
{ "editor.formatOnSave": true }
```

## Step 4

I then finally bundled the information into the CONTRIBUTING.md file and linked it in my README.md. The commit can be found [here](https://github.com/Antonio-Bennett/rssg/commit/dab3db59)

## Final Thoughts

This lab made me really appreciate rust's first class support for in built tools to format and lint code easily. It is easily configurable and makes it easy for everyone to collaborate together hassle free.
Hackoween🎃- My first Hacktoberfest✨
Tags: hacktoberfest, opensource, github, programming
Published: 2021-11-10 04:36:33

<p><strong>Hello readers!</strong> I hope you all are doing good. I'm Preyash, a Computer Science enthusiast, I love programming and web development. Opensource is like the backbone of the dev community. We all help each other fixing and resolving each other's issues. I wasn't very much aware about opensource and I had no clue about Hacktoberfest. But this year one of my friends (he is @pranavviswanathan ), he asked me to take part in Hacktoberfest 2021. And while applying for it we thought that let's apply not only as a participant but also as an Event Organizer, we had plans to organize an event to make people aware about opensource and how they can contribute in it. We conducted our event named "Hackoween🎃", it was a guest lecture and we called our professor Dr Jananki Meena ma'am from VIT Chennai, she explained everything so well. We got amazing reponses from our attendees.</p> 
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0f9fc8fcgacpqkn8lseg.png">

You can checkout our website and recording of the session here: https://gitinto.netlify.app/

<p>For this hacktoberfest we also published a repository where people contributed, by the end of Hacktoberfest we managed to get <strong>221</strong> forks and <strong>35</strong> stars,  these numbers are not very huge, but for us it was an achievement and we are really proud of it. We managed to do everything from creating website for this event to making certificates for participants, gaining crowd everything in 4-5 days. This Hacktoberfest was the first one for me and really a special one and most importantly I learned a lot. Thanks to my teammates Pranav and Nihal, it was so 
fun working with you both.</p>
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gjlpbttcmifd6uc9eqgg.png">
Prueba del Sistema 
Tags: pruebadelsistema, controldecalidad, tiposdepruebas
Published: 2021-11-10 04:28:46


En un requerimineto que me han asignado, estoy desarrollando un nuevo flujo que involucra la creación de un ETL que lee un archivo que es alojado por el usuario, luego el proceso carga la data del archivo hacia una nueva tabla, ademas se realizan calculos que finalmente son insertados en columnas agregadas bajo este mismo entregable, se ha indicado que el proceso se ejecuta a demanda.

En lo que se refiere a las pruebas he tratado de realizar las siguiente pruebas:

Prueba de Función
1. Realizar validaciones en los calculos del nuevo flujo
2. Verificar que los cambios no hayan afectados a los procesos ya existentes


Prueba de Desempeño
1. Comprobar que los cambios no hayan impactado considerablemente 
 el tiempo de ejecución del proceso completo
2. Enviar una notificaciòn por correo indicando que el proceso ha finalizdo y que deben validar.


Pruebas de Aceptación
1. Que el usuario de por aprobado el nuevo flujo incluyendo los nuevos calculos 
2. Que el usuario pueda ver la información cargada en el sistema

Pruebas de Instalación
1. Enviar los script correspondientes para la implementación en producción
2. Realizar pruebas de grant para el correcto funcionamiento del proceso
State of my Cloud Journey: Nov 9, 2021
Tags: cloud, learning, careerchanger, jobsearch
Published: 2021-11-10 04:13:28

Bit of a rough week this week. It started out alright, but I ran into some frustrations near the end and ended up taking most of my weekend off for a mental reset. In fairness, I've been pushing hard recently, and had logged learning hours on 27 straight days, so I probably needed a little break. Since I'm not yet where I want to be, I have to remind myself that a little down time is alright.

#Learning Paths 📚 

_Docker_
I didn't really move forward with this course and get into Kubernetes this week (one of the things I am frustrated about). I set myself up to get started with this tomorrow, because I think this is the next big thing I need to learn.

_Algorithms_
This course threw me for a loop. In particular, I spent many hours banging my head against a particular bug when trying to code the Karatsuba multiplication algorithm in Python. I eventually found an alternative solution, but I don't think it's ideal for a couple reasons. I'm going to move on for now, but I want to revisit this at some point to see if I can get my original idea to work (it's not the mathematical implementation that went sideways, it has to do with the handling and splitting of strings in Python).

_Linux Upskill_
I made some progress with this, but it was a weird week at work (where I've been working on this in my down time) so I didn't get very far. I did get to review permissions and how to find things, as well as archiving and compressing files and directories (and the reverse, of course).

#Job Search 🔎

I almost maybe sort of have an interesting note or two here, but was unable to connect with a recruiter in the past couple days. Fingers crossed that I can before the next week is out - even though it's a long shot for me, I think this particular position would be a lot of fun.

_7 application, 0 interviews, 1 rejection_

#Wrap-up 🍩

A career change like this is a marathon, not a sprint. For me, it feels like an extra-long marathon. Likely that's because I don't have the luxury of spending 8+ hours a day learning, studying, working on projects and practicing skills. In the last 18 months, there have been a lot of really late nights leading to quite a bit of exhaustion and a few dashes of discouragement... but I'm not giving up. It'll pay off soon; I just have to find someone who will give me that first opportunity.

_Onward and upward!_
Understanding Ethereum Accounts | Externally Owned Accounts vs Contract Accounts
Tags: ethereum, blockchain, programming, webdev
Published: 2021-11-10 04:10:04

{% youtube HaIxmsj-YQU %}

In this tutorial, we will learn about Ethereum Accounts and their Properties. We will learn about different types of Ethereum Accounts and Learn to Create our own Ethereum Account using a very useful tool, known as Metamask.
sản xuất, in túi vải không dệt, túi vải bố, vải đay, dây rút chất lượng, giá rẻ
Published: 2021-11-10 03:57:18

Công ty cổ phần đầu tư thương mại và dịch vụ An Vũ chuyên sản xuất túi vải không dệt chất lượng - giá rẻ nhất tại thị trường trong nước. Các sản phẩm An Vũ cung cấp bao gồm:

Sản xuất túi vải không dệt giá rẻ
In túi vải với công nghệ hiện đại nhất hiện nay.
xưởng sản xuất túi vải canvas giá rẻ
túi balo dây rút
túi vải đay
túi vải bố

CÔNG TY CỔ PHẦN ĐẦU TƯ THƯƠNG MẠI VÀ DỊCH VỤ AN VŨ

 Trụ sở: Số nhà 65 tổ 44B, ngách 85/211 Khương Trung, P.Khương Trung, Q.Thanh Xuân, TP.Hà Nội

 Xưởng sản xuất: Ô 27, NV7, Khu nhà ở CBCS Tổng cục 5, Yên Xá, Tân Triều, Thanh Trì, TP.Hà Nội

 Hotline: 0912 005 797  -  0961 843 246

 Email: inanvu@gmail.com
Web: https://anvubag.vn/

#TuivaikhongdetgiareAnVu, #TuivaikhongdetAnVu, #Xuongsanxuattuivaikhongdet, #Invtuivaikhongdet, #Túi_vải_bố, #Túi_vải_đay, #Túi_vải_rút
địa chỉ sản xuất túi vải không dệt giá rẻ, in túi vải công nghệ cao
Published: 2021-11-10 03:54:06

Công ty cổ phần đầu tư thương mại và dịch vụ An Vũ chuyên sản xuất túi vải không dệt chất lượng - giá rẻ nhất tại thị trường trong nước. Các sản phẩm An Vũ cung cấp bao gồm:

Sản xuất túi vải không dệt giá rẻ
In túi vải với công nghệ hiện đại nhất hiện nay.
xưởng sản xuất túi vải canvas giá rẻ
túi balo dây rút
túi vải đay
túi vải bố

CÔNG TY CỔ PHẦN ĐẦU TƯ THƯƠNG MẠI VÀ DỊCH VỤ AN VŨ

 Trụ sở: Số nhà 65 tổ 44B, ngách 85/211 Khương Trung, P.Khương Trung, Q.Thanh Xuân, TP.Hà Nội

 Xưởng sản xuất: Ô 27, NV7, Khu nhà ở CBCS Tổng cục 5, Yên Xá, Tân Triều, Thanh Trì, TP.Hà Nội

 Hotline: 0912 005 797  -  0961 843 246

 Email: inanvu@gmail.com

#TuivaikhongdetgiareAnVu, #TuivaikhongdetAnVu, #Xuongsanxuattuivaikhongdet, #Invtuivaikhongdet, #Túi_vải_bố, #Túi_vải_đay, #Túi_vải_rút
entrevista
Published: 2021-11-10 03:37:07

Principio solid

Assert
Coverge
Assert
Front
	Single page aplication
	Estructura de una promesaasincrona o sincrona.
	La promesa se puede ejecutar
	Callback
	Funcion anonima
	Typescript
		Decorador
		
	Angular.
		Modulo en angular
		Si quiero un componente en 2 modulos
			No andarlo al app.module
		End point.
			Una url consumida por un apo rest
			Microservicio que se comunican entre si
			
		Clase abstracta
		Data base fews
		
		String es nativo de java
		Herencia
		
		Java soporta la ultiherencia
		
		Infraestructra como cidgo
		
		Comandos git
		Comando para branch
		Git flow
		Product backlok
		Spring backlog
		
		Se extiende a 2 semanas
			Verificar, las entrevistas y seleccionar quien pasa y quien no pasa.
			
		COSAS QUE NECESITO APRENDER SI O SI
			Backend
				Lengujae, typescript, con nodejs
				Go
				Python
				
			Frontend
				Angular y react
				Migrar todo a reactJS
				Microfrontedn coo estrategias en el front
				
			Servicios en la nube
				Stack servless de AWS
				El mas conocido es lambda funtion, para el corazon de microservicios
			Marcos de trabjao
				Spotify framework
				Scrum
		
			Servicios de AWS, enfocados a servless
			Depende de la estrategia de la compaia que cada quien quiera seguir. 5 años aplicandola, linea base.
			
			Aprender sobre AWS, lineas generales, entender cmo funciona, servicios en la nube, esquema de servicios (azure, gcp)
			En gartner, es aws es mas antigua y es lider por la cantidad de servicios de ofrece.
			Lengujaes de programacion modernos y eficientes para la construccion de lambda ()
Go, python, nodeJs con typescript.
[6/23, 11:26 AM] Tony Espe: como tal lo que hacemos infraestructura como código utilizamos serverless framework
utilizamos programación reactiva (rxjs)
en el back lo que se maneja es nodejs, manejamos typado estricto (typescript)
y nos guiamos por la metodlogia TDD Test driven development que en resumen es realizar las pruebas antes del código
lo que usamos de framework para realizar nuestras pruebas unitarias es mocha shinon chai
eso por el lado del back por el front es react y de framework para las pruebas usamos jest
también hay grupos que manejan android/ios swift4/php para las librerias e integraciones con ecommerce
también hay otros grupos que manejan go
a veces muy poco python para hacer uno que otro script
y scala para los ETL
hmm de ahí saber scrum no te haría daño seguramente si sabes es fácil entenderlo y git
el 95% de nuestros servicios en la nube esta en aws y el 5% en gcp
eso en general, hmmm de ahi te pueden hacer preguntas de lo que tienes en tu hoja de vida
ah y bases de datos te pueden preguntar, no se si estan preguntado sobre SQL y NOSQL pero ahi revisale por si acaso
Eso si revisate aws, java desde lo más básico
Conceptos.... y todo lo que pongas en tu cv te pregunta
Así q pondrás cosas q saben bien jajja
Metodologia TDD, SCRUM, aws microservicios lambda
Comandos git habidos y por haber
Programación orientada a objetos .. sus 4 o 5 principios
Hackoberfest recap
Tags: hacktoberfest, beginners
Published: 2021-11-10 03:33:20

The Hacktobestfest ended last month and, through this journey, I have learned many new things. 
## Challenges
The first challenge I had when working on Hacktoberfest's issues was setting up the project in the local machine. I was a little bit ambitious at the beginning and I chose only the big projects. Obviously, these projects had many packages, test projects, and databases setup processes. In the end, I gave up working on some issues due to the complexity of installation and local development. 
## Lessons
Even thought I have not successfully made four merge pull requests this time, this experience is still worth trying. I have discovered how to write integration tests and what .Net Bot is. Another thing I realize is the way to contribute to an open-source project and git commands. 
In addition, I appreciate the project's owners for spending time reviewing my pr. They were patient, they suggested changes and waited for me to fix my code. 
I contributed my part to the project, learned a lot in return, and that is the beauty of open source and good karma.
Ecommerce Shipment Tracking API PHP-demo/create_tracking
Tags: php, beginners, programming, tutorial
Published: 2021-11-10 03:29:52

This documentation is for creating a tracking request with [KeyDelivery all-in-one tracking API](https://www.kd100.com/docs/keydelivery-api)

Users can use this API to track over 1200 global couriers in one place.

```php
<?php

$url = 'https://www.kd100.com/api/v1/tracking/create';
$API_Key = ''; # You can find your ApiKey on https://app.kd100.com/api-managment
$Secret = ''; # You can find your Secret on https://app.kd100.com/api-managment 


$param = array(
	'carrier_id' => 'dhlen',
	'tracking_number' => '9926933413',
	'phone' => '',
	'ship_from' => '',
	'ship_to' => '',
	'area_show' => '1',
	'webhook_url' => 'http://www.kd100.com/console/debug/callback/sandbox'
);
$data = json_encode($param);

$signature = strtoupper(md5($data . $API_Key . $Secret));

$curl = curl_init();
curl_setopt_array($curl, array(
	CURLOPT_URL => $url,
	CURLOPT_RETURNTRANSFER => true,
	CURLOPT_ENCODING => '',
	CURLOPT_MAXREDIRS => 10,
	CURLOPT_TIMEOUT => 0,
	CURLOPT_FOLLOWLOCATION => true,
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
	CURLOPT_CUSTOMREQUEST => 'POST',
	CURLOPT_POSTFIELDS => $data,
	CURLOPT_HTTPHEADER => array(
		'API-Key: ' . $API_Key,
		'signature: ' . $signature,
		'Content-Type: application/json'
	),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;

?>
```
DPS909 - Lab 8
Published: 2021-11-10 03:20:30

# Introduction
For this week in open source development, we were asked to implement testing for our static site generators. We had to research for the optimum testing platform for our code base. Since my [static site generator](https://github.com/roman-rezinkin/RomanStaticSG) uses Python, I opted to use pytest. 
The reason I chose pytest is because it is one of the most popular Python testing platforms and allows for very in depth test creations. I also really liked that Visual Studio Code could utilize it, which made my implementations that much easier.

## Implementing Testing Code
Since my static site generator has many helper functions that allow me to process folders, files, write to files, create css files, etc, I began my quest of writing my tests. At first, I had some difficulty understanding how pytest works, but after a few sample test cases, I began getting the hang of it.

Since my code works with files, my approach was to call the functions, let them produce the expected file, and verify by using `assert` command. The assert command allows us to verify the expectation of the return of a function. However, since my functions are mainly void, I would assert that a file was created, such as this: 
`assert os.path.isfile("example.html")`

To view all of my tests, click on this commit [4b18e4b](https://github.com/roman-rezinkin/RomanStaticSG/commit/4b18e4bfd774d86cb099070c693fb9c590ac2c4a)

## Conclusion
Overall, I had a lot of fun implementing testing code via pytest, and it really challenged me. I believe that with the addition of new functions, I will be able to quickly create effective tests that will ensure my code is up to the full standards that I want to achieve.
One thing that I noticed was the difference in how my code checks for the environment. This is something that I need to relook into because since I am developing on a Windows computer and not a Linux based, the paths of the files are different, which introduced a small headache whenever I was dealing with paths.