teleren/devto huggingface dataset:
ERP for Security Guard companies | Free Demo Canticle india
Published: 2020-02-27 09:28:38

Canticle india provide best software services all over india like payroll software, Customized Software Development, Payroll software for facility Management Companies, Payroll software for Housekeeping Companies, Online Payroll for Security Companies, Online ERP for Security Companies, Online Payroll software, ERP for Security company, ERP for Security Guard companies, Cheap payroll software, Affordable payroll software, Employee tracking, Mobile apps, Leave management, Payroll software Multi National companies, Payroll software MNC,
https://canticleindia.com
Making new project on React js and getting weird errors
Tags: react, npm
Published: 2020-02-27 09:25:36

I follow all the steps approximately 10 times but cant get solution .. Can you help please to sort this out
I am following steps
npm install -g create-react-app
create-react-app reactD
cd reactD
npm start

other::
npx create-react-app reactD
cd reactD
npm start

I had also clean cashe 
and try with both yarn and npm but cant get proper solution

Atlast I put SKIP_PREFLIGHT_CHECK=true in .env file but It is not the right way it may give errors next.. If you know the solution please share with me
How to easily validate your PHP inputs data
Tags: php
Published: 2020-02-27 08:52:17

---
title: How to easily validate your PHP inputs data
published: true
description: 
tags: PHP
---

Hello Guys, so a year ago I've published my #PHP framework that I've been working on it in the last 2 years(https://github.com/akiyamaSM/chibi). And one of the components I've enjoyed working on was the validation.It was sad for me not to be able to use it in further projects because it was coupled to the framework itself.
That's why I decided to rewrite it as a standalone php package, That I'll be happy to see you guys using it or at least give it a try.

It still lacks to many rules, that we will be gradually adding them. but the good thing is that it is fully customizable. 

Here is the link of the github repository where you can find the instructions on the installation and its usage.

https://github.com/akiyamaSM/PHPValidate


Looking forward for your stars and PR!
Can we assign css to dynamic Generated Classes? YES we can
Tags: css, javascript, html
Published: 2020-02-27 08:48:32

I have a class called .form-123 where the number changes every time the screen is refreshed. Is there a way to define this field (say background-color or margin) in the CSS?

*Yes it is possible just by using CSS only, and there is 3 ways to do that*


![Alt Text](https://media.giphy.com/media/XtEFDhE79TqO4/giphy.gif)


**Option #1 - Match by prefix value**

Use CSS Class selector ^="class" which select all elements whose class is prefixed by "form-"

example

```
[class^="form-"] {
  background: red;
  height: 100px;
  width: 100px;
  margin: 10px 0;
  display:block
}
```

```
<div class="box-123"></div>
<span class="box-124"></span>
<article class="box-125"></article>
```

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/t3n505wekhfiruzvey2z.png)

**Option #2 - Match by contains at least one value**

Use another CSS class selector *="class" (equivalent to CSS attribute selector) which select all elements whose class contains at least one substring "form-".

```
[class*="form-"] {
  background: red;
  height: 100px;
  width: 100px;
  margin: 10px 0;
  display:block
}
```

```
<div class="form-123"></div>
<span class="form-124"></span>
<article class="form-125"></article>
```
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/t3n505wekhfiruzvey2z.png)

**Option #3 - Add an additional class to the element, then both those elements will have the class' CSS attributes:**


```
.form-123 {
  background: blue;
  height: 100px;
  width: 100px;
  margin: 10px 0;
  display:block
}
```

```
extra-class {
  background: blue !important;
}
```

<div class="form-123 extra-class"></div>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/n86liu5cybe5toqivu2q.png)


![Alt Text](https://media.giphy.com/media/x49M1pscyWsC21ea8w/giphy.gif)
【WordPress】前後のページリンクとタイトルを取得
Tags: wordpress, php
Published: 2020-02-27 08:30:58

prev
```
<?php previous_post_link('%link', '« %title'); ?>
```

next
```
<?php next_post_link('%link', '» %title'); ?>
```

あとはCSSで整える

```
<p>前のページ</p>
<?php previous_post_link('%link', '« %title'); ?>
<p>次のページ</p>
<?php next_post_link('%link', '» %title'); ?>
```
NPM Preview Releases with Bitbucket Pipelines
Tags: bitbucket, npm
Published: 2020-02-27 08:13:50

If you maintain node packages, it is useful to provide pre-releases for testing purposes. The maintainers of [React](https://www.npmjs.com/package/react), have an interesting solution for this:

```
Current Tags

16.13.0                         latest
0.0.0-d28bd2994                 next
0.0.0-experimental-d28bd2994    experimental
0.0.0-57333ca33                 canary
```

The pre-release versions are created as version `0.0.0`, followed by the commit hash. I like this approach, so I implemented it in [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines).

## Bitbucket Pipelines


File: `bitbucket-pipelines.yml`

```yaml
  branches:
    master:
      - step:
          name: Test and Build
          caches:
            - node
          script:
            - yarn install
            - yarn lint
            - yarn test
            - yarn build
          artifacts:
            - dist/**
      - step:
          name: Publish package to npm
          caches:
            - node
          script:
            - sed -i 's/\"version\":.*/\"version\":\ "'0.0.0-$BITBUCKET_COMMIT'",/g' package.json
            - pipe: atlassian/npm-publish:0.2.6
              variables:
                NPM_TOKEN: $NPM_TOKEN
            - echo "0.0.0-$BITBUCKET_COMMIT"
```

In the first pipeline step the tests are performed and the package is build. The second step is to replace the version in the `package.json` and release the [npm](https://www.npmjs.com/) package. The version is replaced with `0.0.0`, followed by `$BITBUCKET_COMMIT`. This variable is provided by Bitbucket and contains the commit hash of the commit that started the build.

Bitbucket already provides a [Docker](https://www.docker.com/) image ([`atlassian/npm-publish`](https://bitbucket.org/atlassian/npm-publish/src/master/)) for the publishing of npm packages.

It's necessary to create a secure environment variable called `$NPM_TOKEN`. If you are not familiar with it, you can find the documentation [here](https://confluence.atlassian.com/bitbucket/variables-in-pipelines-794502608.html).

🎉 Now every commit on the `master` branch will create an npm pre-release. The version can be found in the pipeline log:

```
+ echo "0.0.0-$BITBUCKET_COMMIT"
0.0.0-ae61b0bc5a03b0189a0bf2683b9e1f24f35d68c6
```
Nikema's 100 Days of Code - Day 8-11
Tags: 100daysofcode
Published: 2020-02-27 08:05:17

I applied for a job yesterday. It was actually fun. #DreamJobsOnly

I've been working on a WordPress site with a React front-end for the past few days. 

I didn't think when I started this challenge that I would be writing PHP and ruby. It's interesting to see what shape things are taking. I knew I wanted to practice git and writing documentation. I didn't know that I'd have reason to be writing in several languages at once.

In the past week, I've written JavaScript, PHP, Ruby, and Swift. PHP is the hardest for me syntax-wise. It's just hard to look at. I'm sure I can learn and get used to it. 


{% twitter 1232933301721034753 %}
Which is the best company for web and mobile application development services?
Tags: webdev
Published: 2020-02-27 08:03:15

As a developer, more than often I get asked this question: "Which is the best company for web and mobile application development services?"

I like how this question is simple and straight forward, however quite broad. There are numerous companies offering web and mobile app development services and one simply cannot pick one and deem it best. It entirely depends on your requirements and how good they cater to it, or have the history of doing so. 
For me, AppVerticals has been a great experience, for a number of reasons. 
 
### #1 Their tech stack 
As a developer myself, I will chart this as number one since they hold an extensive tech stack for all the services they provide. Which are in a broader sense: Web and Mobile App Development and eCommerce development. 
A great way to choose a company is to consider the technologies they are using, and AppVerticals is at the top of their game. Am I sounding like a fan yet? You will too, once you do your research on them. 

### #2 Services they offer
*•	For your mobile app needs, they provide: iOS App Development, Android App Development, Windows App Development, and Mobile App Design.*
*•	For your website needs, they provide: Website App Development, Wordpress Web Development, Joomla Web Development, PHP Development, Node JS Development, and UX Design Services.*
*•	For your eCommerce needs, they provide: Ecommerce Web Development, Ecommerce Mobile Application, Magneto Development, WooCommerce Development, Shopify Development, and OpenCart Development.*

### #3 Dedicated Teams 
Dedication here doesn’t just mean the usual overused term for being passionate about your work. The teams at AppVerticals are skilled professionals that take on their clients’ projects with responsibility and deliver a great final product that has gone through the followings steps: 
*•	Concept Assessment* 
*•	Concept Workshop*
*•	Rapid Agile Development*
*•	Support and Maintenance* 
*•	Growth Hacking (They also offer services that make sure your product is achieving the goals your company set for it, along with product’s after-care services)*
Rest assured your idea will be materialized with the best development and research practices involved. 

### #4 Testimonies, Client Base and Overall Portfolio 
This is the best way to inspect their work in totality and check the experiences of other clients through testimonies. AppVerticals will not disappoint as they are transparent and cooperative in providing everyone with an honest walkthrough.
 
These were my top 4 picks as to why AppVerticals has been a great company to work with.
Gérer les erreurs en Go 1.14+
Tags: go, errors, exceptions
Published: 2022-01-06 19:39:14

---
title: Gérer les erreurs en Go 1.14+
published: true
date: 2020-02-27 07:33:23 UTC
tags: ['go', 'errors', 'exceptions']
canonical_url: https://blog.riff.org/2020_02_27_error_handling_in_go_114_french
---

- [Google Go = Golang](https://blog.riff.org/topic/computing/golang)
- [Golang Paris](https://blog.riff.org/taxonomy/term/245)

La gestion des erreurs a été beaucoup enrichie en Go 1.13 et ses améliorations ont commencé à être appliquées en Go 1.14.

Cette présentation, donnée au meetup Golang Paris chez Deezer le 26/02/2020 présente les mécanismes standard `error`, les tentatives d'évolution `check / handle` et `try / defer`, et le mécanisme d'_error wrapping_ finalement validé depuis Go 1.13.

{% speakerdeck ca1b83e7e72240a39b2748b029235f0b %}
Career in Freelancing
Tags: ruby, rails, career, webdev
Published: 2020-02-27 06:42:11

Just want some advice regarding starting freelancing work.. I am learning ruby and ruby on rails.. Rails is not that popular like it's used to be.. but I wanna do a job in rails anyway because that is what I like.. So my question is what career advice you(rails) developers would like to give newbies.. what's the status of rails in freelancing world?? not enough jobs of rails I know but I want to do a work in which I am interested because that's where you can make awesome projects.. Waiting for your replies.. Thanks
Snake Oil DevOps – BEWARE!
Tags: devops
Published: 2020-02-26 13:15:15

---
title: Snake Oil DevOps – BEWARE!
published: true
date: 2020-02-25 01:06:49 UTC
tags: DevOps
canonical_url: https://chrislayers.com/2020/02/24/snake-oil-devops-beware/
---

![](https://chrislayers.files.wordpress.com/2020/02/image-10.png?w=297)

As a DevOps Consultant a lot of what I do is spent on People and Processes. If you remember the definition of DevOps that I love is from [Donovan Brown](http://donovanbrown.com/post/what-is-devops), “DevOps is the union of  **People** ,  **Processes** , and  **Products**  to _continuously deliver  **value** _ to our end users”. I want to keep reiterating this, _continuously deliver value to our end users_. I bring this up because my job as a DevOps Consultant is to delivering value to my end users. But not all of us do. My amazing coworker ([@\_s\_hari](https://twitter.com/_s_hari)) and I have discussions about this quite a bit. As far as I know, he coined the term and gave me his blessing to blog about it.

A lot of what I do is focused on enablement. I don’t want to come in and setup 2 pipelines for a user, or just do board customizations on 3 board. I want to educate my end users. I want them to learn and apply it after I’m gone. I want to see the lightbulb go off, and the gears turning. I want them to continue on their journey and call me back at the next roadblock miles down the road, not the same one 5 feet away. I might focusing on training, or streamlining the workflow. Whatever is going to help them the most at that point in time.

![](https://chrislayers.files.wordpress.com/2020/02/220px-clark_stanleys_snake_oil_liniment1.png?w=220)<figcaption>Snake Oil</figcaption>

But, like days of old, there are those trying to make a buck at any cost. We come across them or hear about them from customers time to time. People and Processes aren’t part of the discussion. Instead the discussion centers on the tool. Snake Oil, The secret sauce, the magic technology, the silver bullet, the tool that will solve all your problems.

Have you ever heard any of theses statements/promises/lies?

- If you buy this list of tools, you’ll be/have/do DevOps.
- You can’t do DevOps without X tool.
- You need to do Containers to do DevOps
- Jira/Service Now/GitLab/Azure DevOps/GitHub/Excel/Post-its is the only way to track work
- If you buy this monitoring tool all your bugs will get caught

Notice the lack of discussion about the company/business/team. What the business, what is important to the end users? How do you work? What are the processes to take a new idea, let the team work on it, and get that code into production? How do you know its running ok in production? Do you know if the end user uses your new feature?

When someone just focuses on the tool, they don’t care about helping you to improve, your journey, or the actual outcome. They want to continuously deliver the value of your _wallet_ into theirs.
The great challenge of new programmer 
Published: 2020-02-27 05:16:59

Why I decided to write the post ... You will discover soon. 

##Introduction
The most of programmer thinks that the great challenge is learning the newest language launched, but the biggest challenge of any programmer is self-promotion, what it means, it's very difficult for the professional to sell the solution that solves the problem.

The real value of you job inst be in the code but in the solution that you can design for you client's problem so to convincing you should show to him the real benefits of your solution to the problem, in the most of cases lower the price inst the better way for the situation,  because you will work more for much less money in the most of cases.
Should I learn MERN stack?
Tags: javascript, webdev, codenewbie, node
Published: 2020-02-27 01:13:23

I'll try to be as brief as possible and hope this isn't off-topic. I started learning JavaScript this year (1st Jan). After a couple of weeks learning the basics of JavaScript, I decided to start learning Node.js because I prefer backend. I even purchased a couple of Node courses on Udemy.

The problem is I hardly, if ever see anyone on any job threads either here or on twitter mention Node in isolation when listing their skillset. It always includes (in addition to HTML and CSS) some frontend framework like React/Vue/Angular etc, or some backend language like PHP/Ruby. Is this because frontend jobs are more popular?

I'm still midway through the Udemy course ( by Andrew Mead) which contains about 180 videos, so I'm yet to see how it all comes together, but I'm beginning to think it would be insufficient and I need to learn a frontend framework.

Should I learn a 'proper' backend language like Python/PHP or just learn React? Is just knowledge of Node enough to get a job? I need all the advice I can get now because I have just a bit of money at the moment to invest in educational materials,BUT I have up until June before I'm no longer self-sufficient and every second counts. Thanks
Les nouveautés de RIDE V4 sur la Blockchain WAVES
Tags: blockchain, wavesplatform, ridev4, smartcontract
Published: 2020-02-27 04:09:42

Bonjour à tous,

Aujourd'hui je vous propose une nouvelle vidéo vous présentant l'ensemble des fonctionnalités à venir avec la nouvelle version 4 de #RIDE, le langage de programmation des Smart Contract de la Blockchain WAVES

https://www.youtube.com/watch?v=LOPkmsgKQTQ

Pour apprendre à développer des applications décentralisées sur la Blockchain WAVES :

Youtube : https://www.youtube.com/channel/UC2DS9ktTKWGW3NHHV2Ja3_A
Telegram : https://t.me/wavesdappsFR
Twitter : https://twitter.com/WavesDevFr

https://www.wavesplatform.com
プラグイン不要！WordPressのOGP,Twitterカードを設定する
Tags: wordpress, opg, twitter
Published: 2020-02-27 04:00:13

```
<meta property="og:title" content="<?php echo meta_set('title'); ?>" />
<meta property="og:description" content="<?php echo meta_set('description'); ?>" />
<?php if ( is_home() ) : ?>
<meta property="og:type" content="website" />
<?php else: ?>
<meta property="og:type" content="article" />
<?php endif; ?>
<meta property="og:url" content="<?=home_url().$_SERVER["REQUEST_URI"]; ?>" />
<meta property="og:image" content="★★アイキャッチ画像のURL（PHPで読み込んでもいい）★★" />
<meta property="og:site_name" content="<?php echo meta_set('title'); ?>" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@★★ここにID無ければ空欄★★" />
<meta property="og:locale" content="ja_JP" />
```
【コピペ】WordPressで使える運営者の構造化データ
Tags: wordpress
Published: 2020-02-27 03:57:27

```
<script type="application/ld+json">
{
    "@context":"http://schema.org",
    "@type":"website",
    "name":"★★サイト名★★",
    "inLanguage":"jp",
    "publisher": {
    "@type": "Organization",
    "name": "★★運営者名★★",
    "logo": {
        "@type": "ImageObject",
        "url": "★★ロゴ画像のURL★★"
    }},
    "copyrightYear":"★★2019-01-01T10:50:37+0000★★",
    "headline":"<?php echo meta_set('title'); ?>",
    "description":"<?php echo meta_set('description'); ?>",
    "url":"<?=home_url().$_SERVER["REQUEST_URI"]; ?>"
}
</script>
```
WordPressで固定ページのコンテンツ内容を読み込むPHP
Tags: wordpress
Published: 2020-02-27 03:54:23

```
<?php
$page_data = get_page_by_path('ここにページネーム'); $page = get_post($page_data);
$content = $page -> post_content;

echo $content; 
?>
```

あとは、single.phpなどの任意の場所へ貼り付け
The Beauty of Recursion
Tags: watercooler, computerscience, learning, fromthegroundup
Published: 2020-02-27 03:49:25

There are many posts on the concept of recursion in computer science as well as tutorial examples of implementation in various languages. What I want to write about is (perhaps not as useful) how I came to learn about recursion and why I think it's one of the most beautiful concepts in computer science. 

I learned about recursion in my 1st year of a computer science curriculum in undergrad. It of course involved implementing Fibonacci sequence at first. But then I learned about Tower of Hanoi game as a way to visualize why the idea of recursion is so powerful. For those not familiar, the game involves 3 pegs and disks of varying circumference. The objective is to move all disks from say Peg 1 to Peg 2 while using Peg 3 as a temporary placeholder for the disks. The only rule is that you must place a smaller disk on top of a larger disk at all times on all pegs. 

You can [play the game online](https://www.mathsisfun.com/games/towerofhanoi.html) to get the idea, it's fun :)

The number of moves required to solve a 3 disk game is 7. For 4 disks it's 15 and 5 disks it's 31. The number of moves roughly doubles with each additional disk. So we can easily imagine the number of moves getting out of hand, in terms of being able to keep everything in our head while solving the game manually. And yet, this is the easiest game of solve and get it right each time. Thanks to the concept of recursion:

Solving a 4 disk game is exactly the same as solving a 3 disk game. This is how. Assume the goal is to move all disks from Peg 1 to Peg 2. You start by moving the top 3 disks from Peg 1 to Peg 3 (and you already know how to do that). Then move the last (largest) disk from Peg 1 to Peg 2. Then move the top 3 disks from Peg 3 to Peg 2 *using the exact same process you used to move them from Peg 1 to Peg 3*. Easy right! And here is the mind blowing part, this exact same process applies to any number of disks. You can move 50 disks, 100 disks! (of course may take a some hours).

The reason recursion is not only powerful but beautiful is because it holds some simple wisdom. Break the problem down into a slightly smaller problem and imagine how you'd solve this problem if you already knew how to solve the smaller problem. Pair this with some ground level knowledge (i.e. how to move 1 or 2 or 3 disks) that is trivial to get right, you can solve anything. 

There are parallels of recursion with the concept of `proof by induction` in number theory as well as `NP complete` problems in computational complexity theory. More on that some other time!
Drash - A REST microframework for Deno
Tags: deno, drash, javascript, typescript
Published: 2020-02-27 03:40:45

As Deno's visibility grows, I'm seeing more and more people who are interested in creating Deno HTTP servers so they can build applications. About a year ago I was in the same position and then came Drash. Drash is a REST microframework for Deno. It's loaded with documentation and tutorials and covers many use cases. I recommend (if you're interested) you check it out!

https://drash.land