teleren/devto huggingface dataset:
Is This Your First Time Doing Something? It Is No Big Deal
Published: 2021-05-22 06:27:43

One of the things I noticed that I tend to do is build up a milestone I want to achieve, especially “the first x” and make a big deal about it in my head. Like when I was building Proxies API, I would build this narrative that I couldn’t wait to finish developing. It creates weird anxiety that helps nobody. Then when I finished it, I would make a big deal about “the first customer.”

“If only I can get my first customer…. then it would be xxx”, I would say to myself. Then if it didn’t happen, I would feel desperate for nothing. It is funny, but I wouldn’t make such a big deal about my second customer. Why? There is something weirdly superstitious about the 1st time of anything.

This very act of giving it space in my mind makes it somehow more and more challenging to achieve. Now I have changed my attitude towards the 1st anything.

My first customer happened soon after, and so did the next hundred.

I want to notice milestones in my rearview mirror, never as I reach them, and not anticipate and look for them. I wish to acknowledge signs but never focus on them. I don’t even want to celebrate them too because that tells my brain that the next one is even more difficult and yet significant a deal, and my mind then makes it real. Now when I achieve them, I stand my own as if to say, of course, I realized them.

If you can’t stop making a big deal about the 1st of something, counter it with making a big deal about the 2nd one to mess with your head.

Let’s celebrate the 88th customer rather than the 100th one. The brain will then realize the ridiculousness of its belief and will let go.

The author is the founder of Proxies API, a proxy rotation API service.
What's Your Personal North Star Metric?
Published: 2021-05-17 17:35:22

A year back, I realized that there were days where I would be very distracted and all over the place with my work. There were days where even though I worked ‘hard’ I wasn’t sure the right intentions drove me and there were days that pleased me so much I would be smiling when I finished my workday. I would sometimes even punch the air. It’s almost my body and subconscious know the right thing I should be doing. It has its unsaid metrics, which may not be what’s on your company goals sheet.

Ever since then, I started tracking it. Personally, it’s probably my most accurate north star metric.

I have a simple entry in my notes app on my phone that contains the number of times I have made myself smile with my work. It doesn’t matter what other metrics were achieved or not; it doesn’t matter if the task was a small or big feat. If I am smiling by the end of it, I give myself a point and add it to the total. It need not always be 1 point. 
I remember when I lost 5 of the blog posts I had written because my phone stopped working, and I had not saved it to the cloud. I was so depressed, and I couldn’t write for a couple of days. Then when I finally picked myself up and re-wrote just 1 of those articles, it was such a big feat given the circumstances that I gave myself a broad 5 smiles. Each blog post typically earns one smile because I knew how crucial that I overcame the disappointment was and how important it was to keep the habit going. I am smiling right now because I still am proud of it, and it always makes me happy.

The author is the founder of Proxies API, a proxy rotation API service.
How I Batch My Blogging Process for Greater Productivity
Published: 2021-05-22 06:27:18

Since I launched my startup Proxies API, to date, I have created nearly 100 blog posts here on Medium and our blog combined. I have also posted about 30 articles designed explicitly for communities like Reddit, Quora, and Facebook.

That’s 130 blog posts in a year, bringing it to about 2.5 articles per week.

The consistency is staggering, considering my weekly average in my entire life before this, which was a big fat: ZERO.

One of the things that suddenly helped me get to this sudden level of productivity is merely batching the blogging process.

I divided it into four steps because I believe they are four different brain functions.

a) Hunting for and coming up with a list of ideas to write about

b) Writing the draft with gay abandon

c) Editing and making the selection publish worthy

d) Scheduling and pushing the publish button

So when I started this process, I spent time hunting down, getting inspiration from other bloggers I admire and listing out actual titles of articles I could write about and made a list of 100 strong. Yes, before I ever wrote a word of actual content.

It served as super motivation because I knew that I would love writing at least some of the articles I had listed. I could see the whole thing finished in front of me on WordPress and Medium. That was motivation enough. Then I decided that I would open ten drafts at a time. I think of this as opening ten channels in the brain which the brain can then go to work out simultaneously. So day 1, write just the main ideas of all ten articles quickly. Day 2 rolls in, I have some quotes rolling in my head, some old memories refreshed. Day 3, the thoughts are turning into insights and summaries of what exactly is the “core” of what I want to say. Day 4, I find my brain is coming up with a better turn of the phrase to describe the insights I tried to communicate the day before. It goes on sometimes for a couple of weeks for individual articles. In the last few days, I try to let it run on empty just to makes sure it is has exhausted all the ideas for now.
Do 1 Scary Thing Every Day
Published: 2021-05-22 06:26:46

Entrepreneurship is a ride of discomfort. You are almost as a rule doing things that are outside your comfort zone. I have in so deep I can’t find my way back to my comfort zone. While I was gone, someone came and walked away with it, I think. Or at least, that’s what it feels like for the time being.

a) I am not a writer, but I write.

b) I am a programmer at heart, but I market what I have built.

c) I reach out to people who might be interested in my product. That must be amazing to my mother if she could understand what I do.

d) I chat with people on my website and turn it into sales conversations where possible.

e) I follow up on sales conversations. That’s like the toughest thing in sales, they say, and I do it.

f) Right now, I feel like I am bragging, and I shouldn’t be writing this blog post. But what I have written is true. Unbelievable to me even, but true.

So I follow this rule of doing one scary thing for just 10 minutes every day, not the whole creepy thing. That’s too much. I might die. So let me enter the lion’s den, stay there for just 10 mins and get out. And the next day I do it again.

It’s gotten me this far. In the last year, I created a SAAS product, developed a website(Proxies API) to sell it, and started marketing and selling it every day. All unlike me, accept the programming part. It enabled me to build a business that, from the looks of it, will sustain me for a long time and has helped me to quit my job.

The author is the founder of Proxies API, a proxy rotation api service.
React Native How to Find-out Which Key is Being Pressed
Tags: reactnative, expo
Published: 2021-05-22 06:23:59

Recently I was working on a React Native project and inside that project I wanted to track which key was being pressed. I didn't want to track every key press, but in particular I wanted to track "backspace".

If you go to [React Native’s official documentation](https://reactnative.dev/) and search for TextInput then there are lots of props which we can use inside TextInput. But most of us don't care about those props. There are more than 40 to 50 props which we can use inside the TextInput component.

So, in this post I am sharing my experience with you on how I tracked which key is being pressed and which prop I used.

##The prop to find out which key is being pressed

There is a prop called onKeyPress which we can use to track which key is being pressed inside the React Native TextInput component.

If you are already familiar with DOM manipulation using vanilla javascript. Then this prop works the same as key press events. The only difference is, inside DOM we would get key code but here you will get the exact key value as string.

##How it works

You can simply use [onKeyPress](https://reactnative.dev/docs/textinput#onkeypress) prop like onChangeText prop inside TextInput component. It's a callback function like we can pass inside onChangeText prop.

But inside this callback you will get an object. From that object we can destructure nativeEvent and inside that nativeEvent object we will get key information.

Let’s see that in action.

`<TextInput onKeyPress={ ({nativeEvent}) => console.log(nativeEvent.key) />`
Here goes nothing: Drawing Challenge Prompt Generator 
Tags: python, gitbash
Published: 2021-05-22 03:18:41

I´m currently learning python and I am still in the very first stages of my journey. Why didn´t I start sooner? Well, I wish I did but I was simply studying something else. Biology. I am currently about to finish my masters in Conservation Biology and I am passionate about (hopefullly) contributing to protecting wildlife, especially in my native South America. The thing is, somewhere along the way, I don´t know exactly where, I realized coding was a skill I wanted to learn to help me with my life´s purpose. So eventually I started with codecademy and got to the point where I had to build my first portfolio project and write a blog post about it. I had to make a program that runs in the terminal. I wanted something that at least I could actually use. So I came up with something that might help me with something else I´m trying to learn: drawing (I can also explain why drawing is important to my purpose but that´s another story). You probably know about how artists use prompt lists (Like inktober, for example) for inspiration and they have to draw something related to the words in the prompt. Well that´s the idea: You have a built-in list of song titles (it could be any word really, but song titles seemed like a good source for inspiration) and the program randomly selects a title and returns it as your prompt for the day. Then it asks you to enter more titles to (temporarily) grow the list and select another prompt. It´s very basic, I know and it´s not quite everything I hoped it would be, but it works (kind of). Anyway, I will still be making improvements on it as I gain knowledge. You´re welcome to try it and suggest any changes you think might be good. Here´s the link to the repo: https://github.com/jimmazaasu/Drawing_challenge_prompt_generator
Kotlin Firebase Storage – Upload Data from Memory, Local File, Stream | Android
Tags: kotlin, firebase, android, stream
Published: 2021-05-22 06:08:46

https://grokonez.com/android/kotlin-firebase-storage-upload-file-data-memory-local-file-stream-android

Kotlin Firebase Storage – Upload Data from Memory, Local File, Stream | Android

Firebase Cloud Storage helps us upload and share rich content data. Data is stored in a Google Cloud Storage bucket. With Firebase, we can perform robust operations (download/upload) regardless of network quality with strong security (<strong>Cloud Storage</strong> integrates with <strong>Firebase Authentication</strong>) and high scalability.

In this tutorial, we're gonna look at ways to upload data from Memory, Local file, Stream in an Android App using Firebase Storage with Kotlin.

Related Posts:
- <a href="https://grokonez.com/android/kotlin-firebase-storage-download-file-example-to-memory-local-file-android">Kotlin Firebase Storage – Download Files to Memory, Local File | Android</a>
- <a href="https://grokonez.com/android/kotlin-firebase-storage-get-list-files-example-image-list-firebaserecycleradapter-example-android">Kotlin Firebase Storage – Get List of Files example – Image List with FirebaseRecyclerAdapter | Android</a>

<!--more-->
<h2>I. How to upload file</h2>
To use the Firebase Storage to upload data, we need:
- add Firebase to Android App & enable Firebase Auth
- create a reference to the full path of the file, including the file name
- upload data using <code>putBytes()</code> for in-memory data, <code>putStream()</code> for stream data, <code>putFile()</code> for local file.
<h3>0. Add Firebase to Android App</h3>
<h4>0.1 Add Firebase Storage </h4>
Steps to import and enable Firebase Storage is just like steps for Firebase Auth.
Just follow: <a href="https://grokonez.com/android/kotlin-firebase-authentication-how-to-sign-up-sign-in-sign-out-verify-email-android#1_Add_Firebase_to_Android_Project">Add_Firebase_to_Android_Project</a>
<h4>0.2 Add Firebase Auth</h4>
By default, only authenticated users can upload or download data, so we need Firebase Authentication for next step.
Go to Your <a href="https://console.firebase.google.com" rel="nofollow">Firebase Project Console</a> -> <strong>Authentication</strong> -> <strong>SIGN-IN METHOD</strong> -> Enable <strong>Email/Password</strong>.

To do without setting up <strong>Authentication</strong>, we can change the rules in the <strong>Firebase Console</strong> -> choose <strong>Project</strong> -> <strong>Storage</strong> section on the left -> <strong>Rules</strong> tab:
<pre><code class="language-kotlin">
// change the code below
service firebase.storage {
  match /b/{bucket}/o {
    match /{allPaths=**} {
      allow read, write: if request.auth != null;
    }
  }
}</code></pre> 
<h4>0.3 Check</h4>
After adding Firebase Auth & Realtime DB, we can see:

- <strong>build.gradle</strong> (project-level):

https://grokonez.com/android/kotlin-firebase-storage-upload-file-data-memory-local-file-stream-android

Kotlin Firebase Storage – Upload Data from Memory, Local File, Stream | Android
Kotlin Firebase Cloud Messaging – How to Send Upstream Messages | Android
Tags: kotlin, firebase, android, cloud
Published: 2021-05-22 05:46:45

https://grokonez.com/android/kotlin-firebase-cloud-messaging-send-upstream-messages-android

Kotlin Firebase Cloud Messaging – How to Send Upstream Messages | Android

In some <a href="https://grokonez.com/tag/cloud-messaging">Firebase Cloud Messaging tutorials</a>, we have known way to receive Messages. Today we're gonna look at how to send Upstream Messages from an Android Client App.

Related Post: <a href="https://grokonez.com/spring-framework/spring-boot/firebase-cloud-messaging-xmpp-server-example-receive-upstream-messages-spring-integration">Firebase Cloud Messaging – XMPP Server example to receive Upstream Messages | Spring Integration</a>

<!--more-->
<h2>I. Way to do</h2>
<h3>0. Add Firebase to Android App</h3>
Follow <a href="https://grokonez.com/android/kotlin-firebase-cloud-messaging-receive-messages-android#21_Add_Firebase_to_Android_Project">these steps</a>.

Open Gradle file to check what happens, we can see that some code has been added:
- <strong>build.gradle</strong> (project-level):
<pre><code class="language-json">
buildscript {
    // ...
    dependencies {
        // ...
        classpath 'com.google.gms:google-services:3.1.0'
    }
}
</code></pre>
- <strong>build.gradle</strong> (App-level):
<pre><code class="language-json">
dependencies {
    // ...
    implementation 'com.google.firebase:firebase-messaging:11.0.4'
}

apply plugin: 'com.google.gms.google-services'
</code></pre>
<h3>1. Get Sender ID</h3>
Go to Settings of your Firebase Project in <a href="https://console.firebase.google.com/" rel="nofollow">Firebase Console</a> to get <strong>Sender ID</strong>.
<h3>2. Send an Upstream Message</h3>
Using <code>FirebaseMessaging.send()</code> method:

More at:

https://grokonez.com/android/kotlin-firebase-cloud-messaging-send-upstream-messages-android

Kotlin Firebase Cloud Messaging – How to Send Upstream Messages | Androidac
功能简介
Tags: python, spider, ms08067
Published: 2021-05-22 05:28:30


 
 
`serp`指Search Engine Results Page，中文叫做搜索引擎结果页。这里我们以google为例，实现对扫描结果的处理。

**提醒**：项目用于学习，不可用于商业用途。Google提供了一个免费的API，允许用户免费调佣100次。我们这里完成的爬虫案例如果尝试频繁获取大量数据，将会遇见reCAPTCHA 验证或IP被禁止，但是对于我们预想的目的来说，这个工具已经完全够用了。

我们需要从google搜索结果中提取以下要素：
- 搜索结果链接
- 相关链接
- 描述
- 摘要
- 推荐视频
- 结果页面数量
- ...

## 运行示例
How to use Junit Annotation in Android UI Framework- Kotlin & Espresso based
Tags: android, framework, kotlin, espresso
Published: 2021-05-22 05:16:02

**Problem Statement:**
We need to add a capability in the framework, where they can Create and use JUnit tags to filter/group and run tests. e.g.

@Sanity
@Regression
@MyAnnotation

So, basically we will Run specific Android Espresso tests by creating custom annotations.

**Solution:**
Step 1) Create a custom annotation

```
import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy

//Create Annotation Class- Step3
@Target(
    AnnotationTarget.FUNCTION,
    AnnotationTarget.PROPERTY_GETTER,
    AnnotationTarget.PROPERTY_SETTER,
    AnnotationTarget.ANNOTATION_CLASS,
    AnnotationTarget.CLASS
)
@Retention(
    RetentionPolicy.RUNTIME
)
annotation class MyAnnotation\
```

@Target specifies the possible kinds of elements which can be annotated with the annotation (classes, functions, properties, expressions etc.)

We used it for annotate some functions, so we use AnnotationTarget.FUNCTION

@Retention specifies whether the annotation is stored in the compiled class files and whether it’s visible through reflection at runtime (by default, both are true).

AnnotationRetention.RUNTIME makes sure that the Rat annotation is visible to the test runner during the runtime.

Step 2) Annotate @MyAnnotation on the tests you want to run
```
@Test @MyAnnotation
fun AddTaskToDoListTestAndMarkDone() {
   ......
   ......
}
```

Step 3) Use gradlew to run only MyAnnotation tests
```
./gradlew connectedAndroidTest -P android.testInstrumentationRunnerArguments.annotation=com.example.todolist.app.MyAnnotation

```
RDP Cracking Method
Tags: rdp, cybersecurity, cracking
Published: 2021-05-22 01:10:34



This guide will teach you how to crack VPS/RDP’s (Remote Desktop Connection). RDP cracking Is not a thing to Waste your time on. Even if you change the RDP Password, The owner Can recover the RDP from the Panel. This is Just Because Many Asked how to Crack RDP. If Few sites that I mentioned didn't open. Use US VPN

- Tools You Need :

✅ KPORT SCANNER

Link :
https:/ ***** /anonfile. ***** com/d709E4vabe/KPortScan_3.0_rar

Password : 123456]

✅ NLBrute

LINK :

https:// **** anonfiles **** .com/R6Y7y2B6o8/NLBrute_1.2_zip

✅ IP adress list

LINK :
https:// *** www **** .countryipblocks *** .net/country_selection.php

Steps :

1. Download NLBrute and KPORT SCANNER from above links and install them

2. Go here ?

https: **** //www.countryipblocks. *** net/country_selection.php

And copy all ip address and paste in KPORT scanner. After clicking start button dont change anything

3. AFTER u find some IPS in count of goods..good ips automaticaly saved in results section..

4. Now open NLBRUTE

⭕️ Go to Work Files

⭕️ Load the Good IP's that we got from KPort Scanner.

⭕️ And Load the User and Pass that is in userpass Folder. Now click generate

⭕️ Go to settings and Set Max Attempts to 1 and Threads to 800 or 900 .

⭕️ Now go to brute and click start and Wait until you get some good countrs

5. When you get some “Good” Ip’s, it’s time to connect to the VPS/RDP.The working IP’s are stored in a .txt file.
They are in the format “111.*222.*333.*444@username;password

.
Enjoy!!!

HM Attaullah
Magia: GBA emulator written in golang.
Tags: go, gamedev
Published: 2021-05-22 04:42:08

https://github.com/pokemium/magia

[Magia](https://github.com/pokemium/magia) is written in golang and ebiten!

<a href="https://github.com/pokemium/magia"><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4xgkekozg7x7lfwxrjtw.png"></a>
Side business as a developer
Tags: developer, sideprojects, sewing, quilting
Published: 2021-05-22 04:38:55

I have been a developer for years but always wanted to have a side business. I wanted to be a independent developer and develop without having any economical tension. 
# Is there any side business for a developer?
Yes, there is. I am introducing the quilting business to you. It is the best side business as per my opinion because I have tested many other businesses too but did not find anyone so easy and profitable.
![Quilting Machine](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kchldzeoae2cd6ytmrl0.jpg)
# Is it really profitable?
Yes, it is really profitable. It made me to make almost $10,000 just in last 2 months, make sure to check [some points](https://www.accomplishquilting.com/top-20-reasons-to-start-a-quilt-finishing-business.html) before starting it.
# What is the best quilting machine for beginners?
Choosing the right quilting machine is the toughest task as a beginner. You have to make research and check which machine fits your requirements. You can consider [Singer Machines](https://www.singer.com/) like Juki TL-2010q or TL-2000Qi as beginner, [Brother Machines](https://www.brother-usa.com/home/sewing-embroidery/computerized-quilting-machines) or check directly recommendations of best quilting machine from 
[sewingmachineprice.com ](https://sewingmachineprice.com/).
There are so many sources available on the internet to search for the best quilting machine. It is just to take a single step and I recommend you take it now.
Laravel 8 Ajax Image Upload Example	Tutorial
Tags: laravel, php, programming, tutorial
Published: 2021-05-22 04:24:12

Hello Artisan,

In this tutorial Now let's visually perceive example of how to utilize ajax image upload in laravel example. This is a short guide on laravel ajax image upload. Here you will learn how to ajax image upload. We will utilize how to ajax image upload in laravel. Let's get commenced with how to ajax image upload in laravel.

Here i will give you few step ordinant dictation to ajax image upload in laravel 8.

more..

if you want to see full example follow this

https://codingtracker.blogspot.com/2021/05/laravel-8-ajax-image-upload-example.html
What is Algorithms ?
Published: 2021-05-22 04:12:26

If you find this question on google you will get a definition "It is a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer." But when i had seen this definition initially, i wasn't able to understand anything. Since i know this by now so let me help you to understand it.

Algorithm is a process of doing some work lets suppose you are given rice and pulse to cook something, now it depends on your algorithm(process of doing something) that whether the output will be rice and curry or it will be khichdi. Here you have seen the data was same for both cases that is rice and pulse but the output was different.

In programming different algorithm is used to obtain different outputs and even for single output different algorithms can be used, its kind of a pathway to reach destination, you can choose any path. But the less time your path take the better that algorithm will be called.
What is Data Structure ?
Published: 2021-05-22 03:54:03

The word data structure is itself giving a feel that it is something related to data which is stored in a structured way.
You might be familiar to some examples such as Array, it is also a data structure. why so? because we keep the data in the form of array.

If you are still confused then imagine the data structure as your college library, where the books are store, one more thing you have seen is the cylindrical containers of rice and wheat in our homes that is also an example data storage system. This cylindrical container is similar to queue data structure.