teleren/devto huggingface dataset:
Learn Advanced Full stack development course with A2n academy
Tags: fullstackdevelopment, fullstackdeveloper
Published: 2022-03-01 12:04:21

A2N Academy, a well-known IT institute with diverse industry experts enables us to offer a variety of progressive Full stack development Certification Training. The Full Stack Online Development program is designed to provide candidates with the abilities they'll need to create database-backed APIs and web apps. After completing this **[full-stack developer course](https://www.a2nacademy.com/course/full-stack-development-course)** you will be able to construct and deploy database-backed web APIs, as well as secure and manage user authentication and access control for an application backend.

During **[Full stack developer course](https://www.a2nacademy.com/course/full-stack-development-course)** will give you an overview of client-side web UI frameworks, in particular Bootstrap 4. You will learn about grids and responsive design, Bootstrap CSS, and JavaScript components. You will learn about CSS preprocessors, Less and Sass. You will also learn the basics of Node.js and NPM and task runners like Grunt and Gulp. Candidates will also learn how to use Git and GitHub, Backend languages like Java, and Web architecture since their primary responsibility is to develop complex software applications from scratch. They must be able to structure code, classify files, organize data in databases, and execute the necessary computational operations.
[Python] Extracting characters inside quotes and manipulating strings outside of quotes
Tags: python
Published: 2022-03-01 11:55:00

Hello everybody.
This is an English translation and modification of the article ([link](https://bigbamboo-jp.hatenablog.com/entry/sstr-introduction)) posted in Japanese in advance.

When I was programming in Python recently, I had a hard time finding a library for string manipulation without parentheses, so I decided to publish the code I wrote for this purpose in a library.
I'm not sure if there is enough demand for this library, so I'm holding off on releasing it on PyPI.
## Release site
Project name: Splitable str
Module name: sstr
[https://github.com/bigbamboo-jp/splitable-str](https://github.com/bigbamboo-jp/splitable-str)
## How to use
Example 1: Extract the words in square brackets in a sentence
```
from sstr import sstr

text = "Is this an [apple]? No, it's an [orange]. Then give me a [grape]."
text_ = sstr(text)
surrounded_words = []
for part in text_.divide_and_classify(enclosure=[['[', ']']]):
    if part[1] == True:
        word = part[0]
        surrounded_words.append(word[1:-1])
print(surrounded_words)  # ['apple', 'orange', 'grape']

```
Example 2: Count the number of "water" in a sentence (exclude the part in double quotes from the search)
```
from sstr import sstr

text = 'One person said that "water is infinite", but water is finite by any means.'
text_ = sstr(text)
quantity = text_.scount('water', enclosure='"')
print(quantity)  # 1

```
You can check other usage examples in the [README](https://github.com/bigbamboo-jp/splitable-str/blob/main/README.md).
Please review this css art and give suggestions to improvise.
Tags: css, webdev, beginners, cssart
Published: 2022-03-01 11:37:03

Hello to All css devs. I've been working on improving my css skill. I've created a little css art. I faced some issues while creating this art.  The list is below.

- How to fix position of divs so that if screen ratio changes things should be at there place not move. (not talking about viewport).

- Does using % for positioning is a bad idea!! Should I use absolute measuring parameters instead % ?

- How to code shadows.

- How to create wavy lines?

- Why sometimes absolute not work?

- Sometime position not work.

Below is the reference of original image.

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


> Below is my codepen link.
[codepen link ](https://codepen.io/himanshu-pal/pen/YzEOLvg?editors=0100)

Waiting for the comments.......
Apiumhub is Angular Global Summit partner
Tags: events
Published: 2022-06-27 13:00:17

---
title: Apiumhub is Angular Global Summit partner
published: true
date: 2022-03-01 11:34:00 UTC
tags: Events
canonical_url: https://apiumhub.com/tech-blog-barcelona/apiumhub-is-angular-global-summit-partner/
---

Save the date: March 29-30! Online Summit for Angular Developers! 

More than 40 speakers and 10000 attendees are expected, the event is going to be huge with 28 hours of tech talks and leading Angular experts from well-known companies. 

Angular Global Summit is for CTOs, Frontend developers and Team leads who are interested in such crucial topics as: 

- Backend for Frontend
- Microfrontend revolution
- Dependency injection
- Cypress
- Angular tests
- Binding
- Attribute directives
- Feature flags
- Performance
- Angular architecture

And many others …

Among speakers you may find:

- Maxim Salnikov – Developer Engagement Lead @Microsoft     
- Michel Ruffieux – Lead Software Engineer @Jobcloud 
- Elad Shechter – CSS/HTML Architect @appwrite 
- Nir Kaufman – Front End Tech Lead @Next 
- Hava Babay-Adi – Tech Lead @Google    
- Greg Radzio – CTO @Cobiro 

[Apiumhub](https://apiumhub.com/)is very excited about becoming Angular Global Summit partner. We regularly participate in events organized by Geekle and we can’t wait to attend the upcoming edition of Angular Global Summit. We hope to see you there, to get your tickets just [click here](https://events.geekle.us/angular/). 

For those who don’t know anything about the organizer, let us share a little bit more info about Geekle:

Geekle was created in Ukraine by a Ukrainian team when the pandemic came in 2020. 

One week ago, war came to their streets. Currently Geekle team is hiding in bomb shelters and basements but as long as they have the internet- they still continue developing the Geekle community.Geekle donates every dollar they get from you in March 2022.

All proceeds will go to charity to help Ukrainians in need. Geekle will publicly announce the donated amount. 

We hope to see you in the Online edition of Angular Global Summit and create interesting discussions, meeting inspiring front-end professionals.
[SOLVED] Logstash missing class name (`org.apache.http.─Impl.client.StandardHttpRequestRetryHandler') Error - CentOS 8

Tags: centos8, logstash, classnameerror, implclient
Published: 2022-03-01 11:16:48

If you are using CentOS 8, the path for solution is:
```
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/manticore-0.8.0-java/lib/manticore/client.rb
```
And you should change this: 
```
"OrgApacheHttpImplClient" ==> "OrgApacheHttp.impl.client"
```

There isn't any class named as "OrgApacheHttpImplClient", it must be "OrgApacheHttp.impl.client" (the dots have been added.)

If you have another distrubution of linux, then you need to find correct "client.rb" file.
Monthly Amazon Location Service Updates - 2022.02
Tags: amazonlocationservice, amplifygeo, amplify, amazonlocationserviceupdates
Published: 2022-03-01 11:09:06

![img](https://day-journal.com/memo/images/logo/aws/location-service.png)

### Monthly Amazon Location Service Updates - 2022.02

<br>

This is a summary of the February updates for Amazon Location Service.

<br>

## 2022.02 Updates

[Amplify Geo - Escape hatch](https://docs.amplify.aws/lib/geo/escapehatch/q/platform/js/)
Escape hatch has been added to the Amplify Geo documentation.

[Amplify Geo - searchForSuggestions API](https://github.com/aws-amplify/amplify-js/pull/9516)
Amplify Geo Location Search now has a searchForSuggestions API. (Not yet added to the documentation).

[Maplibre GL JS Amplify - createAmplifyGeocoder](https://github.com/aws-amplify/maplibre-gl-js-amplify/blob/main/API.md#createAmplifyGeocoder)
Maplibre GL JS Amplify now has a createAmplifyGeocoder.

<br>

## Other Info

[Amazon Location Service Developer Guide](https://docs.aws.amazon.com/location/latest/developerguide)
Official Amazon Location Service Documentation.

[Amplify Geo Docs](https://docs.amplify.aws/lib/geo/getting-started/q/platform/js)
Official Amplify Geo Docs.

[Amazon Location Service Samples](https://github.com/aws-samples/amazon-location-samples)
Official Amazon Location Service samples.

[amazon-location-service-starter](https://github.com/dayjournal/amazon-location-service-starter)
Build environment to get started with Amazon Location Service.

[A Summary of How to Build Amplify Geo and Amazon Location Service](https://dev.to/aws-builders/a-summary-of-how-to-build-amplify-geo-and-amazon-location-service-5hal)
Summary of Amazon Location Service and Amplify Geo. (as of December 2021)  

[dev.to](https://dev.to/dayjournal)
Articles on Amazon Location Service.

[tags - Amazon Location Service](https://day-journal.com/memo/tags/Amazon-Location-Service)
[tags - Try](https://day-journal.com/memo/tags/Try)
Notes on Amazon Location Service. (Japanese)

<br>

## Related Articles

{% link https://dev.to/aws-builders/monthly-amazon-location-service-updates-202201-5aid %}
#100 Days of Python Code #Day1
Published: 2022-03-01 10:52:48

Topics learnt:
1.print and input function
2.String Manipulation 
3.Variable initialization and Naming
4.Completed a simple Band Name Generator project.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rq53c0aont3jz1lde8gx.png)
Fallback true returns error while deployment 
Tags: javascript, nextjs, vercel
Published: 2022-03-01 10:35:04

Next Js by itself is a super power over react. With its functions like `getStaticPaths()` and `getDtaticProps()`, dynamic page generation becomes truly easy.

But in most cases, **fallback true returns error during deployment**

```
export async function getStaticPaths() {
   returns {
     paths: paths, 
     fallback: true // returns error
   }
}
```

To solve this, you must handle the data coming from `getStaticProps()` in your component

```
export default function App({data}) {
  if (!data) return null;
}
```

This simple one liner, at the top of your component page where `getStaticPaths()`is used, can fix all the problems regarding this during deployment.
JSON(JAVASCRIPT OBJECT NOTATION)
Published: 2022-03-01 10:33:25

JSON (Javascript Object Notation)

📌A common use of JSON is to  exchange data to/from a server.

📌 When receiving data from web server and sending data to a web 
   server the data has to be string.

📌 Javascript has built in function for converting JSON string 
   into javascript object "JSON.parse()"and Javascript Object into 
   JSON string "JSON.stringify()"

📌 JSON.parse() - To received data in pure text format(string) 
  from server and use it as javascript object use JSON.parse()

📌JSON.stringify() - To send a JavaScript object to a server in 
   pure text format(string)use JSON.stringify().


Thank you for reading. Sharing my daily learnings with all. Follow me to get more such content.
How to download Pinterest videos, gifs and images?
Tags: tutorial, productivity, beginners, technology
Published: 2022-03-01 10:29:52

Pinterest is an image sharing and social media service, and it's fair to say that everyone's Pinterest page content is different. Pinterest will display other Pins according to the content direction of the user's search. Generally speaking, Pinterest can only download static pictures.

## How do I download other types of information in Pinterest, like Gifs and videos?

- Open your Pinterest and select the video you want to download;

- Copy the link of the webpage, it is at the top of the browser;

- Open [Pincase](https://pincase.xyz/) and you will see an area where you can place links;
![Open Pincase and you will see an area where you can place links](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6sefugftp1v6dcgako6d.png)

- Paste the link and click “Download Now” ;

![Paste the link and click “Download Now”](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/skbq1fttzcirgyqlvjtt.png)

- Select the download type.
![Select the download type.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k8jjn69ayy5h3acnoe7q.png)
That's it, you can download any Pin videos you want through this method.
3 ways to centre a DIV with CSS 😎
Tags: webdev, css, html, javascript
Published: 2022-03-01 10:29:07

### Hello Folks 👋
What's up friends, this is **SnowBit** here. I am a young passionate and self-taught frontend web developer and have the intention to become a successful developer.

Today, I am here with a cool topic that is one of the most searched topics on Google ("How to centre content with CSS?") related to CSS.
![CSS trend on google search](https://cdn.hashnode.com/res/hashnode/image/upload/v1646124922563/mo9w2kUk_.png)

Now, you don't need to bother about that; In this article, I have covered all four efficient and simple ways to centre content in CSS 😮

---

### Flexbox
{% embed https://codepen.io/codewithsnowbit/pen/dyZQYrW %}
Using flexbox to centre the content vertically and horizontally is a very simple and preferred method. You can do it with just **3 lines of code**: `display: flex` →`justify-content: center` → `align-items: center` respectively.
```css
.container{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
```

### Grid
{% embed https://codepen.io/codewithsnowbit/pen/bGYQVXQ %}
Using the grid to centre the content is very similar to the flexbox method. The only difference is, `display` should be set to `grid` instead of `flex` i.e. `display: grid`.

It is very beneficial when using the **grid** in layout.

```css
.container{
  display: grid;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
```

### Transform
{% embed https://codepen.io/codewithsnowbit/pen/abVQdJJ %}
You can transform content to centre with the **transform** method. 

It can be done by setting the `position` of the parent element `relative`, which allows the child element to utilize `position: absolute`. 

After that, we can give `offset` to the element of `left: 50%` and `top: 50%` and transform them to `transform: translate(-50%, -50%)`. 

Btw, it's a pretty long method and a bit complicated for my beginner friends.
```css
.container{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
```

---
So, this was it for this article. I hope you learnt something new and enjoy reading. Stay tuned for the next article. 

Let's connect on Twitter - [@codewithsnowbit](https://twitter.com/codewithsnowbit)

### 🌏 Let's connect
- [GitHub](https://github.com/codewithsnowbit)
- [Twitter](https://twitter.com/codewithsnowbit)
- [YouTube](https://www.youtube.com/channel/UCNTKqF1vhFYX_v0ERnUa1RQ?view_as=subscriber)


[![Buy me a coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7242fho13cwcxlh8jutn.png)](https://www.buymeacoffee.com/codewithsnowbit)
再谈无ABI函数调用
Tags: abi, solidity
Published: 2022-03-01 10:15:54

发了[在没有abi文件的情况下调用智能合约方法，web3py实现 | 登链社区 | 深入浅出区块链技术 (learnblockchain.cn)](https://learnblockchain.cn/article/3506)之后，联系我的朋友不少，看来对这块有需求的朋友不少，在和他们交流的过程中，我发现不少人对这块还有一些误区。

## 一些问题

1、调用合约函数，需要合约完整的abi吗？

> 不需要，只需要调用函数的函数定义

2、调用别人的合约需要什么？

> 合约地址，合约函数定义，合约签名，
> 如果函数能识别，可以直接复制函数定义，定义空函数。

3、会不会因为语言不一样？

> 不会，本质上都是通过网络连接进行rpc调用，所以需要的东西是一样的。
> 通过地址调用合约函数，只需要函数签名和参数。

4、目前实现签名替换有语言有哪些？

> 目前python的已经实现，参考我前面的文章[在没有abi文件的情况下调用智能合约方法，web3py实现 | 登链社区 | 深入浅出区块链技术 (learnblockchain.cn)](https://learnblockchain.cn/article/3506)
> node ether.js已经实现，放在登链集市[ether.js 无abi调用合约函数，关键代码 - 作品详情 - 登链社区 (learnblockchain.cn)](https://learnblockchain.cn/goods/33)

请能用到觉得有点用的朋友支持，如需要其他语言定制版的请联系我。
技术讨论，可以直接评论。

## 一个演示

部署Greeter2合约，用Greeter的abi进行调用，测试代码中有注释。

### 合约

```
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

contract Greeter {
    string private greeting;

    constructor(string memory _greeting) {
        greeting = _greeting;
    }

    function greet() public view returns (string memory) {
        return greeting;
    }

    function greet2(uint256 num) public view returns (string memory) {
        return "greet2";
    }

    function greet3(uint256 num) public view returns (string memory) {
        return "greet3";
    }

    function setGreeting(string memory _greeting) public {
        greeting = _greeting;
    }
}
```

```
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

//import "hardhat/console.sol";

contract Greeter2 {
    //string private greeting;

    constructor() {}

    function greet3(uint256 num) public view returns (string memory) {
        return "kjljlkjljlkjlkjgreet3";
    }
}
```

### 测试代码

```
it("Should return the new greeting once it's changed", async function () {
        const Greeter2 = await ethers.getContractFactory("Greeter2");
        const greeter2 = await Greeter2.deploy();
        await greeter2.deployed();
        console.log("sportFactory:", greeter2.address)
        const greeter = await ethers.getContractAt("Greeter", greeter2.address) //使用Greeter的abi greeter2的地址
        const gg = await greeter.greet2(123, "0x02d355dc"); //调用greeter2 的greet3函数，函数签名模式
        console.log("greet2 greet2 sign:", gg.toString())
        const gg2 = await greeter.greet3(123);			//直接调用greeter2 的greet3函数
        console.log("greet2 greet3:", gg2.toString())
    })
```

### 输出

```
sportFactory: 0xF1b66c6FB483574744D5C418c1c8464F1EEd81fa
greet2 greet2 sign: kjljlkjljlkjlkjgreet3
greet2 greet3: kjljlkjljlkjlkjgreet3
```
Pest Laravel Testing Full Tutorial | Laravel TDD Tutorial | Laravel For Beginners
Tags: laravel, php, beginners, tutorial
Published: 2022-03-01 09:24:18

{% embed https://www.youtube.com/watch?v=EefnQOa8J1A %}


Hello in this video we are going to create Full Pest TDD Testing with Laravel.
Laravel Pest Testing.
Pest PHP Testing Package.
Laravel testing tutorial.

Follow me:
Twitter: https://twitter.com/Laravellercom
Facebook Page: https://www.facebook.com/1laravellercom
Instagram: https://www.instagram.com/laravellercom/
Github: https://github.com/laraveller
Website: https://laraveller.com/

Playlists:
Laravel Testing For Beginners: https://bit.ly/3t1gNq4
Laravel Roles and Permissions: https://bit.ly/3gOhM7d
LARAVEL INERTIA MOVIE APP: https://bit.ly/3FVMp4Q
Laravel Livewire Movie App: https://bit.ly/3s8D6v1
Laravel Classified Website - https://bit.ly/3nsFRnb
Livewire Employees - https://bit.ly/2ZtIpZY
Laravel Employees Management - https://bit.ly/3Gglt14
Laravel admin panel - https://bit.ly/3CcX75M
#laravel #tutorial #testing
python3 -m pip install domonic
Tags: python, html, css, webdev
Published: 2022-03-01 09:03:29

[https://github.com/byteface/domonic/](https://github.com/byteface/domonic/)

#### A DOM for making HTML with python 3! (and more)

### Install

```bash
python3 -m pip install domonic
# python3 -m pip install domonic --upgrade 
```

## Creating HTML with Python 3

```python
from domonic.html import *
print(html(body(h1('Hello, World!'))))
# <html><body><h1>Hello, World!</h1></body></html>
```

or to pretty format and insert the doctype, use an f-string:

```python
mydom = html(body(h1('Hello, World!'), a("somelink", _href="somepage.html")))
print(f"{mydom}")
```

```html
<!DOCTYPE html>
<html>
	<body>
		<h1>Hello, World!</h1>
		<a href="somepage.html">somelink</a>
	</body>
</html>
```

### parsing html

Basic useage...

```bash
from domonic import domonic
mydom = domonic.parseString('<somehtml...')
```

To quickly parse a webapge try the window module...

```bash
from domonic.window import window
window.location = "http://www.google.com"
print(window.document.title)
```

Also try the xpath or css selectors on command line...

```bash
domonic -x https://google.com '//a[@class]' | uniq | sort
```

```bash
domonic -q https://google.com 'a' | uniq | sort
```

[https://github.com/byteface/domonic/](https://github.com/byteface/domonic/)
Hello World!
Published: 2022-03-01 09:03:07

Hello everyone! I am working on a project regarding CI/CD for my final project at Ironhack UX/UI design bootcamp. Could you perhaps spare 20-30 minutes for a quick interview about the topic with me ? 
https://www.linkedin.com/in/niko-d-sign/ 
I am desperate because I have limited time to conduct the interviews, so whoever is interested in helping out, please do so. <3 

 #testing #discuss #help #interview
The curious case of tomorrow
Tags: discuss, personal, improvement, growth
Published: 2022-03-01 08:59:41

---
title: The curious case of tomorrow
published: true
description: Instead of waiting for tomorrow, why not start today?
tags: discuss, personal, improvement, growth
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/szg47r3v1ggukn5n16v4.jpg
---

This may come as a shock to learn that (as reported [here](https://www.webmd.com/stroke/news/20180124/many-stroke-survivors-dont-improve-health-habits) - and there are many similar reports, just Google them):

> Fewer than 1 in 100 stroke survivors met all seven heart-health goals identified by the American Heart Association. And just 1 in 5 met four of those goals.

James Clear [wrote the other day](https://jamesclear.com/3-2-1/february-24-2022):

> If you'd like to do something bold with your life, you will have to choose to do something bold on a specific day. There is no perfect day. There is no right time. For the trajectory to change, there has to be one day when you simply make the choice.

So, I really wonder, how sick and tired of something we need to be in order to change that something for the better?

Instead of waiting for tomorrow, why not start today?

---

_Originally published on [my blog](https://www.nikola-breznjak.com/blog/daily-thoughts/the-curious-case-of-tomorrow/)._

This is [why I write](https://www.nikola-breznjak.com/blog/daily-thoughts/why-do-i-write-these-daily-thoughts-posts/) these 'daily thoughts' posts.
Protect Excel Files
Published: 2022-03-01 08:55:23

---
canonical_url: https://ironsoftware.com/csharp/excel/examples/protect-excel-file
---

When you share an Excel file with other users, you may want to protect a worksheet to help prevent it from being changed.

IronXL allows you to both Protect and Unprotect any Excel `WorkSheet` with a single line of C# code.

**C#:**
```cs
using IronXL;
 
WorkBook workbook = WorkBook.Load("test.xlsx");
WorkSheet worksheet = workbook.DefaultWorkSheet;
 
//This is how we can protect the worksheet setting the password to it
//Users will then need to know this password to edit the worksheet in Excel.
worksheet.ProtectSheet("password");
workbook.Save();
 
//This is how to unprotect the worksheet and remove any password locks 
//It works even if you do not know the password!
worksheet.UnprotectSheet();
workbook.Save();
```

**VB:**
```
Imports IronXL
 
Private workbook As WorkBook = WorkBook.Load("test.xlsx")
Private worksheet As WorkSheet = workbook.DefaultWorkSheet
 
'This is how we can protect the worksheet setting the password to it
'Users will then need to know this password to edit the worksheet in Excel.
worksheet.ProtectSheet("password")
workbook.Save()
 
'This is how to unprotect the worksheet and remove any password locks 
'It works even if you do not know the password!
worksheet.UnprotectSheet()
workbook.Save()
```
Access overwritten built-in functions in PHP
Tags: php
Published: 2022-03-01 08:26:22

PHP has many built in functions. Normally you can’t override them. The only exception: If you’re in another namespace. But how can you then access the real function again? Simply add a backslash before the functions name and the built-in function get called.

Example:

```php
<?php  
    namespace test{
        function phpversion(){
            return "Not the real phpversion";
        }
        echo phpversion()."<br />";
        echo \phpversion()."<br />";
        echo phpversion()."<br />";
    }
?>
```

This will output something like:

> Not the real phpversion
> 8.0.0
> Not the real phpversion