teleren/devto huggingface dataset:
Private Blockchain Development
Tags: privateblockchain, blockchain, blockchaintech
Published: 2019-03-06 07:07:59

---
title: Private Blockchain Development
published: true
description: Develop your own private blockchain with bitdeal, and move your business data in to decentralized network.
tags: privateblockchain,blockchain,blockchaintech
---

Blockchain technology is one which constantly bring changes over the entire world . Initially blockchain is used for cryptocurrency transcations .But now , blockchain is used in various industry verticals because of its nature .
Blockchain is known for its nature of scalability , interoperability, liquitidy,flexibility  and security . This features of blockchain has made it to be used in various industries . According to the usecases blockchains are 

classified as 

1. Private Blockchains and 
2.Public Blockchains 

## Difference between public and private blockchains :

**Public Blockchains:**

The blockchains that allows to use the decentralized concept of blockchain technology to the fullest is known as public blockchain . The cryptocurrency and bitcoin transactions are carried over public blockchains.

**Private Blockchains :**

Private Blockchains are one which limits the decentralization concept of blockchain technology and it only allows authorized individuals to access, read/write inside the blockchains.

This private blockchain technology paved the way for the use of blockchain in all kinds of industries . It also reduced the issues that are in public blockchain.
In private blockchain , only allowed or authorized individuals can only access the details of transactions and it reduses the number of nodes involved in an transactions. This inturn reduces the problems of scalability and liqudity.

To get more knowledge about private blockchain , just read the blog : [Private Blockchain Development Company](https://www.bitdeal.net/private-blockchain-development-company)

# Bitdeal - Private Blockchain Development Company :

Bitdeal is the pre-eminent private blockchain development company who can help you in deploying private blockchain We are having a troop of expert blockchain developers, who are familiar with custom blockchain application development for different types of industry verticals.

Get a free demo for your [Private Blockchain Development Now](https://www.bitdeal.net/blockchain-development)!!!
Fixing Exec-PHP (WordPress Plugin) With PHP 7.2
Tags: execphp, wordpress, php, migration
Published: 2019-03-06 06:37:45

---
title: Fixing Exec-PHP (WordPress Plugin) With PHP 7.2
published: true
description: This post is about fixing errors of "Exec-PHP" plugin running in the latest WordPress with PHP 7.2. The plugin enabled us to execute PHP code directly in posts or pages. It is out of date because of one of the PHP 7.0's backward incompatible changes. How to fix is to modify plugin code directly.
tags: exec-php, wordpress, php, migration
---

## This post is about

This post is about fixing errors of "[Exec-PHP](https://wordpress.org/plugins/exec-php/)" plugin running in the latest [WordPress](https://wordpress.com/) with [PHP](http://php.net/) 7.2.

## What happened

I upgraded PHP version from 5.6 to 7.2 in the server hosting WordPress sites for my customer the other day.

One of the sites used Exec-PHP which enabled us to execute PHP code directly in posts or pages.

Unfortunately, it was out of date.
The last update was 9 years ago and it was based on PHP under 7.
The plugin is officially deprecated for security issue and has vanished from WordPress [Plugins](https://wordpress.org/plugins/) pages since the end of the last year.

Anyway, my customer had used it and the service was still on.
I needed to find the way to carry out both server migration and service continuation.

## Why it errors

It's because of one of the PHP 7.0's backward incompatible changes, that:
"[New objects cannot be assigned by reference](http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other.new-by-ref)".
This is forbidden:

```php
class C {}
$c =& new C;
```

## How to fix it

#### Use alternative plugin

It would have been an almost ideal way if something had been found.

#### Modify plugin code directly

Remove '&' from '=&' like this:

```diff
- $c =& new C;
+ $c = new C;
```

All of the targets are in `wordpress/wp-content/plugins/exec-php`:

- `exec-php.php`
    - line 22
- `include/admin.php`
    - line 53, 56, 57, 63, 64, 79 
- `includes/ajax.php`
    - line 64
- `includes/cache.php`
    - line 22, 39
- `includes/manager.php`
    - line 36, 37, 38, 39

For example, modify `exec-php.php` line 22 like this:

```diff
- $GLOBALS['g_execphp_manager'] =& new ExecPhp_Manager();
+ $GLOBALS['g_execphp_manager'] = new ExecPhp_Manager();
```

## After all modification and testing

The WordPress site worked well with modified Exec-PHP as it had.
My customer is satisfied with the new server so far : )
Customize Visual Studio Code UI colors on top of a theme
Tags: vscode, vscodetheme
Published: 2019-03-06 06:37:08

---
title: Customize Visual Studio Code UI colors on top of a theme
published: true
description: Customize any parts of your VS Code window with any color you want.
tags: vscode, vscode-theme
---

Are you unsatisfied with your favorite vscode theme just because of how a certain UI looks? I was in the same situation. Sometimes I want to increase the contrast between text and the background. 

In this article, I will show you how to customize every element of your vscode window without writing any advance code.

What we will do is, we will install and hack a vscode extension called Window Colors.

Extension Url: https://marketplace.visualstudio.com/items?itemName=stuart.unique-window-colors

The main purpose of this extension (i guess) is to assign a unique color for each window so that you can identify each of them when alt-tabbing and it works really great.

Upon installation, this extension will create .vscode folder in your project root, and inside that folder, it creates the settings.json file. You could commit this file or not that's upon your wish. My suggestion is to ignore .vscode folder in the global gitignore file.

Now let's dive into the settings.json inside the newly created .vscode folder.

You will see a json like below

``` "workbench.colorCustomizations": {
    "activityBar.background": "#13332E",
    "titleBar.activeBackground": "#19423B",
    "titleBar.activeForeground": "#F6FBFB"
  }```

Now go to https://code.visualstudio.com/api/references/theme-color and try any of the customizable property listed in this page. You will see tons of property that you can just add into this json.

For example, to change the editor background, I just add "editor.background": "#020531". 

To change the sidebar background, again I just add "sideBar.background": "#3d003f".

That's simple right. That's all that I can share for now.

Have a great day.
Nevertheless, Erin Coded
Tags: wecoded, thinkshecoded, womenwhocode, womenintech
Published: 2019-03-06 05:29:32

---
title: Nevertheless, Erin Coded 
published: true
tags: shecoded, thinkshecoded, womenwhocode, womenintech
cover_image: https://thepracticaldev.s3.amazonaws.com/i/j7v77ko7d5u42th87ca2.png
---

Shine theory continues to permeate my life and, reflecting back on that this International Women's Day, has made me eternally grateful for all of the folks in my life who push me to be a better person and who I can support in return. 

From the [Shine Theory website](https://www.shinetheory.com/):

> Shine Theory is an investment, over the long term, in helping someone be their best self—and relying on their help in return.

As of today, I am one sprint in to my first project as a technical lead.  When doing our retrospective earlier, we anonymously write down 3 positive things and 3 things we can improve from the past 2 weeks.  Three separate people wrote that something to the effect of "Erin is doing a great job as tech lead!"

Imposter syndrome is no joke and is something I grapple with all👏the👏damn👏time.  I wanted to take a picture of those notes and stick them up on my monitor. Everyone needs reminders that.  So here it is: 

**You are doing a good job and that you are killing it by just being yourself.** 


## I continued to code in 2019 because...
I like creating silly little applications that don't really do anything and learning one new thing every day.

## I am proud of...
Working in my spare time to draft conference talks.  They might not be accepted anywhere but it's been great practice brainstorming creative ways of explaining concepts to a general audience. 

Driving the accessibility initiative at work. We still have a long way to go but at least now accessibility is more front of mind for people than before.

## I hope to see my developer community...
Be more like the community here on dev.to. I've been truly impressed with the culture fostered on this platform and am never afraid to publish content for fear of rude comments.
React Native Props Example
Tags: react, reactnative, android, javascript
Published: 2019-03-06 04:58:16

---
title: React Native Props Example
published: true
description: React Native Props Example
tags: #react #reactnative #android #javascript
---

---
source : <a href="https://www.skptricks.com/2019/03/react-native-props-example.html" > React Native Props Example</a>
-----

This tutorial explains how to create react native props in react native application. This props helps to pass the information from one component to another component. React and React Native is component based. We divide the complex UI into basic components. After developing the basic components we again adds all these components to create a complex UI which also called as complex component. React and React Native controls the data flow in the components with state and props. The data in states and props are used to render the Component with dynamic data.

<a href="https://www.skptricks.com/2019/03/react-native-props-example.html" > React Native Props Example</a>

<img src="https://4.bp.blogspot.com/-t105Zz8ejv0/XHv68Mpg0_I/AAAAAAAACfw/FDeb2_SM7Dw3XqhQBcOEpQBv8kst8KG9wCLcBGAs/s640/props.png" />
What is IIFE in JavaScript?
Tags: javascript
Published: 2018-09-15 13:18:11

---
title: What is IIFE in JavaScript?
published: true
description: 
tags: Javascript 
---

The first time I heard 'IIFE' in my Coding Bootcamp class, it immediately reminded me of my sister's dog 'Yeffi' which means 'pretty' in some human language.

So what is IIFE in JavaScript language?

IIFE stands for Immediately Invoked Function Expression. It is a JavaScript function that runs as soon as it is defined.

Normally, when we create a function using 'Function Declaration' or 'Function Expression', we need to call the function in order to use it.

<pre>
Function Declaration:

function myFunction(p1, p2) {
    return p1 * p2;
}
alert(myFunction(4, 3));
//12

Function Expression:

let myFunction = function(p1, p2){
    return p1 * p2;
}
alert(myFunction(4,3));
//12

</pre> 

However, in IIFE, the function is wrapped in a parenthesis which makes it a function expression followed by () which tells the JavasScript compiler to invoke or call immediately.

<pre>(function() {
   let dName = "Yeffi";
   alert(dName);
}
)();
//Yeffi
</pre>


So why do we use IIFE?

Mainly because of privacy. Any variables declared inside the IIFE are not accessible from the outside world.
<pre>
(function() {
   let dName = "Yeffi";
}
)();

console.log(dName);
//  Uncaught ReferenceError: dName is not defined
</pre>

If you try to access the dName variable outside of the IIFE, you get the error message as you can see above. All the variables inside the IIFE stay within the scope of the function.
Also, it protects the global namespace by not creating a named function. When a named function lingers in the global namespace, it could accidentally be called again. However, since IIFE isn't a named function, it can't accidentally be called. This will avoid any potential security implications. Therefore, many JavaScript libraries use this technique nowadays.

Thanks for reading!
View On-Device Files With Device File Explorer 
Tags: android
Published: 2019-03-06 04:56:41

---
title: View On-Device Files With Device File Explorer 
published: true
description: View On-Device Files With Device File Explorer
tags: #android
---

---
source : <a href="https://www.skptricks.com/2019/03/view-on-device-files-with-device-file-explorer.html" > View On-Device Files With Device File Explorer</a>
---

The Device File Explorer allows you to view, copy, and delete files on an Android device. This is useful when examining files that are created by your app or if you want to transfer files to and from a device.

Note: Most device data is not visible unless you are using a rooted device or an emulator with a standard Android (AOSP) system image (not one of the Google APIs or Google Play system images). And when using a connected device, be sure you enable USB debugging.

<a href="https://www.skptricks.com/2019/03/view-on-device-files-with-device-file-explorer.html" > View On-Device Files With Device File Explorer</a>

<img src="https://3.bp.blogspot.com/-TeueK7t2CLM/XHuvxmfwXYI/AAAAAAAACfU/JW_I_hObkGUi3nVkyExFgOjpR286f2JmwCLcBGAs/s640/11.PNG" />
React Native Installing Realm Mobile Database in Android or IOS
Tags: react, reactnative, javascript, android
Published: 2019-03-06 04:55:10

---
title: React Native Installing Realm Mobile Database in Android or IOS
published: true
description: React Native Installing Realm Mobile Database in Android or IOS
tags: #react #reactnative #javascript #android
---

---
source : <a href="https://www.skptricks.com/2019/03/react-native-installing-realm-mobile-database-in-react-native-application.html">React Native Installing Realm Mobile Database in Android or IOS </a>
---

When Realm was launched in 2014, the goal was to help mobile developers build better apps faster by giving them a robust alternative to SQLite and Core Data. The Realm Mobile Database is a cross-platform database solution that can be used as an alternative to SQLite and Core Data. Compared to these two options, Realm is easier to set up and use. To perform the same operation in Realm, you usually end up writing fewer lines of code than you would with SQLite or Core Data. On performance, Realm is said to be faster and it also offers other modern features such as encryption, JSON support and data change notifications.


What is Realm ?
Realm is not an ORM, and is not built on top of SQLite. Instead we’ve built a full database for mobile app developers, one that uses native JavaScript objects that are dynamically mapped to a full, custom database engine (not just a key-value store). This allows us to provide a simple API while preserving performance. With Realm, you can model complex data, link objects in a graph, and compose advanced queries.

<a href="https://www.skptricks.com/2019/03/react-native-installing-realm-mobile-database-in-react-native-application.html">React Native Installing Realm Mobile Database in Android or IOS </a>

<img src="https://4.bp.blogspot.com/-okk5JgaImFQ/XHtlV1BjwxI/AAAAAAAACfE/9JU15cNQtBwOazFFinD1r8qkAzWsLjtjwCLcBGAs/s640/insert.png" />
Methods of Software Testing
Tags: testing
Published: 2019-03-06 04:53:39

---
title: Methods of Software Testing
published: true
description: Methods of Software Testing
tags: #testing
---

---
source : <a href="https://www.skptricks.com/2019/03/methods-of-software-testing.html" > Methods of Software Testing</a>
---

There are three methods of software testing available namely Black Box Testing, White Box Testing and Grey Box Testing.

Black Box Testing
White Box Testing
Grey Box Testing

<a href="https://www.skptricks.com/2019/03/methods-of-software-testing.html" > Methods of Software Testing</a>

<img src="https://1.bp.blogspot.com/-OgdRCX2BD_c/XHoN7vsEn7I/AAAAAAAACew/Akv4n998zl0EB8GH8OxOvdTBGqWlHd-wwCLcBGAs/s640/software.png" />
video game ep1 Game design document
Tags: thetealpickle, beginners, gamedev, videogames
Published: 2019-03-06 04:47:24

---
title: video game ep1 Game design document
published: true
description: made a game design document
tags: #thetealpickle #beginners #gamedev #videogames
---

I'm building a video game. 

Where am I? -> Made a game design document.
How I Got Started
Tags: wecoded
Published: 2019-03-06 03:42:26

---
title: How I Got Started 
published: true
tags: shecoded
---

I wrote my first line of code when I was 19 or so, for a class called _Computing for Civil Engineers_. We used MATLAB which was really a shame for the following reasons:

1. There wasn't a ton of information available online (although maybe I wasn't sure how to find it). 
2. It was not open source and my license only lasted through the semester, so I never saw it as anything that I could use beyond that one class. I did not have hundreds of dollars burning a hole in my pocket to buy a license myself.

But it was a magic class! Did you know that you can get a computer to **estimate pi for you** using different methods and that I could get a grade for writing code that does that?!? 

It walked out of that class with an A and forgot about coding for a couple of years. Coding came calling in grad school though, also in the form of MATLAB. (Note to academics, is it possible to switch to Python and SciPy? Do yourself and your students a favor!) But I greeted coding as an old friend--especially since in grad school I was solving more complex problems that really required a computer. 

After grad school, I started work as a structural design engineer and eventually got licensed as a Civil Engineer in the state of California. It was a little while before coding found me again, but I am glad it did. 

I made a career change, worked as a web developer for nearly 4 years, and recently started a job as a developer advocate. So far it has been a good step, I have been able to write code, speak at conferences, write articles, and learn a lot about security. Developer advocacy requires a mix of creative, technical, and interpersonal skills and I really like it. I am glad I persisted. I am glad I coded. 

How did you get started?
How do you feel about take home exercises for job interview?  
Tags: discuss, career, interview, coding
Published: 2019-03-06 03:40:31

---
title: How do you feel about take home exercises for job interview?  
published: true
tags: discuss, career, interviews, coding
---

I know some companies advocating them, but I heard from some candidates/friends that they don't like them because: 

Often times the company say the problem should take half a day, but it actually takes a lot longer if you really want the job. Assume two solutions are both functional, the evaluator will compare things like comments, code style, all test cases (unit and all coverages) written out, etc. To get all those things perfectly polished takes a lot of time. 

Those little polishing tasks are really time draining/boring work, rather than actual intellectual problem solving. 

What are your thoughts?
Opensource Android Code Snippets in Java
Tags: opensource, android, coding, java
Published: 2019-03-06 03:34:45

---
title: Opensource Android Code Snippets in Java
published: true
description: Android app to help developers to get ready to use code snippets
tags: #opensource #Android #coding #java
---

Android Code Snippets app is an opensource app to help all Android app developers with ready to use code snippets written in Java. I created it for me but made it opensource to collaborate with other developers and help each other with ready to use code.

You can help develop the app and resources further by collaboration on its Github repo ([https://github.com/DevAbanoub/java_code_snippets](https://github.com/DevAbanoub/java_code_snippets)).

You can just install it on your Android smartphone to use the ready to use code samples from Google Play Store ([https://play.google.com/store/apps/details?id=com.abanoubhanna.java](https://play.google.com/store/apps/details?id=com.abanoubhanna.java)).

## My thoughts and Plans for this App
I am planning to add **basic code snippets**, then **ready to use functions** such as _copy to clipboard function_ or _get file from assets function_, then add some **ready to use classes** such as _Database Helper class_, _PDF Manipulation Class_. And finally some **Android libs usage samples**.

Thanks for reading this post. I hope you like this app idea, and see you on Github.
I'm Juan Gonzalez , and I support all women devs.
Tags: wecoded
Published: 2019-03-06 03:13:20

---
title: I'm Juan Gonzalez , and I support all women devs.
published: true
tags: shecodedally
---

## I will advocate for gender equality by...
Championing the cause to make all women and everyone else that is an underrepresented minority in the tech field, either through giving, advice, mentoring, sharing resources & experiences and making others aware of the situation so we can have an industry where everyone can feel welcomed and those who don't promote the same spirit feel ashamed for putting others down.

## I hope to see my work/developer community...
Understand that we can all be part of this industry regardless of gender or affiliations, promote the work of others without prejudices of who was the author and work together to promote the culture of support and shame the use of exclusion.

## My advice for fellow allies is...
To stand and speak up for those who can't or is not easy to do so, to be actively involved in the solution and not contribute to the problem by not doing anything. Call out those who are making others feel uncomfortable and unwelcome with their actions or words because coming from and underrepresented minority, I know how bad it is to face discrimination in an area in which one wants to do something and stand out from the crowd. 

That being said, for anything else I can contribute with I'm open to talk about it and be an ally, my messages are open, my contact links are in my profile and I put to disposition my network of contacts and people I know in the software industry.
Free Speech on Twitter
Tags: discuss
Published: 2019-03-06 02:08:37

---
title: Free Speech on Twitter
published: true
description: 
tags: discuss
---

{% youtube DZCBRHOg3PQ %}

Twitter boss Jack Dorsey and Vijaya Gadde, who oversees content moderation sit down of Joe Rogan podcast. Tim Cook is there as well. Many topics are discussed.  Food for thought.
Code Ahead by Yegor Bugayenko
Tags: books, coding, management
Published: 2019-03-06 01:26:09

---
title: "Code Ahead by Yegor Bugayenko"
published: true
description: "This is a book about the real mess of the office"
tags: [books, coding, management]
---
[Code Ahead](https://amzn.to/2sabi9v), what shall I call you? You are a novel. A fiction. Yet according to you, you're semi-autobiographical. You are a rather exact picture of how things go in software development. Yet you're also a manifesto of how things should go instead. You give lots of pieces of advice on "programming, debugging, releasing, testing, organizing, teamwork and management issues".

First, I find a bit difficult to read you because of the tons of footnotes which take up sometimes more than half of the page. You use a lot of references and explanations. But I realized that I should read those in a second run when I'd update my reading list. You provide a lot of values. Focusing just on the main text first made you very enjoyable.

In fact, I think even though that your author is a software architect he is also a rather gifted writer. Maybe he could write a similar book that greater masses would find entertaining. Maybe it wouldn't be entertaining at all without the wry humour about software architecture and management that he knows well. Who knows, maybe Yegor should try. While the posts on [his blog](https://www.yegor256.com/) ~~sometimes~~ often are very provocative, on your pages the same ideas are less harsh and rather act as food for thought.

[Code Ahead](https://amzn.to/2sabi9v), I am waiting for your next volume, even though I find almost 41 bucks quite a lot for you. In the end, it's no more than a couple of double lattes with rainbow dust.

_This article has been originally published on [my blog.](http://sandordargo.com/blog/2019/03/06/code-ahead)_