teleren/devto huggingface dataset:
Using Azure Java API to upload data to Microsoft Azure Blob Storage
Tags: webmethods, esb, azure, java
Published: 2022-02-03 09:24:09

---
title: Using Azure Java API to upload data to Microsoft Azure Blob Storage
published: true
date: 2022-02-01 01:43:44 UTC
tags: webmethods, esb, azure, java
canonical_url: https://tech.forums.softwareag.com/t/using-azure-java-api-to-upload-data-to-microsoft-azure-blob-storage/254912
---

## Intent

Develop a simple, standalone webMethods Integration Server (IS) service that uses the Azure Java API to upload data to Microsoft Azure Blob Storage. This should work for IS version 10.1 and above.

## Overview

See [discussion here](https://tech.forums.softwareag.com/t/how-to-get-on-prem-is-to-upload-a-file-into-azure-blob-storage/254459), where this approach was formulated. Alternatives such as an Azure REST-based solution (simpler, architecturally cleaner) and webMethods Cloudstreams were also discussed.

The alternatives may be better. But this approach has these key features:

- Simple to use
- Uses a pre-generated Shared Access Signature (SAS) token for authentication
- Fewer moving parts (no CloudStream component or calls to `login.microsoft.com` for OAuth token)
- Code can be made adapter-like (add calls to list and download blobs, separate connection creation and data transfer)
- Java API may offer functionality (such as [parallel uploads](https://docs.microsoft.com/en-us/java/api/com.azure.storage.blob.options.blobparalleluploadoptions?view=azure-java-stable), asynchronous transfers and transfer pause-restart) difficult to access via other mechanisms.
- Installing code in a separate package with package-level classloader (see NOTES in documentation section) should mitigate JAR version conflicts in future IS upgrades

Check out the **code** and **documentation** in the [original article](https://tech.forums.softwareag.com/t/using-azure-java-api-to-upload-data-to-microsoft-azure-blob-storage/254912)in the Software AG Tech Community.
Best thing I’ve ever learned from @PythonBytes
Tags: programming, regex
Published: 2022-10-31 23:33:31

---
title: Best thing I’ve ever learned from @PythonBytes
published: true
date: 2022-02-01 01:39:02 UTC
tags: programming,regularexpressions
canonical_url: https://www.ericsbinaryworld.com/2022/01/31/best-thing-ive-ever-learned-from-pythonbytes/
---

I’ve learned a lot of great tips and about a lot of awesome packages (hello, [rich](https://pypi.org/project/rich/)), but the best thing I’ve ever learned isn’t even Python specific. The most recent episode mentioned [https://regex101.com](https://regex101.com) and I don’t think I’ll ever again find myself banging my head against the wall when my regex isn’t working! Thanks @mkennedy !
My new website
Tags: webdev, beginners, testing, help
Published: 2022-02-01 01:16:25

Hello!

Not only is this post about my new website, it's also my first post here (So please let me know if I am doing something wrong).

I just wanted to ask for any advice you may have on my website, [The TinkerTechLab](tinkertechlab.com). Let me know if you like my outline, navigation, and overall content and UX.

The [webhosting catagory](tinkertechlab.com/webhosting) is completely finished, although the rest of the site is slowly coming together. Feel free to comment on anything (If you see something you don't like, let me know! Although also give me something that you think would be a good fix).

Thanks!
100 días de código: 61, mejoras de SEO con lighthouse y entramiento para entrevistas
Tags: spanish, webdev, 100daysofcode
Published: 2022-02-01 01:06:02

¡Hey hey hey!

Bienvenidos a este maravilloso lunes, hoy, por fin, he recuperado la normalidad que no había tenido desde hace mucho tiempo. 

Durante el fin de semana y los días anteriores estuve bastante ocupado por problemas con cosas que tenia que hacer con la familia pero concentrémonos en este nuevo inicio de semana.

Como veía que no media de una forma adecuada mis progresos comencé a utilizar de nuevo la técnica pomodoro y a fijarme metas cada lunes de la semana de una forma similar en la que se haría con SCRUM.

### Metas para la semana
- Aprender typescript y redux.
- Hacer algún proyecto con las tecnologías anteriormente mencionadas.
- Practicar para entrevistas.
- Hacer una lista de empleos para comenzar con la búsqueda de una oportunidad.

Realmente siento que soy ambicioso al comenzar la semana con tantas tareas por hacer pero eso me mantendrá motivado y si noto que mi estrés crece por hacer tantas cosas entonces intentare cambiarlo la próxima semana. 

Ahora si volvamos con lo que hice el fin de semana, que no fue mucho...

### Fin de semana y lunes
- Logre realizar algo de seo de mi pagina con ayuda de lighthouse.
- Avance con el diseño de la pagina de hotel.
- Modifique mis metas a largo plazo como desarrollador.

Eso es todo por ahora, he comenzado la semana con el pie derecho y planeo mantenerme asi el resto de ella.

¡Espero que tengan mucho éxito con sus proyectos!

Adiós mundo. bip bip bip.

Foto de [Glenn Carstens-Peters](https://unsplash.com/@glenncarstenspeters?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) en [Unsplash](https://unsplash.com/s/photos/plan?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText).
4 Top theories to get you into the top 99th percentile of software engineers
Tags: softwareenginnering, theories
Published: 2022-02-01 00:20:07

 **Know how to code but haven’t found a great job yet ?** Qvault https://qvault.io/?via=leslie has got you ! 



You’ve probably dabbled in different programming courses and maybe even attended a bootcamp. Unfortunately, there’s still something standing between you and your next software development job. Our courses/projects will fill the knowledge gap that are holding you back! 





Get access to training, workshops and experienced community alongside crafting your resume whiles gaining skills from courses and confidently helping you breeze through tricky interview questions. 



Get yourself a package at a very affordable pricing https://qvault.io/?via=leslie









**Constantly remake yourself**
  
   Your ego is a huge block. The best way to suck at coding and be archaic is to be a "know-it-all". The growth rate in software engineering is insanely for the past few decades is insanely exponential. In order to stay relevant, you need to constantly reinvent yourself. Learn every new that comes up!

  **Take your time but be the hardest working individual**

   Learn a thing at a time. A greater percentage of developers who do not make it to their potentials are those who are always intimidated by the media or news. Pick a thing, learn it until you can explain to a 5 y/o until you move to the next. Work hard and stay hungry.

 **Make connections and learn from the best**

  "Birds of the same feather flock together" they say. To be classed as the best, you need to have been with the best. Never hesitate to join and grow with a community of passionate developers. Engage in hackathons, apply for jobs slightly out of your league. Challenge yourself!

  **Basic Principles First**
 
   An organ is a grand build-up of multiple cells. Know what a cell is first! Always understand and improvise from first principles.


These are 4 theories to get you into the topmost percentile of your development career. What would you add?
Which Programming Languages Should I Learn First?
Tags: programming, beginners
Published: 2022-02-01 00:12:09

People who want to get into programming often ask me which languages to learn first, but as Dee tells Naomi on the series  premier of her [eponymous TV show](https://www.cwtv.com/shows/naomi/dont-believe-everything-you-think/?play=109fca5a-4aec-411d-90e6-19aa22eaedc6), "I can’t give you answers when you’re not asking the right questions."

I think it's more helpful to identify which problems you want to solve first. Do you want to build a website to sell your mom's amazing ghee? Look at Shopify, Squarespace, or Wix for a low- or no-code approach or Next.js or Remix Run for a bespoke site. Do you want to build a data model that can help American football coaches decide whether they should go for it on 4th down? Look at Anaconda or Tensor Flow Lite.

Don't let me stop you if you're jonesing to learn a particular programming language. But if you take my advice and come at the learning process from the point of view of providing a real business need (Your own business need counts!), figure out which tools, libraries, and frameworks make the most sense as you try to deliver for yourself and learn something along the way.
SAINTxDMON: Minting on February 11
Tags: nft, solana, crypto, web3
Published: 2022-02-01 00:02:51

SAINTxDMON: Origins is an exclusive collection of 1,111 Champion NFTs on the Solana blockchain. The collection's art features an iconic pop-art style that has never seen before. The traits list is extensive with 3.4 Billion possible combinations, essentially making each NFT a 1:1 collectible. SAINTxDMON was founded by two brothers from New York City and is backed a community of NFT Collectors, Community Leaders, E-Sport Athletes and Artists. The project introduces the first interactive comic book experience to the NFT world, where players will be able to make decisions in order to conclude to hundreds of different endings. At the fundamental level, the project offers a DAO with 100% of Royalties going back to the community and an $SXD with extensive utility. Future plans include staking, metaverse integrations, a mythical creature collection, and breeding mechanics. In short, the project offers an innovative approach to the NFT world as never before seen.

🔗 Twitter: https://twitter.com/SAINTxDMON
🔗 Discord: https://discord.gg/saintxdmon
🔗 Website: https://saintxdmon.io/
What is Core dna?
Tags: webdev, productivity, career, coredna
Published: 2022-01-31 23:53:50

_What is Core dna?_

Core dna is a leading digital experience platform (DXP) that has been engineered from the ground up. We provide mid-market to enterprise level organizations with the ability to meet their objectives for their corporate website, eCommerce, intranet, extranet, mobile, social, and online marketing. Core dna is a cloud hosted SaaS (software-as-a-service) with natively integrated applications that can be built into the single user interface.


_**Why are we a developer's dream?**_

Because we provide the most flexible Developer Ecosystem. The sky's the limit! Includes industry standard tools like version control, flexible IDE, GIT Collaborate, multiple environments for development and QA, flexible front end frameworks, or use server side frameworks to deliver unparalleled speed and performance.


_Can I have a free demo of how Core dna works?_

For a free demonstration of how Core dna works contact one of our friendly consultants on +1 (617) 274-6660 or you can contact our team.

Alternatively, 

**visit our website today: https://www.coredna.com/**
End of Month Update
Published: 2022-01-31 23:46:47

---
title: End of Month Update 
published: true
description: 
tags: 
//cover_image: https://direct_url_to_image.jpg
---

I spent this month focused on working on some additional courses from codecademy https://www.codecademy.com/. I thought it would be something fun to try outside of video tutorials. 

Going into February I plan to pick back up on my video course and continue with codecadmy courses. 
February looks to be very productive and fun! 
I have a lot of ideas for future projects can't wait to get started on them.
Sending email notifications from GitHub organisations to different emails
Tags: github, notifications
Published: 2022-02-01 08:16:48

---
title: Sending email notifications from GitHub organisations to different emails
published: true
date: 2022-01-31 23:37:43 UTC
tags: github, notifications
canonical_url: https://christianheilmann.com/2022/02/01/sending-email-notifications-from-github-organisations-to-different-emails/
---

I'm part of a few organisations on GitHub and had one email address for notifications. This annoyed me as I didn't want company notifications to my personal account  as I couldn't answer these. As it turns out, you can set up several email addresses in your GitHub account. In settings, go to `Access > Emails` and you can add more than one address. 

![The GitHub settings screen showing my emails and allowing me to add more](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j1mms8ok2gr01rmwdsnh.png)

If you then go to the `Notifications` settings of GitHub and scroll all the way down to `Custom Routing`, you can define which organisation should send notifications to which email account. 

![The Custom Routing screen of Github](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4j73j9jtukmpiphwlsiv.png)
 
Thanks to my colleague Anton Ross for showing me this!
193 hours of music for coding and writing
Tags: discuss, programming, writing
Published: 2022-01-31 23:36:01

I find it easier to write and code when the background music has no lyrics I can understand. These words are written to some groovy sounds of a trumpet from my [Coding Time playlist on Spotify](https://open.spotify.com/playlist/3h9rkMXa434AeAIDdA5Dd2).

* **Duration**: 193h+
* **Style**: eclectic
* **Includes**: world, classical, jazz, electronica, instrumental, indie
* **Excludes**: rap, heavy or overly emotional sounds, anything with lyrics in English

What are you favorite focus playlists or albums?
What Hackers Know About Your Software Supply Chain (That You Don’t)
Tags: security, podcast, techtalks, devops
Published: 2022-01-31 23:05:59

You’ve heard of the supply chain, but what about the *software* supply chain? 

Unlike the standard supply chain that you often hear about in the news, this week’s episode of Dev Interrupted dives into the supply chain responsible for holding together the systems that companies, orgs and governments depend upon. 

Kim Lewandowski, a software supply chain security expert, co-founded [Chainguard](https://chainguard.dev/) in 2021 with a mission to make the software supply chains secure by default.

In our conversation, Kim discusses why hackers are way ahead of the game on the software supply chain, what companies can do about it and why excitement around open source may not align with the security threats of the future.

She also details why 5 founders may be better than 2, why you might find her Easter eggs in nuclear codes and why Google is an amazing pit-stop in anyone’s career.

## Episode Highlights Include:
* (5:50) Easter eggs in nuclear codes 
* (7:00) The reason [Google](https://careers.google.com/) is a great career pit-stop 
* (11:18) What is the software supply chain? 
* (17:14) The risks with open source supply chains 
* (19:51) Why 5 founders may be better than 2
* (27:40) How to improve your software supply chain security

## [You're Invited to INTERACT on April 7th](https://devinterrupted.com/event/interact/)

Join engineering leaders from Netflix, Slack, Stack Overflow, American Express & more at LinearB's virtual engineering leadership conference, [**INTERACT**](https://devinterrupted.com/event/interact/) on **April 7th, 2022.**

**1 day, 20 speakers, 1,000s of engineering leaders - all driven by the Dev Interrupted community.** If you are a team lead, engineering manager, VP or CTO looking to improve your team, this is the conference for you!

[**Learn more here**](https://devinterrupted.com/event/interact/)


![Join INTERACT at https://devinterrupted.com/event/interact/](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2xhtonct1vkpjhrtzfl3.png)
Instalando git
Tags: git, beginners
Published: 2022-01-31 23:01:13

Antes de começar a usar o git. Você precisa ter o software em sua maquina local, você pode instalar por meio de um pacote instalador executável.




## Instalando no Linux

Se voce deseja instalar as ferramentas do git no linux, geralmente pode faze-lo por meio da ferramenta de gerenciamento de pacotes que acompanha sua distribuição. Se estiver no fedora(ou qualquer distribuição RPM relacionada com RHEL ou CentOS), voce pode usar dnf


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


Caso esteja em uma distribuição baseada em debian, como Ubuntu, tente apt:


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



## Instalando no Windows


Existe também a maneira de instalar no windows. As versões mais recentes do software, você encontra no site oficial.


link para download: 

https://git-scm.com/download/win

logo depois, pode executar o instalador e prosseguir as etapas de instalação
How to design a ChessBoard game using HTML and CSS
Tags: webdev, css, design, html
Published: 2022-01-31 22:40:14

HTML and CSS alone can undoubtedly be used to create tons of awesome projects. I decided to share a chessboard project I partook in last week. This chessboard project was designed only with HTML and CSS, I named my css file as "chess.css" and html file as "index.html" and made sure I understood every line of code.
     
The display table cell method was used to display the chessboard. This project particularly can be better understood by deleting every line of code, back testing and comparing it to the original. There you can understand every line of code better.


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


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


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


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


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


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


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

Happy learning. Feel free to ask questions in the comment section if you run into any issue.
Why sanitizing input is crucial, and can save your business
Tags: sanitization, php, mysql, htmlentities
Published: 2022-01-31 22:16:22

About 10 years ago my friend asked me to help him out in a huge job of rewriting a webshop from scratch. He dove deep into the docs and started to fiddle with php code injection. This is when you use an input field that's running through the database to execute malicious code like drop table or similar hacks. He was aware that three major competitor bought the same product so he went to the first one... boom. He got the admin password in no time. Went to the second, same result. He sat down with the CEO to discuss whether to destroy the competitors, and they decided not to. They even wrote a letter to both about the vounerability. A few weeks later we did another check just for fun, and the input still wasn't sanitized.
Do you use GRPC?
Tags: discuss, go
Published: 2022-01-31 22:11:51

---
title: Do you use GRPC?
published: true
description: 
tags: discuss, go
//cover_image: https://direct_url_to_image.jpg
---

I'm writing an article about GRPC and protobufs. Here is the thing I'd like to know:

What tools to you use for making GRPC requests? 

Like if you just want to test that a service is up and taking requests? I'd like a command line one that is simple to use and install and wondering what people use.
Count Pairs with given Sum
Tags: java, array, hashmap, dsa
Published: 2022-01-31 21:08:19

Given an array of N integers, and an integer K, find the number of pairs of elements in the array whose sum is equal to K.

Example 1:
Input:
N = 4, K = 6
_arr[] = {1, 5, 7, 1}_
Output: 2
_Explanation: 
arr[0] + arr[1] = 1 + 5 = 6 
and arr[1] + arr[3] = 5 + 1 = 6._

It is a **EASY LEVEL** question but asked in many companies like Amazon, Accolite, Adobe, Flipkart, Hike, MakeMyTrip etc.

_If you want to solve the question click here:(_https://practice.geeksforgeeks.org/problems/count-pairs-with-given-sum5022/1#)

**Approach 1:**
The idea is to iterate one loop from i=0 to the end of the array and the second loop from j=i+1 to the end of the array. This is the Brute force approach, with Time Complexity:O(n^2)
```
public static void getPairsCount(int[] arr, int sum)
    {
 
        int count = 0; // Initialize result
 
        // Consider all possible pairs and check their sums
        for (int i = 0; i < arr.length; i++)
            for (int j = i + 1; j < arr.length; j++)
                if ((arr[i] + arr[j]) == sum)
                    count++;
 
        System.out.printf("Count of pairs is %d", count);
    }
```

**Approach 2:**
(i) Sort the array.
(ii) Two pointer approach: Start one pointer from `i=0` and the other from `j=arr.length-1 `.
(iii)-Greater than the sum then decrement j.
     -Lesser than the sum then increment i.
     -Equals to the sum then count such pairs.
Time Complexity: O(nlogn+n)

**Approach 3:**
This is the optimized method to solve the problem.
here we are going to use _HashMap_.
Time Complexity: O(n)
Space Complexity: ~O(n)

**JAVA CODE**
```
import java.util.*;
public class CountPairs_G_Sum {
    public static void main(String[] args)
    {
        Scanner sc=new Scanner(System.in);
        System.out.println("Enter the size of the array:");
        int n=sc.nextInt();
        System.out.print("Enter the value of k: ");
        int k=sc.nextInt();
        int[] arr=new int[n];
        System.out.println("Enter the elements of the array: ");
        for(int i=0;i<n;i++)
        {
            arr[i]=sc.nextInt();
        }
        int res=getPairsCount(arr, n, k);
        System.out.println(res);
    }
    public static int getPairsCount(int arr[],int n,int k)
    {
        int c=0;//counter
        HashMap<Integer,Integer> hm=new HashMap<Integer,Integer>();
        for(int i=0;i<n;i++)
        {
            if(arr[i]<k)
            {
                int element=k-arr[i];
                if(hm.containsKey(element))
                {
                    c+=hm.get(element);
                }
                if(hm.get(arr[i])==null)//if element is not present in the HashMap
                {
                    hm.put(arr[i],0);
                }
                hm.put(arr[i],hm.get(arr[i])+1);
            }
        }
        return c;
    }   
}
```
Box Shadow
Tags: css, beginners
Published: 2022-01-31 20:47:54

lets discuss a css property called `box-shadow`.

As we will see and some us might already know that box-shadow property is used to create sharp looking buttons, boxes and html elements using css.

The basic syntax is as follows

```
// 1. when no box shadow is to be applied.
{
  box-shadow : none;
}
```
**There other properties like** 

1. h-offset : positive value like 10px will create shadow at the right side and negative value like -10px will create shadow at left side of the box.
2. v-offset : positive value like 10px will create shadow at the bottom and negative value like -10px will create shadow  towards top of the box.
3. blur : optional, as the value becomes positive the shadow becomes blurrier
4. spread : optional, as the value becomes positive the show becomes wider.
5. color : color of the shadow.

```
// 2. other properties
{
  box-shadow : h-offset  v-offset  blur spread color;
}
```

{% codepen https://codepen.io/Mrlallu/pen/yLPejaJ height=600 default-tab=css,result %}

**Some more properties**

1. inset : Inverts the shadow, like the shadow towards inside of the box. It inverts the h-offset, v-offset values as well.

```
// 3. It can also take values such as inset, initial and inherit
{
   box-shadow : h-offset  v-offset  blur spread color |  inset | initial | inherit;
}
```

{% codepen https://codepen.io/Mrlallu/pen/abVdGPK height=600 default-tab=css,result %}

Best part is you do not have to remember any of the values all thanks to [Box-shadow](https://box-shadow.dev/). Try out all the combinations with real time changes and copy the code.