teleren/devto huggingface dataset:
eCommerce and Consumer Financing Opportunities
Tags: solidus, ecommerce, ruby, rails
Published: 2020-12-11 17:36:16

{% youtube Sy4T4r0zK04 %}

Richard Gilbert from PayPal shares some insight on consumer financing.

"eCommerce and Consumer Financing Opportunities"
Consumers choose and spend more with merchants that offer consumer financing alternatives. Increase conversion rates and grow your average order value by offering more payment options. We will share statistics and approaches merchants can use to offer consumer financing solutions and why merchants should aggressively consider consumer financing strategies.
Solving day 11 of Advent of Code 2020 in JavaScript
Tags: challenge, adventofcode, javascript, video
Published: 2020-12-11 17:16:06

---
title: Solving day 11 of Advent of Code 2020 in JavaScript
published: true
description: JavaScript walkthrough of Advent of Code 2020 (day 11)
tags: challenge, AdventOfCode, javascript, video
series: Advent of Code 2020 in Javascript
---

{% youtube BFztc4HrJFQ %}
Git Holiday Cleanup 🌲
Tags: git, branch, delete, unix
Published: 2020-12-11 17:14:34

The year is almost over and the holidays are approaching, what a good time to say goodbye to your old stale branches. I know letting go of something is always hard, but don't sweat it. I'll teach you how to keep the things you need and <del>remove</del> purge the rest.

##### Step 1
Get a list of my local branches
```bash
git branch >> git_branches.txt
```

##### Step 2
In the editor mark the branches that you want to keep
```bash
123-branch-to-remove
* master
* dev
* keep-branch
```
##### Step 3
Run the command bellow to verify the branches you want gone
```bash
cat git_branches.txt | grep "^[^\*].*"
```
##### Step 4
If they are all good then run the same command and feed it into `git branch -D`
```
cat git_branches.txt | grep "^[^\*].*" | xargs git branch -D
```

##### Step 5
Enjoy the holidays, show this to your colleagues and be nice!
Facturación independiente
Tags: facturacion
Published: 2020-12-11 17:10:36

A nadie le gusta llevar la cuenta de los pagos atrasados de las <a href="https://tutofacil.com.mx/facturar-casa-ley/">facturación</a>. Sin embargo, el envío de recordatorios de pago es una tarea esencial que debe llevarse a cabo de manera constante. Si no lo haces, tu empresa puede terminar rápidamente con un flujo de caja negativo.

Como autónomo, si eres un gerente de comunidad independiente o si trabajas en el negocio de la web, esto es esencial.

Asegurar el buen seguimiento de su facturación
La buena gestión de las facturas promueve un flujo de caja estable y ayuda a reducir el estrés de la contabilidad. Por eso, tener al menos una solución de facturación es esencial para el éxito de su negocio.

Incluso puede crear una factura gratuita en línea, lo que facilita la gestión de su contabilidad desde su ordenador. De esta manera, podrá controlar sus recibos de efectivo y/o pagos pendientes de manera más eficiente. Otro factor importante es el seguimiento y la gestión eficiente de sus facturas, porque en línea le será mucho más fácil solicitar el factoraje.
Release 0.42 - Three ideas about automating release.
Tags: opensource
Published: 2020-12-11 17:10:27

# The current release process

The telescope project [https://github.com/Seneca-CDOT/telescope.git](https://github.com/Seneca-CDOT/telescope.git) use release-it [https://www.npmjs.com/package/release-it](https://www.npmjs.com/package/release-it) as the release tool. To automate the release process, I have three ideas.

## Idea one: release-it

The release-it tool have a ci mode `release-it --ci`, it will automate the process without any prompt. We can also continue our release process like before, just moving to the cloud.

But I have two problems:
- Problem one: read the `GITHUB-TOKEN`.

I have tried  
```yaml
- name: export env
        run: export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" 
```
and 
```yaml
- name: Create Release
  run: npm run release
  env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" 
```

none of them work.

- Problem two: triger the release

We triger the release when push to github with the tag v*, but `release-it` also add a new tag when create the new release.

## Idea two: 

We maintain a file `CHANGLOG.md`.

```yaml
on:
  push:
    tags:
      - 'v*'

name: Create Release

jobs:
  build:
    name: Create Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Create Release
        id: create_release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}
          release_name: Release ${{ github.ref }}
          body_path: ./CHANGELOG.md
          draft: false
          prerelease: false
```

## Idea Three: Release Drafter

We can draft a release as we commiting to the repo.
[https://github.com/marketplace/actions/release-drafter](https://github.com/marketplace/actions/release-drafter)

```yaml
name: Release Drafter

on:
  push:
    # branches to consider in the event; optional, defaults to all
    branches:
      - $default-branch

jobs:
  update_release_draft:
    runs-on: ubuntu-latest
    steps:
      # Drafts your next Release notes as Pull Requests are merged into "master"
      - uses: release-drafter/release-drafter@v5
        with:
          # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
          # config-name: my-config.yml
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
deno is the future?
Tags: typescript, javascript, deno
Published: 2020-12-11 17:05:05

## What is deno?

Deno is a runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language. It was created by Ryan Dahl, original creator of Node.js, and is focused on productivity. It was announced by Dahl in 2018 during his talk "10 Things I Regret About Node.js".

### advantages of deno
- fast and safe
- typescript support
- new dependency management system
- best adaptation of ecmascript

## Why use deno?

Over time, technologies evolve and improve, this is the case of nodejs and one of the most common improvements is that we will avoid the tedious node_modulos folder and it will no longer be necessary to have 1gib of modules since it does not handle the modules in the cache. better way.

{% github  https://github.com/denoland/deno %}

The project grows more and more every day and more projects are adopting it, however, it is not still a very green project that is just bearing fruit.
CMS, Strapi.js/React, vs Django
Tags: strapi, javascript, cms, django
Published: 2020-12-11 17:01:49

Who uses a CMS? How is it vs Django? It seems like Strapi is setup better than Django in a way. Does this take care of the “slow” that people say about python? 

When should someone use Strapi.js vs CMS or Next.js?

I like how it’s. Visual and it still shows the code
How to Change Font Style in Excel Office 365? – Simple Instructions!!
Tags: excelbasics, changefontstyleexcel, excel365tutorials, exceltutorials
Published: 2020-12-14 12:19:46

---
title: How to Change Font Style in Excel Office 365? – Simple Instructions!!
published: true
date: 2020-12-11 17:01:25 UTC
tags: ExcelBasics,ChangeFontstyleExcel,Excel365Tutorials,ExcelTutorials
canonical_url: https://geekexcel.com/how-to-change-font-style-in-microsoft-excel-365/
---

## **Change Font Style:**

You can easily change the properties of a text in Excel like color, font type, size, etc. There are many options available in Excel to do this kind of thing.

In this article, we will show you how to change the Font Style of the **d**** ata or text **with the help of ** Home Menu** options in Excel Office 365. Just follow the guidelines of this article carefully to change the Font Style in the worksheet.
## Guidelines to Change Font Style in Excel:

- First, open a **new Excel sheet**.
- **Enter a text** in any of the cells in Excel.
- Now, **select the cell** (just **left-click** on the cell).

![Enter Text in Excel](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/03/Screenshot_8-2.png)<figcaption id="caption-attachment-4455">Enter Text in Excel</figcaption>

- In the menu tabs, you can find the **Home option** on the left top of your Excel sheet.

![Home Menu in Excel](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/03/Screenshot_6-5.png)<figcaption id="caption-attachment-4453">Home Menu in Excel</figcaption>

- In the **Home Menu,** you can find several options for formatting font, color, conditional formatting, filter, number type, and more.
- Select the **font style option i** n the Font group of **Home Menu.**
- Click on the **drop-down arrow**. Now, the list of font styles will appear on your screen.

![Font Group in Excel](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/03/Screenshot_7-4.png)<figcaption id="caption-attachment-4454">Font Group in Excel</figcaption>

- **Click on any font style** that you want for your text so that the style will be applied to your text automatically.

![Excel Font Change](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/03/Screenshot_2-16.png)<figcaption id="caption-attachment-4457">Excel Font Change</figcaption>

- That’s it. Finally, you have changed the font style of your text.

## Verdict:

We hope this short tutorial on Excel 365 will help you to change the **font style in Excel Office 365**. Please comment your **queries** and don’t forget to share your feedback. Thank you for visiting our website [**GeekExcel**](https://geekexcel.com/).
Simple Grid layout
Published: 2020-12-11 16:57:40

---
title: Simple Grid layout
published: true
description: 
tags: 
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/pspzbrk8feak86je5egs.png
---

{% codepen https://codepen.io/Leamsigc/pen/poEEWyb %}

# Simple layout for a dashboard with css grid 

Not much but it is what it is lol 🍀🍀🍀🍀
How did you get started in software engineering?
Tags: webdev, career, devops, culture
Published: 2020-12-11 16:53:21

Eric Silverman, CEO and cofounder of FeaturePeek, discusses how he got started in software engineering and answers questions about his first role as a software developer, what he learned while working at his first startup, and the benefits of working at a startup if you're a new developer.

Eric's GitHub: https://github.com/eric-silverman

Learn more about FeaturePeek: https://featurepeek.com/
Learn more about the Mintbean developer community: https://mintbean.io/
Check if the radio button is checked
Tags: html, css, javascript, cwb
Published: 2020-12-11 16:27:30

The radio button validator is made with HTML, CSS, and JS. They are usually used to check whether the radio button is checked or not. It is very useful and Important e.g. it can check if the user registering to your site had agreed to your terms and conditions or not and if it's not checked our validator will not let that person to continue, you can also use it by copy-pasting the code from my site.
<a rel="nofollow" href="https://codewithbishal.com/example/check-whether-a-radio-button-is-selected-with-javascript">View it on our website</a>
View More :
<ul>
<li><a rel="nofollow" href="https://codewithbishal.com/example/create-a-sortable-list-with-draggable-items-using-javascript">How to Create Draggable Lists with JavaScript</a></li>
<li><a rel="nofollow" href="https://codewithbishal.com/example/validate-email-address-using-javascript">Email validation using JavaScript and Bootstrap</a></li>
</ul>
At first, on our webpage, there is the overview of our blog then there is the example of our radio button validator. There is a button to copy the codes (HTML, CSS, and JS).

You can view and copy the source code files through the link given below. <a rel="nofollow" href="https://codewithbishal.com/example/check-whether-a-radio-button-is-selected-with-javascript">View and Copy Source Code</a>
A short note on lexical scope
Tags: standardml
Published: 2020-12-11 16:14:49

```
(* standard ml *)
val x = 10
fun foo () = x
val result1 = foo ()      (* 10 *)
val x = 20
val result2 = foo ()      (* still 10 *)
```
Run on [sosml.org](sosml.org/share/d00f08bf1bd0a88d99411758fb40e1cbb5e25471e1ede6887f219b880c11a359)
How To Set HTTP-Request Header In Haproxy
Tags: devops, aws, haproxy, httprequest
Published: 2020-12-11 16:10:15

- This post describes how haproxy forwards request with header to AWS Application Loadbalancer (ALB).

- The purpose of adding header to http-request is to create listen rule in ALB

- Use SimpleHTTPServer to dump header for testing

**1. Test dump header**
- haproxy.cfg
```
frontend test-header
        bind *:80
        default_backend testheader

backend testheader
        http-request set-header myheader 123
        server disabled-server 127.0.0.1:1 disabled
        server localhost localhost:8000
```

- Create SimpleHTTPServer to listen on port 8000 and dump header for any requests come
```
#!/usr/bin/env python3

import http.server as SimpleHTTPServer
import socketserver as SocketServer
import logging

PORT = 8000

class GetHandler(
        SimpleHTTPServer.SimpleHTTPRequestHandler
        ):

    def do_GET(self):
        logging.error(self.headers)
        SimpleHTTPServer.SimpleHTTPRequestHandler.do_GET(self)


Handler = GetHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)

httpd.serve_forever()
```

- Test by running `curl localhost` and the result
```
~:/# python3 3serv.py                                                                                                                                                                
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Accept-Encoding: gzip                               
Connection: close                                   
X-Forwarded-Proto: https                            
myheader: 123                                       
```

It shows `myheader: 123` as expected

**2. Apply to ALB**
```
backend appsvc
        http-request set-header myheader 123 
        server disabled-server 127.0.0.1:1 disabled
        server myapp reader-1111111111.us-east-1.elb.amazonaws.com:80
```
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/0hh3xde1gz5jxaazpgs5.png)

**More about haproxy**
- [HAProxy With Resolvers In Case Of AWS Application LoadBalancer
](https://dev.to/vumdao/haproxy-with-resolvers-in-case-of-aws-application-loadbalancer-d1n)
- [How To Block IP Addresses In HAProxy](https://dev.to/vumdao/how-to-block-ip-addresses-in-haproxy-3f84)
Meli, a Netlify-like platform for deploying static sites
Tags: devops, react, angular
Published: 2020-12-11 16:05:24

Hi there 👋

We used to host our sites on Netlify, but our eyes fill with glitter when we hear open source and self-hosted 🎉. So, we built Meli, which essentially is a Netlify alternative that lets you deploy static sites and frontend applications with ease, featuring per-branch deployments, web/slack/mattermost/email hooks, an API, and a way to manage organizations, teams and sites easily.

We built Meli on top of [Caddy](https://github.com/caddyserver/caddy), a very powerful HTTP server. We've used Typescript, Node (backend), React (frontend) and MongoDB for the database.

It's a beta, but you can install super easily with Docker Compose: https://docs.meli.sh/get-started/installation

Check us out at https://github.com/getmeli/meli 🚀

Looking forward for your feedback 😀
Installing Oracle Java 15 On Ubuntu / Linux Mint via PPA
Published: 2020-12-11 13:43:55

**If you must use [Oracle Java](https://www.oracle.com/java/technologies/javase-downloads.html) on Ubuntu and Ubuntu-based Linux distributions (Linux Mint, Zorin OS, Pop OS, etc.), and can't use something like OpenJDK, here's how to install it easily, set it as the default Java version, and set the ``JAVA_HOME`` environment variable, among others.**

Oracle does provide its JDK in a DEB package, but it's useless. All the DEB does is copy the files to ``/usr/lib/jvm``.

Using this PPA, maintained by [Linux Uprising](https://www.linuxuprising.com/2020/09/how-to-install-oracle-java-15-on-ubuntu.html), you can make Oracle Java 15 the default Java version on your system (which also exports ``JAVA_HOME``), associate .jar files with Oracle JDK, have applications menu entries (and context menu entries in the file manager) for the various tools available in the JDK, tweaks the Java fonts, installs Java man pages, and more.

The PPA packages don't have any Oracle Java binaries, as that's not allowed by the Oracle Java license. Instead, the package automatically downloads Oracle Java and sets up everything for you.

Add the PPA and install Oracle Java 15 on Ubuntu and Ubuntu-based Linux distributions using:
```
sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo apt install oracle-java15-installer
```

On Ubuntu-based Linux distributions that automatically install recommended dependencies, Oracle Java 15 will be made the default Java on the system when installing ``oracle-java15-installer``. If you don't want it to be default, remove the automatically installed recommended dependency ``oracle-java15-set-default``:
```
sudo apt remove oracle-java15-set-default
```

Or, if your Ubuntu-based Linux distribution doesn't automatically install recommended packages (Linux Mint used to do this), and you want to make Oracle JDK 15 default, install this package:
```
sudo apt install oracle-java15-set-default
```
Canvas point and click game third-person 
Tags: javascript, codepen, canvas, adventuregraphic
Published: 2020-12-11 16:01:04

---
title: Canvas point and click game third-person 
published: true
tags: javascript, codepen, canvas, adventuregraphic 
---

<p>Very basic Adventure graphic game third-person view with canvas, vanilla Javascript es6.
Load all resource image before load game.
Item and hotspot generate and set with classes from json varialble.</p>

{% codepen https://codepen.io/camizzilla/pen/bGNdYBm %}
Project 1, Week 2, Day 5
Published: 2020-12-11 15:58:39

You learn something new everyday :D. All I wanted was to style the `li` element so that it would only be as long as the length of the text and also (this is something, i'm yet to figure out) display as a block. Instead ended up figuring out why the chat input was getting submitted even when it was empty. Took a long while for me to realize that I had switched it to a textarea and that I need to `trim()` the text before I check if it's empty. 

Anyway, that's the only thing I managed this evening.

[PR](https://github.com/Cijin/project-we/pull/10)
CompileSwift Podcast - 15% Submissions, Homebrew updates, SwiftUI Conditional Modifiers
Published: 2020-12-16 06:45:03

---
title: CompileSwift Podcast - 15% Submissions, Homebrew updates, SwiftUI Conditional Modifiers
published: true
date: 2020-12-11 15:47:56 UTC
tags: 
canonical_url: 
---

[Listen here](https://anchor.fm/compileswift/embed/episodes/AppStore-Small-Business-Submission--HomeBrew-M1--Conditional-SwiftUI-Modifiers-ene34f)

## Show Notes

- Enroll in the new App Store Small Business Program
- Homebrew 2.6.0 Released
- Conditionally apply modifier in SwiftUI

## Support This Podcast

If you would like to support this Podcast and get ad free downloads
[https://www.patreon.com/compileswift](https://www.patreon.com/compileswift)

Say thanks, buy me a coffee
[https://buymeacoffee.com/pwcom](https://buymeacoffee.com/pwcom)
Take Advice, Especially Solicited Advice
Tags: career
Published: 2020-12-11 15:45:18

##Overview

I have had an unconventional career path. Some of the randomness includes:

General Manager of a fine dining restaurant.
Former Microsoft MVP.
IT, everything from clearing cookies to driving around the nation setting up equipment, and writing scripts to install software over thousands of machines.
Software Developer, combing backlogs to leading multinational architecture / development.

It's not a bad resume, if I am objective. 

Recently, on Reddit I was messaged by someone wanting to know how to get into IT. I fully believe in helping everyone, in anyway I can. So I offered some insight into how I got there, and some advice in general.

##Sidebar
Joseph Strauss, a talented and ambitious, yet relatively unaccomplished engineer took on the enormous challenge of the Golden Gate Bridge. 

Ultimately,  Leon Moisseiff did much of the final design and engineering. We still celebrate Strauss, far more than Moisseiff. But the fact that Strauss solicited the project, and the input required to be successful is how the USA built the iconic structure.

##Lesson Learned
We often can't do things on our own. We should ask for advice, and help.

What has me perplexed however was this persons response.

My final piece of advice was something along the lines of 
 > If you find yourself lacking people skills, work on that.
 > Even if it means picking up a part time job bartending. 
 > Tech has tons of smart, passionate people who aren't articulate
 > We need more people able to speak with cross functional teams
 > and negotiate solutions to problems in realistic timeframes

What I got back was something akin to:
 > F@(k you, you are stupid and racist. No wonder your career has 
 > been involved so much grunt work.

I am paraphrasing here. 

##Summary

I truly wanted, and would still like for this person to have a fulfilling career. 

The thing is, if he solicits for advice, and then throws it away and returns the favor with insults, he won't.

For everyone who solicits advice. Take it. Write it down, sleep on it. Read it again in a year, or five. I have received advice that I took to heart. I have received advice that was too far forward for where I was at the time. And I have received advice that hasn't worked for me (yet?). 

And here I am, with a career many people would love to have had. I have a career I have loved. And I hope, for everyone who solicits advice: **I hope you have the career and life you seek.**
Book on the API design
Tags: api
Published: 2020-12-11 15:31:07

Hey!

My name is Sergey, I've been developing APIs for more than a decade (my profile: https://www.linkedin.com/in/twirl/), and I'm writing a book on developing APIs. It is called simply 'The API', and I've just finished writing (then translating) the first section, which is all about the API design. The book is available in English and Russian languages and is being distributed under CC-BY-BC license (e.g. for free).

Complete English text to read in browser: https://twirl.github.io/The-API-Book/docs/API.en.html

You may also find pdf and epub versions at the Github: https://github.com/twirl/The-API-Book
What is Digital Ocean and it's history?
Tags: website, hosting, digitalocean
Published: 2020-12-11 15:30:12

### what is digital ocean?

Digital Ocean is an cloud hosting provider that offer cloud computing services. In January 2018, it achieved the title of being _third_ largest cloud hosting company in the world. They are highly obsessed to provide a best cloud hosting Plateform from individual developer to large scale business. Digital Ocean is a cloud server providers based on United states of America. Their headquarter operates from New York city and they have lots of Data center across the globe.

### History

It came into existence on June 24th 2011. Ben and Moisey Uretsky founders of the Digital Ocean. They founded this company that provides individual software develpoer  and small scale startups making it easy for them to host website with one click.