teleren/devto huggingface dataset:
Daily Developer Jokes - Wednesday, Aug 26, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-08-26 12:00:17

---
title: "Daily Developer Jokes - Wednesday, Aug 26, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Wednesday%2C%20Aug%2026%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12588592f15.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ Why did the security conscious engineer refuse to pay their dinner bill?

___A:___ Because they could not verify the checksum.
 -->
ACCT 324 ALL COURSE PROJECT LATEST
Published: 2020-08-26 11:53:35

Determine the forms to be completed. The forms are also located in Appendix B of the eBook. Once completed, save your form(s) with the format Your Last Name-formname.pdf (e.g., Smith-f2106.pdf). Submit your assignment to the Week 3 Course Project Dropbox.<a href="https://www.devrycourses.com/product/devry-acct-324-all-course-project-latest/" > ACCT 324 ALL COURSE PROJECT LATEST </a>
AccessibilityInfo.annouceForAccessibility does not work.
Tags: android, ios, a11y
Published: 2020-08-26 11:41:43

Hello,

I am trying to use AccessibilityInfo.announceForAccessibility("Some String") but it does nothing on Android or iOS. I am using React Native 0.61.4. I have tried with the screen reader off and on for both platforms and it says nothing. Is there something special that I'm missing or does this no longer work? I've been here https://reactnative.dev/docs/accessibilityinfo and it looks like I'm doing everything right.
Styling vs defining vs backend?
Tags: css, framework, vue, react
Published: 2020-08-26 11:32:04

I’m realizing that, I really don’t like styling. It’s too many variations that turn into “oh not that color” “not that look” “this name, that i don’t know- I want that”,
I’ve really getting tired of spending so much time on styling vs functionality.

Is JS or Python stable/better than styling with what you use? 

The Styling frameworks seem all the same, except the syntax here and there BUT, they don’t truly have real good styles up front. It’s just stationary, that, one look, is stemming off of a completely different component that was manipulated.


Is Python, JavaScript, PHP, Java, Kotlin..... good?
Upload to TestFlight with Fastlane and 2FA
Tags: 2fa, ios, testflight, fastlane
Published: 2020-08-26 11:27:59

---
title: Upload to TestFlight with Fastlane and 2FA
published: true
description: How to configure Fastlane to use an application specific password for uploading apps to TestFlight when two-factor authentication is enabled.
tags: 2FA, iOS, TestFlight, Fastlane
//cover_image: https://direct_url_to_image.jpg
---

I recently (accidentally) turned on two-factor authentication (2FA) for an Apple account that we use to submit iOS builds to TestFlight via our CI pipeline. Because of this, our CI system could not longer upload new builds to TestFlight.

Looking at the [Fastlane documentation for continuous integration](https://docs.fastlane.tools/best-practices/continuous-integration/), I saw there was a possibility to use *application specific passwords* that allow other systems to upload the iOS builds on your behalf.

So I generated an application specific password at [appleid.apple.com](https://appleid.apple.com) and added it as environment variable `FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD`. However I wasn't able to get this working until I figured something out in the [pilot documentation](https://docs.fastlane.tools/actions/pilot/). It states: 

> pilot/upload_to_testflight can use an Application Specific Password via the FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD envirionment variable to upload a binary if both the skip_waiting_for_build_processing and apple_id options are set. (If any of those are not set, it will use the normal Apple login process that might require 2FA authentication.)

The `upload_to_testflight` action in the `Fastfile` was actually missing these two parameters, at least the `apple_id` was missing here. After trying to add it, it still wasn't working, but now I got the following error message:
> `apple_id` value is incorrect. The correct value should be taken from Apple ID property in the App Information section in App Store Connect.

I thought I have to specify the Apple account's email address as `apple_id`, just like it is in a Fastlane's `Appfile`, but this actually expects **the app's apple id**, for example `123456789`, which can be found on App Store Connect. After changing my upload command to this, it finally used the application specific password from the environment variable and was able to upload the iOS build to TestFlight:

```
upload_to_testflight(
  skip_waiting_for_build_processing: true,
  apple_id: "123456789"
)
```

I lost quite some time getting the uploads to work in a CI system for a 2FA account, so I hope I'm able to help somebody by posting this here. Let me know if this helped you :)
Game Loaded warning (Lua)
Tags: tutorial
Published: 2020-08-26 11:08:49

Hello! Welcome to another post on my profile. I hope you will enjoy it. So basically, we would wan't to give a script that works only on ROBLOX. As I guess. It's fast and really easy! Requires 3 line of the script. So, let's get into it!

Basically, it's easy to guess. You just have to use some of the brain. Code:
**if game:IsLoaded() then
 print("Game succesfully loaded!")
end**

That's all of this post, too! Well, i'm sorry for making so short posts. I just don't know what to make, to be honest. Thanks for viewing this post, and have a good day!
Lua Console commands
Tags: tutorial
Published: 2020-08-26 11:04:24

Hello! Welcome to my first post. It's about basic 3 console commands with the Lua language. First of all, is a "print" command. For example:
print("Hello World!")
Output: Console printed "Hello World!".

Another command, is "warn". It prints a warn. For example, it warns that something went wrong in the system Command Example:
warn("Found an bug in System.")
Output: Console warned about an bug.

And the last command for this post, is "error". It errors and may stop process that it errored. For example, it errors that something is texted in wrongly. Command Example:
error("Syntax Error.")
Output: Gives an error text.

Well, sadly this is the end of the Tutorial! At least, I hope you enjoyed it. The commands should mostly work at the game called ROBLOX. ROBLOX is to play games but there is a application that is called ROBLOX Studio where you can create games. To add a script that does all of the commands, simply make a new game with any template you wan't. Then, click Workspace and then + and then search for Script. Then, text in the commands you would wan't it to print!
Cap City Restoration
Published: 2020-08-26 10:47:40

Cap City Restoration provides high quality, maintenance free roofs which are well constructed and can definitely be best choice for your home. They deals in Commercial as well as Residential roofing. For any of your requirement in: Dublin, Grove City, Lancaster, Lewis Center, Marysville, Pataskala, Reynoldsburg, Westerville, Zanisville in Ohio, feel free to Contact us.https://www.capcityrestoration.com/roofing-westerville-ohio/
Why you have not added voice functionalities to your app?
Tags: react, ux
Published: 2020-08-26 10:40:42

Hi! I'm Ottomatias from [Speechly](https://www.speechly.com/) We are building developer tools that enable developers to add voice user interfaces to their apps. 

I'd be interested to hear from you why you haven't already added voice to your app? Have you tried that but ran into some issues? Don't you think it's beneficial in your use case?

Would be great to hear your thoughts! Tell me what you are building, too and on which platform.
Show Our Opensource Contributions on ObserveableHQ or any Website.
Tags: opensource, observeablehq, github
Published: 2020-08-26 10:32:33

Hello there.  Today I'll bring you the dynamic opensource contributions display table.

Let's see first.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/1u2x5ev7gfqi8t7jjmvv.png)

[live demo](https://observablehq.com/@yhyddr/open-source-contributions)

## Overview
Github API could provide us the PullRequest info or others. Call the API on the ObserveableHQ Website and show the info as a table view.

ObserveableHQ is an online book to think with data. You could run js code on it and analytic data.

## Step
### Configure Github
we first use the github3 API library on ObserveableHQ
```js
import { viewof ghKey,github3 } from '@yhyddr/github-api-in-observable-v3-and-v4'
```

ghKey give us the power to request info from github.com. and we store it as a secret: the concept of ObserveableHQ, so the secret would not expose to everyone.

generate the token at your github.com.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/w31oi862kumop4eqcia4.png)

then fill the input box and click `set secret`. 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/6198kctq5i612s31wjjr.png)

Now you could request GitHub API with this library!🎉

```js
PR = github3`search/issues?q=author:abserari+type:pr`
```

PR variable value would contain the PR info of the user: abserari.

### Work with data.
First import the table so we don't need to type manually to fill the info.
```js
import { table } from "@gampleman/table"
```

use table to map the PR entries to a table
```js
table(DisplayPR, {
  nully: () => '<span style="color: red">No data</span>',
  limit: 500,
  enableFilter: false,
  enableCSVDownload: true,
  columns: [
    {
      key: 'repo',
      name: 'Repo',
      render: val => `${val}`
      // `<a href="https://google.com/?q=${val}" target="_blank">${val}</a>`
    },
    {
      key: 'statusHTML',
      name: 'Status',
      render: val => `${val}`
    },

    {
      key: 'checksHTML',
      name: 'Checks',
      render: val => `${val}`
    },
    // 'body'
    {
      key: 'content',
      name: 'Content',
      render: val => `${val}`
    }
  ]
})
```

we would get the dynamic table on ObserveableHQ!

Could download the js file and embed it to yourselves app.

You also could fork my notebook and configure it with your GitHub token.
Access your local IIS Express ASP.NET Core application from the public web
Tags: dotnet, aspnet, webdev
Published: 2020-08-26 10:24:58

During the development life cycle of your app, sometimes you need to expose your web server to the public web.
The most commons scenarios are: testing webhooks, testing a chatbot or testing your web application from a mobile device.

For these situations, ngrok can be your answer.
It is tunnelling, reverse proxy software which allows accessing your local development web server from another endpoint on the internet.

#Installing ngrok

To install ngrok, go to the [download page](https://ngrok.com/download) and get the right version for your operating system.
Extract the zip in your favourite folder on your pc (for instance I use c:\tools\ for this kind of tools).
Before you launch ngrok, I recommend you to register on the website (or use your GitHub account, as well) and go to the [Auth section in the dashboard](https://dashboard.ngrok.com/auth/your-authtoken).

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

Copy the command line, go to ngrok folder and launch it.

Now you token is saved on your local machine and you don't need to run this step again.

#Publish your local IIS Express to the internet
Now you are ready to publish your local address as a public address.

From Visual Studio or dotnet command-line tool, launch your application debug instance and grab the local address (for instance: https://localhost:5001).

From the command line tool, go to the ngrok application path and launch the command below:

```
.\ngrok.exe http https://localhost:5001 -host-header="localhost:5001"
```

You should view an output like the image below:

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

Starting from now, other people or you from another device can access your local environment with the address **https://b191a436e2e0.ngrok.io**

#Get your own website address
ngrok offers his services with a free plan and you can use it forever and 24 hours each day.
But if you need to configure a service with a fixed URL, you have to change the plan from Free to Basic or Pro.
In that case, from the ngrok dashboard, you can choose your public address names and they don't change every time when you launch a new ngrok instance.
It's a time saver and I recommend it to you.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/6svfafsh49g0rgv4tcvu.png)
GitHub Actions for Android
Tags: actionshackathon, github, android
Published: 2020-08-26 10:09:13

In this post, the "Android-InAppBilling" open source android application sample was used that leverages GitHub Actions CI.

### The Workflow:

The "Android-InAppBilling" open source android app sample is based on Gradle build system. So, the workflow will run "gradlew" script on its machine to build the app.

To accomplish this, created a new "build.yml" GitHub Actions Workflow file on:

```
root_repo/.github/workflows/build.yml
```

In the "build.yml", the name of workflow is given as

```
name: build
```

You can define your own workflow name, and you can create multiple workflows on the same project.

The project has to build the code base on:

1) whenever there is a change pushed to repository

2) whenever there is a new Pull Request created for the repository

To accomplish this, added the below changes on the workflow file:

```
on:
  push:
    branches: [ main ] 
  pull_request:
    branches: [ main ]
```

After this, we have created a job where all of the work will be running on ubuntu.

```
jobs:
  build:
    runs-on: ubuntu-latest
```

This workflow uses predefined actions that will checkout to the main branch and uses JDK 1.8

```
steps:
    - uses: actions/checkout@v2
    - name: Set up JDK 1.8
      uses: actions/setup-java@v1
      with:
        java-version: 1.8
```

Then, we have granted executable permission for the "gradlew" script as "run" command to make a build as follows:

```
    - name: Grant execute permission for gradlew
      run: chmod +x gradlew
```

After this, we first try to check the code base with lint tool:

```
    - name: Check Lint
      run: sudo ./gradlew lintDebug
```

We used "sudo" here, just wanted to install missing Android SDK and the Build Tools.

If it was successful, then we try to run tests...

```
    - name: Run tests
      run: sudo ./gradlew test
```

If all the test cases passed, then we try to build the app by:

```
    - name: Build with Gradle
      run: sudo ./gradlew build
```

The complete workflow file and the repository link included here with this post as below...

### Yaml File:

{% gist https://gist.github.com/svignesh93/b9e6e96b06ae20aca2e8017751c7c036 %}


### Link to Code:

{% github https://github.com/LiteKite/Android-InAppBilling %}


### Submission Category: 

Phone Friendly
🌚 One Night, 3 Paid Lifetime Customer!
Published: 2020-08-26 10:04:50

![Screpy Website analysis tool](https://dev-to-uploads.s3.amazonaws.com/i/pje06gmhl7y65v0vllmm.png)

Screpy is available with a 75% discount on [Appsumo](https://appsumo.com/screpy/)

We are selling membership to lifetime for the first time and it really seems to attract people's attention.

You can now purchase a lifetime Screpy membership from AppSumo for the price of a single monthly fee.
Mconnect Fast Cart Checkout Extension for Magento 2
Published: 2020-08-26 10:01:44

Free shipping is the reason why shoppers love to shop online. One study suggests that 9 out of 10 online shoppers shop only because of the free shipping provided by the eCommerce store owner. One of the benefits of implementing free shipping is an increase in the order value. The more the order value, the more the revenue your store may generate. Therefore, eCommerce stores like Magento should not ignore the importance of free shipping. You can set a threshold value for customers to reach to be eligible for free shipping. 

Mconnects Fast Cart Checkout Extension for Magento 2 helps to encourage customers to reach the threshold value by showing them a shipping bar with the mini cart. The extension has a feature that displays the mini cart on the right of the store. And on top of that mini cart, an elegant shipping bar will be placed which shows how much amount remaining to be eligible for free shipping. This mini cart and free shipping bar will appear on all the pages of the store guiding the customers to avail the free shipping by gently reminding and motivating them to buy more. The admin of the store can configure the shipping bar’s image, color, and message to give a personalized shopping experience to your customers. With the help of AJAX functions, the extension can automatically calculate the remaining threshold amount needed to be eligible for free shipping without refreshing the page. 

Features of Product Attachment Extension for Magento 2 by Mconnect:

The extension allows you to set a threshold amount to claim free shipping. 

The extension will show the mini cart and shipping bar on all the pages. 

The shipping bar will show the remaining amount needed to claim the free shipping.

The AJAX functionality automatically calculates the amount if the product is added or removed from the cart. 

Personalize the shipping bar with color, image, and message.

You can set the title, empty cart image, and loader for the mini cart.

A success message will appear once the threshold amount is reached.

Constant reminders to buy more to avail free shipping.

Potential to increase the conversion rate and average order value for your store.

For more such Magento 2 Extensions visit Mconnectmedia.com

Download now:https://www.mconnectmedia.com/free-shipping-bar-magento-2.html
Whiskey Wednesday - Episode 4: How To Use Twitter For Yourself As A Developer
Tags: podcast
Published: 2020-08-26 09:56:59

---
title: Whiskey Wednesday - Episode 4: How To Use Twitter For Yourself As A Developer
published: true
description: 
tags: podcast
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/298wnozwth32rhhrfxh1.jpg
---

## Whiskey Wednesday - 2020 July 15th

#### Episode 4: How To Use Twitter For Yourself As A Developer

In this episode, we talk about how to get the most out of Twitter as a developer and how to grow your account.

📺 [Watch it on Youtube](https://www.youtube.com/watch?v=2YFa6aJG1bo)

{% spotify spotify:episode:12q74FKWRRF7Tsl7ieefXA %}
Mconnect Customer Specific Product & Price Extension for Magento 2
Published: 2020-08-26 09:42:35

Do you want to give personalized shopping experience to your valuable customers? Do you want to segment customers on the basis of their interest and shopping experience? Sometimes, you may need to set the price or want to restrict/hide certain products from customers or a certain group of customers. Personalization is the next big thing in the eCommerce world, which sets your store apart from competitors. 91% of the consumers are more likely to buy from brands with the personalized shopping experience. Also, customers love to purchase a product on discounted prices more than at regular prices. For many reasons, store owners have to restrict some customers or groups of customers from seeing products and their prices. That’s when this extension comes handy.

Mconnect Customer Specific Product and Price Extension for Magento 2 helps the store owners to assign/hide certain products from various categories to specific customers or groups of customers. It also allows admin to set a specific price for those products. The extension is capable to restrict logged out customers from seeing the product from certain categories. The extension allows you to set up a redirection to log in first to see the restricted product detail and price. It makes things easier with an option to personalize the shopping for your customers with a price strategy by importing product lists and prices. Also, the admin can set a priority for product price from customer-specific price and group price. The extension will increase the store signup on your Magento 2 store and bring in new sales. 

Features of the Customer specific product Price Extension for Magento 2:

Personalize the product pricing for certain customers or group of customers.

You can set the price priority when there are two prices available to choose from.

The admin can import the product lists and prices through the CSV file.

Option to restrict and control the visibility of your Magento 2 store’s products.

The admin can force customers to login by redirecting them when accessing restricted products or pages.

You can restrict or limit the customers to access specific category or subcategory pages.

Option to hide restricted page from or products from the search result pages.

The effective implementation of the extension increases store signup and helps to gather information.

For more such Magento 2 Extensions visit Mconnectmedia.com

Download now: https://www.mconnectmedia.com/customer-specific-products-magento-2.html