teleren/devto huggingface dataset:
Looking for a web service that can generate MS Office documents (word, excel) through API calls
Tags: help, saas
Published: 2020-08-14 09:12:34

Hi all! I'm not sure what I'm looking for exists, but if anyone knows of this, that'd be awesome.

I have a python app that needs to generate word and excel reports, and send them as an attachment. These reports contain boilerplate text, some data tables, plenty of visual formatting, etc. I know a few python library options exist, but I'm wondering if there are web services that do this?

I'm imagining a service that does for office docs something similar to what sendgrid, mailgun and so do for email - they let you build email templates then send them by passing in your content through an API.

Thanks!
Solve Your CV Privacy Problems Today - KwickBox
Tags: career, productivity, showdev, privacy
Published: 2020-08-14 09:10:25

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

In the job sector today, one of the biggest problems faced is privacy. The trend now is that job seekers are made to feel desperate and needy. Job seekers now apply for jobs (anywhere) to any email address without the thought of privacy. This is because securing a job definitely leads to making some money and living a bit more comfortable.

Unfortunately, most job sites today require job seekers to upload their CV's (PDF, DOC format) and enter their details before applying for jobs. Under the hood, these so called job sites tend to abuse user information by selling them to other third-party websites. And in some cases, should the site experience a security breach, lots of user information gets exposed.

I did a little survey and found out that most people (especially females) did not feel safe/comfortable with their email addresses and or phone numbers on their CV. This shows just how extreme it gets.

I also did a survey amongst job seekers (5,276). In conclusion, 77.2% of them never got feedback when they applied to jobs (even the ones they qualified for).

My platform, KwickBox has been developed to solve this large issue here. It helps job seekers to apply for jobs using their KwickBox account anonymously (without having to upload any PDF CV or reveal their identities or email address), using their online CV website link. 

This method guarantees privacy for job seekers and labor force as a whole. 

They'll be able to track when the prospective employers/recruiters view their CV and get accurate audit trail information. 

Users can also revoke access to their online CV website easily via the admin dashboard without worrying about privacy breaches.

KwickBox is now on version 1.2. The full blog post which details the changes made is https://kwickbox.quickpublisher.online/blog/cyesserKUeceUcR

My platform, being a bit of a new initiative has been featured on sideprojects.net (https://sideprojects.net/posts/yfZPqWcWGjQE5Wh8G/kwickbox-solve-your-cv-privacy-problems-today) and sideprojectors.com (https://www.sideprojectors.com/project/17490/the-kwickbox-platform).

I am based in South Africa. I have 619 daily active users around the world (still quite small) who use the platform.

The website is https://kwickbox.intuitive-web.co.za/ (yes I'll purchase a custom domain this month lol). 

I'm also looking for job sites to join me. I am in the process of developing a REST API where said job site would be able to integrate with and allow KwickBox users apply easy.

This method also helps job sites as now they won't be on the hook for privacy issues or need to store any data about the user, etc.

Please do let me know what you think, comments, questions. You can reply in the comments section or send me a DM or @ via twitter to rotimi_je_suis
What cloud database do you use?
Tags: database, discuss, devops
Published: 2020-08-14 08:53:30

I expect the database to be reliable and monitorable.

The cloud is better to [start free](https://dev.to/micahlt/is-there-such-thing-as-a-truly-free-cloud-database-557e), rather than time-limited trial.

I previously looked for [a generous one for dictionary / sentences storage (as well as users')](https://dev.to/patarapolw/generous-sql-or-nosql-hosting-similar-to-mongodb-atlas-1g3h), but maybe I can use **embedded database** for that instead?

<small>i.e. two connections, one for cloud, on for local</small>

[I don't hate SQL that much](https://dev.to/patarapolw/convince-me-to-use-sql-23fj), if it is more reliable. Maybe PostgreSQL or MariaDB is good?
How to schedule serverless lambda execution with Github Actions
Tags: actionshackathon, github, opensource
Published: 2020-08-14 08:43:26

---
title: How to schedule serverless lambda execution with Github Actions
published: true
description: A simple scheduling action that saves you a lot of time and money
tags: actionshackathon, github, opensource
---


### My Workflow

This workflow allows to schedule execution of serverless lambda functions. Some services like Vercel make deployment of lambdas very easy, but do not give you an option to execute them on schedule. I needed it in my own app (link below) to regularly cleanup a database of items that users save. 

The trick is the cron jobs. For example, by adding this to your action:

```yml
on:
  schedule:
    - cron: "0 */1 * * *"
```

you can schedule your workflow to be run every 1 hour.

The cool thing is that you can manage authentication and all kinds of environment variables INSIDE your lambda and turn in into a simple API for the workflow to call: no credentials and arguments needed.

`curl` is accessible out-of-the-box so you can just run the command using the `run` field of the job.

### Submission Category: 

* Maintainer Must-Haves

### Yaml File or Link to Code

This is a relatively simple workflow so I'm going to just share YAML code here:

```yml
name: lambda-scheduler

on:
  schedule:
    - cron: "0 */1 * * *"

jobs:
  request:
    name: Request
    runs-on: ubuntu-latest
    steps:
      - name: Cleanup
        run: curl https://yourcoolwebsite.com/api/cleanup
```

### Additional Resources / Info

The workflow is used in this repository. This is a Pocket-like app that allows you to save links for further reading without keeping them as open tabs. Any link older than 24 hours is automatically removed.

{% github jlkiri/untab %}
Select Multiple files(random) from the folder in streamlit
Tags: streamlitpython
Published: 2020-08-14 08:29:55

```
# File Selection Drop Down
import streamlit as st
import os
from typing import Dict


@st.cache(allow_output_mutation=True)
def get_static_store() -> Dict:
    """This dictionary is initialized once and can be used to store the files uploaded"""
    return {}

def file_selector(folder_path):
    filenames = os.listdir(folder_path)
    selected_filename = st.selectbox('Select a file', filenames)
    return os.path.join(folder_path, selected_filename)

def main():
    fileslist = get_static_store()
    folderPath = st.text_input('Enter folder path:')
    if folderPath:    
        filename = file_selector(folderPath)
        if not filename in fileslist.values():
            fileslist[filename] = filename
    else:
        fileslist.clear()  # Hack to clear list if the user clears the cache and reloads the page
        st.info("Select one or more files.")

    if st.button("Clear file list"):
        fileslist.clear()
    if st.checkbox("Show file list?", True):
        finalNames = list(fileslist.keys())
        st.write(list(fileslist.keys()))

main()
```
Digital Marketing Services In Navi Mumbai
Tags: digitalmarketing, seo
Published: 2020-08-14 08:15:18

At Siddigital as a Digital Marketing Company, our vision is to support customers, to provide customers with all the digital marketing services to ensure that the growth paths supported by end solutions are targeted on all platforms of the digital media.
We provide Digital Marketing Services in Navi Mumbai and all over India, our range of services include-

Seo services
Google Adwords
Facebook Ads
PPC Campaigns
Social Media Marketing Services
Website Designing
Website Development 

Visit us at-

003,A-wing, Radha Palace, Plot No. 108, Vadale Talav Rd, near Aadi, Sector-9, New Panvel East, Navi Mumbai, Maharashtra 410206
7977108551
www.siddigital.com
Ways Augmented Reality is Revamping Customer Experience
Tags: augmentedreality, ar, customerexperience, arbringingachange
Published: 2020-08-14 08:13:54

Augmented reality is changing the way people do business. 3D objects virtually placed via user’s mobile devices can add layers of experiences and makes them engage more with your product or service. This enhances the process at every stage from pre-sales to sales to post-sales. The technology helps to strengthen the brand and consumer relationship. Here are 15 key ways, augmented reality is transforming the customer experience as well as marketing experience: https://www.queppelin.com/15-ways-how-augmented-reality-technology-revamping-customer-experience/
Day 0
Tags: 100daysofcode, womenintech, codenewbie, beginners
Published: 2020-08-14 08:08:56

To start is the hardest part of achieving something; and that is what I'm trying to do. That's why, I decided to start to commit and learn through #100DaysOfCode challenge!

Currently enrolled as a business student from Indonesia, I want to get out of my comfort zone and explore new skills. I'm starting out with The Odin Project curriculum, hoping to land a job with the skill-set. With my basic ability to operate Adobe Photoshop, I want to make something out of both.

To stop myself from procrastinating, I would want to document my progress through daily posts in this platform. If you're on the same path as I do, let's learn and grow together!
What can I do with the Debugger for Chrome?
Tags: gatsby
Published: 2020-08-14 07:51:25

Hello.
I have started using Gatsby and developing my own websites in it,
and so far I have been developing web apps with Live Servers, auto refresh with autosave on with Visual Studio Code and I am fixing issues/bugs/code just like that.
If I make a mistake I just read the Errors in Console.Log/Browser and fix them myself.

I have never used a debugger and I don't know how it would help me.

What is the Debugger, what it does?

And how do I configure Visual Studio Code, Gatsby and Chrome for the debugger?
PERN barebones project v1.0
Tags: postgres, node, react, docker
Published: 2020-08-14 07:43:02

Just wrote a full barbones infrastructure of postgres + express + react using docker and docker-compose.
Try it guys and leave your feedbacks.
a simple how to deploy to AWS from there will be included shortly.

https://github.com/nadavpodjarski/pern-typescript-boilerplate
Something Just Clicked For Me...
Tags: codenewbie, react, webpack, babel
Published: 2020-08-14 07:38:16

_This post was originally published on August 14, 2020 on [my blog] (https://alexlsalt.github.io/blog)._

I love when this happens. I talk about it all the time in regard to the fact that learning something once usually isn't enough to really stick.

It might be that we don't have enough overall awareness of the subject matter at hand at that specific moment in time or we might not be as focused as we could be on another day.

Anyway, I always advocate not giving up on learning something - especially coding-related - when it doesn't stick after the first time (or first few times!).

For me, I think my brain finally wrapped itself around how Webpack, Babel, and the overall JavaScript ecosystem work together. I'll try to explain as best as I can so that it might hopefully help someone out in the same position:

1. We run a React app using Node (npm) - usually 'npm start' on the command line.

2. Once the app is started ('npm start'), Webpack is called to run and watches for any files that may have changed since the last time it was run.

3. If there are changed files, Webpack then sends these into Babel, which then turns the JSX (used in React) into JavaScript.

4. Webpack then sends that JavaScript to the browser via the development server (usually a local port, i.e. port 3000) and that's where we see the changes on the browser.

I'm fairly sure that's how it works, but I could definitely be off on a point, so if you're more experienced with React, Webpack, and Babel - feedback is certainly welcome!


----------


P.S. Did you know I have a podcast with new episodes each Wednesday? Go listen [right over here >>] (https://www.ladiescodecollective.com/podcast)

P.P.S. Have a coding project you want to work on in a supportive environment of other creative coding women? 

Sign up for my email newsletter for more details! >> [More info here] (https://www.ladiescodecollective.com)
How to run virtual environments with different versions of Python
Tags: python, windows
Published: 2020-08-14 07:37:03

# Always use a Virtual Environment
🦉 It is a wise move to always run your Python projects in a virtual environment.
🎈 Installing the many dependencies that the average Python program requires into your base OS can soon lead to a bloated system.
🍱 Better to run a virtual environment per project and keep everything clean and compartmentalized.

# Python 2 and Python 3?
* With that in mind, I had a requirement recently to run a program that required Python 2.7. I was running Python 3.8 on my machine.
* I realized that a virtual environment itself wasn't going to be enough. By default my virtual environments were all using Python 3.8.

Here's how I approached the problem on Windows 10:

1. Install Python2.7 from python.org

    Make sure you take a note of where the .exe file is installed. On my Windows machine the path was:
    ```
    C:\Python27\python.exe
    ```
2. Install the Python package 'virtualenv' using pip:

    ```
    pip install virtualenv
    ```
3. Create a new virtual environment using the Python 2.7 executable.

    Here the virtual environment is called venv1 and it uses Python2.7.
    ```
    virtualenv -p C:\Python27\python.exe venv1
    ```


4. Activate the virtual environment.
    ```
    .\venv1\Scripts\activate
    ```
5. Now if I enter 'python' I can see that I'm using Python 2.7.18 rather than the default 3.8:
    ```
    (venv1) PS C:\Users\joe> python
    Python 2.7.18<snip>
    ```

6. To create a virtual environment with Python 3.8, I can just run virtualenv without the p flag:
    ```
    virtualenv venv2
    ```

✨👹✨
@joeneville_
Secure code review: Part 5 - Least privilege principle
Tags: security, codequality, codenewbie
Published: 2020-08-14 07:24:59

Code reviews are hard to do well. Particularly when you’re not entirely sure about the errors you should be looking for! The DevSecOps approach pushes security testing left so that vulnerabilities can be found and fixed earlier, in the design, development, or CI/CD stages of the workflow. It’s always a good idea to check for security issues in code that you review. In case you don’t know what to look for, check out this series to give you pointers for your next code reviews!

## Enforce the least privilege principle

In addition to authentication comes authorization. They sound similar but are quite different. As we saw in [part 4](https://dev.to/brianverm/secure-code-review-part-4-enforce-secure-authentication-2dnb), authentication proves a user or service is indeed who they say they are, while authorization goes further to ensure that person or service is allowed to perform whatever task or action they’re trying to perform. We know we need to check for this and ensure those users, services, or processes are running or exist in a role that has the authority to undertake such an action. However, from a coding point of view, it’s often all too easy to give more access than is actually required.

The principle of least privilege states that every module (such as a process, a user, or a program, depending on the subject) must be able to access only the information and resources that are necessary for its legitimate purpose. So in essence, give people or processes the bare minimum of privileges and permissions they need to achieve their goal.

A great way to test for this is to ensure you write specific automatic unit and integration tests that not only test the happy path but, more importantly, test the unhappy security related cases. These tests should successfully authenticate, but try to perform operations they’re not entitled to perform. These tests should always be added when altering the roles your application runs under or introduces new resources that require you to be in a specific role to perform.

## Want to know more
Check the complete [Secure code review cheat sheet](https://snyk.io/blog/secure-code-review/)
How to customize git diff to spot changes faster
Tags: git, beginners, tutorial, productivity
Published: 2020-08-14 06:58:19

---
title: How to customize git diff to spot changes faster
published: true
tags: git, beginners, tutorial, productivity
canonical_url: https://gitbetter.substack.com/p/how-to-customize-git-diff-to-spot
---

![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F286420a7-290d-42c6-997a-4d4ae2cb3dfc_940x788.png)

> #### This post was originally posted in the newsletter [GitBetter](https://gitbetter.substack.com/). If you are interested in leveling up your game in Git, you can subscribe to it.

<br/>
git diff is one of the most useful features in git. Customizing diff will make your life easier.

**Diff-so-fancy** is the git tool that helps you to make good looking diffs. This tool helps you to spot the differences without any human error.

You can view the package in this **[repo](https://github.com/so-fancy/diff-so-fancy)**

Let’s see that in-depth

### Installation

Diff-so-fancy is available in brew, npm and also as a package for Debian Linux

```
brew install diff-so-fancy

npm i diff-so-fancy --global
```

<br/>
### Usage

I will explain a few ways of using diff-so-fancy. You can choose your way of doing it.

Be default, diff-so-fancy will never change any default diff options. You should explicitly mention it.

```
git diff | diff-so-fancy
```

The above command will use diff-so-fancy to display the difference.

![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7f1221f1-5acb-4d37-b2ae-c01d32359727_809x458.png)

If you want to make diff-so-fancy as default diff viewer, you can use

```
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
```

Now you can just use **git diff** to use diff-so-fancy.

Now for some reason, you may wish to use the default git diff to view the change even after setting diff-so-fancy.

In that case, you can use

```
git --no-pager diff
```

The above command will bypass diff-so-fancy. So the default diff view will be used.

### Remove diff-so-fancy from the default option

To remove diff-so-fancy from the default git diff, you can set the pager as

```
git config --global core.pager 'less'
```

Git uses a pager to display the content. Pager is used in commands like **git-diff,**  **git-log.** By default, a pager called **less** is used by Git.

So in the above command, I have set the default pager to Git.

diff-so-fancy comes with few options. You can see that in the repo.

Thank you for reading :)

> #### This post was originally posted in the newsletter [GitBetter](https://gitbetter.substack.com/). If you are interested in leveling up your game in Git, you can subscribe to it.
droidmakk.dev PORTFOLIO
Tags: webdev, javascript, css, html
Published: 2020-08-14 06:52:29

SHORT, my new portfolio - https://droidmakk.dev

LONG,
It's been a long time in my mind that I've got to have a website as my portfolio.
But I was confused between which framework to use as I was already developing applications using React and React Native, Playing around with svelte and VUE.
After a lot of confusion, I decided to let's go retro and develop it in HTML, CSS, and Javascript with a bit of Jquery.

After putting my heads down and developing the website within half a day... I had put it aside for more than 2/3 months.

Now I myself got a chance to make some minor fixes and push it to live.

https://droidmakk.dev
Why they don't teach this?
Tags: developer, react, ideas, explore
Published: 2020-08-14 06:50:49

Being a self taught programmer you know the reality of online coding tutorials and projects based courses.
Coming to the point always i had a question that why they don't teach which is Actually more beneficial than making a CRUD application every single time. 
In every project based tutorials things are playing around CRUD operations. But why? I think we can do something better than this. 
Let me tell you with an example. 
I don't want to take the channel name but recently on youtube i was watching a tutorial named "clone of Instagram in react and firebase". I watched it and i found that they left me with the code for posting and saving pictures in realtime with very basic authentication system. Thats all, here is your Instagram clone.

And there are number of online tutorial or paid udemy courses are available to waste our time. 
I know crud is necessary but there are plenty of people already did that so you please do something new. 
Now when ever someone says "clone" of something i give a nice "😁" thats it. 

According to me do at least these useful things.
1. Always setup your project with docker. (must)
2. Break the wall of CRUD operations and go behind the wall. For ex. In Instagram clone don't teach how to handle 5M request per sec but at least teach "how to have that save image feature" in your clone and you Should be able to view those images later.
3. Add at least one new feature. 
4. Try to write production similar code. Well organized code.
5. Teach version control 
6. Always keep updated code in your videos or blogs.

Do all this your students will not tired giving you kisses and hugs.

Thanks
Deploy Hugo website to Firebase
Tags: actionshackathon, github, opensource
Published: 2020-08-14 06:43:28

---
title: Deploy Hugo website to Firebase
published: true
description: My submission to the GitHub Actions x DEV Hackathon!
tags: actionshackathon, github, opensource
---

[Instructions]: # (To submit to the GitHub Actions x DEV Hackathon, please fill out all sections.)


### My Workflow
Filename `deploy.yml`, action name `Deploy`.
This action is triggered when I merge code to the master (main) branch and there are three steps: setup environment for Hugo framework, build the code and deploy. The deployment on Firebase is quite easy using an authorisation token provided by Firebase itself.


### Submission Category: 

DIY Deployments


### Yaml File or Link to Code

{% github rossanodan/rossanodan %}

Link to the Action https://github.com/rossanodan/rossanodan/blob/master/.github/workflows/deploy.yml


### Additional Resources / Info

https://gohugo.io/
https://firebase.google.com/