teleren/devto huggingface dataset:
Open source enterprise document manager system
Tags: sass, rails, javascript, free
Published: 2020-05-26 12:10:22

---
title: Open source enterprise document manager system
published: true
description: Manager enterprise all docs on bluedoc is awesome.
tags: Sass, Rails, Javascript, Free
---

BlueDoc is a solution for distributing documents scattered throughout the enterprise. Through a unified platform, all documents of the enterprise are brought together to form a document platform that is convenient for communication, sharing, and collaboration.

Bluedoc support private deployment all is free now.  

So far our team all document are create or upload on bluedoc which private 
deployment service. like wiki, share doc, devoops fault record etc.

It's awesome system. i hope useful in your team.

[Bluedoc](https://bluedoc.org/en/)
While learning to code, What limits have you had in the past and how did you overcome them?
Tags: meetups, learntocode, developer, motivation
Published: 2020-05-26 12:01:17

---
title: While learning to code, What limits have you had in the past and how did you overcome them?
published: true
description: Daily question and the answers from the Code Connector tech slack group
tags: meetups, learntocode, developer, motivation
---

While learning to code, What limits have you had in the past and how did you overcome them?

1. I keep bouncing from one language to another. Solution: Pick something and get good at it.
2. I'm too old. Solution: Just get started. You are going to get older whether you try or not.
3. I tried this tech stuff once before and failed myself into depression. Solution: Find the courage to take the risk and just get started.
4. There's not enough time. Solution: Stay up late, get up early, remove distractions, use a family member as a taskmaster.
5. It's just too much to remember. Solution: Use digital flash cards, have someone quiz you, and build small projects until certain concepts sink into muscle memory
6. My limits are creating beautiful products. Solution: Practice makes perfect.
7. Doing talks at meetup. Solution: Attend meetups
8. Writing correct English grammar has been a major limitation. Solution: Write blog posts and get feedback.
9. Not having someone around who knew how to code in K-12 school. Solution: Consistency = Success
10. I try not to spend 'too much' time researching things that aren't helping me to complete actual work.

Code Connector Contributors: Rachel Eiting, Corey McCarty, Dinesh Sharma, Lynn Bradshaw, Lawrence Lockhart
Daily Developer Jokes - Tuesday, May 26, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-05-26 12:00:18

---
title: "Daily Developer Jokes - Tuesday, May 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=Tuesday%2C%20May%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/5e1258f70cd7f.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:___ Are computers dangerous?

___A:___ Nah, they don't byte. They just nibble a bit.
 -->
Dependency Management Improvements In Pip's Resolver
Published: 2020-05-26 11:46:50

<p>Dependency management in Python has taken a long and winding path, which has led to the current dominance of Pip. One of the remaining shortcomings is the lack of a robust mechanism for resolving the package and version constraints that are necessary to produce a working system. Thankfully, the Python Software Foundation has funded an effort to upgrade the dependency resolution algorithm and user experience of Pip. In this episode the engineers working on these improvements, Pradyun Gedam, Tzu-Ping Chung, and Paul Moore, discuss the history of Pip, the challenges of dependency management in Python, and the benefits that surrounding projects will gain from a more robust resolution algorithm. This is an exciting development for the Python ecosystem, so listen now and then provide feedback on how the new resolver is working for you.</p><p><a href='https://www.pythonpodcast.com/pip-resolver-dependency-management-episode-264/'>Listen Now!</a></p>
Mapping The Customer Journey For B2B Companies At Dreamdata - Episode 134
Published: 2020-05-26 11:46:09

<p>Gaining a complete view of the customer journey is especially difficult in B2B companies. This is due to the number of different individuals involved and the myriad ways that they interface with the business. Dreamdata integrates data from the multitude of platforms that are used by these organizations so that they can get a comprehensive view of their customer lifecycle. In this episode Ole Dallerup explains how Dreamdata was started, how their platform is architected, and the challenges inherent to data management in the B2B space. This conversation is a useful look into how data engineering and analytics can have a direct impact on the success of the business.</p><p><a href='https://www.dataengineeringpodcast.com/dreamdata-b2b-customer-journey-episode-134/'>Listen Now!</a></p>
Colors for console.log with Deno
Tags: deno, beginners, tutorial
Published: 2020-05-26 11:33:42

Chalk is a Nodejs package used to write console.log with colors. It's extremely useful for debugging your application by having easy to see big red highlights for your critical and error debug.

If you are using Deno and wanted something similar, you are in the right place. 



## The different types of console debug ##

JavaScript console has different levels of debug type. You have the common *console.log* command. But you also have more of them. In Deno, those debugs have nothing different. 

![Deno colors](https://i.imgur.com/Mc3f3uW.png)

So let's add a little bit of colors to them !



## Deno Color system ##

Deno colors are similar to the chalk ones and are managers by one Deno standard library. Simply import the link *https://deno.land/std/fmt/colors.ts* to your Deno code like this : 

![Deno colors](https://imgur.com/pTwrZkp.png)

Deno color system works by adding the function, "Colors.[the name of the color]" to your console.log parameter. Now we have pretty colorful debug. But we can do more !



## Override default console functions ##

Having to write the function Colors.red every time you need a red text is not easy to use. But you can override the default console functions with your own :

![Deno colors](https://imgur.com/LcieZrY.png)



Now, every time you will use console.error in your application, a red prefix will follow your log everywhere inside your application. You should create another .ts script named something like "debug" or "console" and import it from your main application file at the beginning.
How to terminate Vim / Vi
Tags: vim, vi
Published: 2020-05-26 11:31:04

---
title: How to terminate Vim / Vi
published: true
description: 
tags: vim, vi
---

I've opened and modified a vim or vi that I don't normally use when editing a configuration file, but I can't get back to the terminal from vim/vi.
How to terminate vim/vi (hereafter referred to only as vim) in such cases

## First, press the escape key [Esc].
This will put Vim in neutral mode and allow you to enter commands

## Enter the exit command.
You should see the command you're typing in the lower left corner of the screen.

### When exiting a saved file from an open vim
```
:q
```

### Exiting vim without saving the file
```
:q!
```

### If you save the file and then exit the vim
```
:wq
```

-----
digression

I'm an uncle of emacs, so I must have forgotten how to terminate Vi.
Difference between function declaration and function expression 
Published: 2020-05-26 11:22:31

A very important and confusing thing


//Function declarations load before any code execution
function foo() { return 5; }


//Anonymous function expression 
//Load only when the interpreter reaches that line
var foo = function() { return 5; }


//Named function expression
var foo = function foo() { return 5; }



//Example: Function Expression

<script>
          alert(foo());    // ERROR! foo wasn't loaded yet
          var foo = function() { return 5; } 
</script>


//Example: Function Declaration

<script>
          alert(foo());    // Alerts 5. loaded before any code can run.
          function foo() { return 5; }
</script>
[New Series] Using the MDN Web Docs
Tags: beginners, javascript, webdev, tutorial
Published: 2020-05-26 11:15:49

Welcome to this new series, Things I Wish I Knew! I plan to periodically write a brief post that covers a very specific aspect of JavaScript that would've been amazing to know when I was starting out.

This is in no way meant to be an advanced topic or tutorial series, many of the things I write about you may already know, I'm simply trying to provide some extra insight and explanation to people who are interested in learning more about JavaScript!

Feel free to let me know if you're interested in hearing more about a specific topic that I write about, I'd be more than happy to expand if people are interested!

---

# MDN Web Docs

> Resources for developers, by developers.

It says it right in the tag line. The [Mozilla Developer Network Web Docs](https://developer.mozilla.org/) (aka MDN) is a repository filled to the brim with indepth and up to date documentation and examples covering web technologies, including [JS](https://developer.mozilla.org/en-US/docs/Web/JavaScript), [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) and [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML), along with substantial coverage of [browser and DOM APIs](https://developer.mozilla.org/en-US/docs/Web/API). To give you an idea of how elaborate they are, just have a look at the [overview](https://developer.mozilla.org/en-US/docs/Web).

I cannot understate how much of a useful and relevant resource this is for any developer. There are numerous examples present on each page, along with extensive cross-linking between to other relevant articles. It makes it painless to discover and understand any topic that you find yourself investigating.

I personally spend more time, and learn more from the docs, compared to other sites such as StackOverflow. Don't get me wrong, StackOverflow is an incredible resource and repository of knowledge which I use daily, but I've found if I want a deeper level of understanding and want to utilise what I've found in the future, MDN is the way to go.

My favourite aspect of the docs to browse would be the [API Index](https://developer.mozilla.org/en-US/docs/Web/API) (yes my life is sad, moving on), which lists out all the Web APIs available through JavaScript. The list is staggering, everything from [Ambient Light Sensors](https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor) to [Web Crypto](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API), it's certainly worth a look to see what is available for your website or app. Each API is supplemented with a compatibility table, outlining the functionality and support for all the major browsers, right along side a direct link to the specifications and related technologies.

I urge you to take the time have a look at MDN, learn how to use it to your advantage and to grow your knowledge and understanding as a developer. When you're Googling something, make an effort to scroll down an extra result or two do open the MDN page and get a thorough example and explaination. You won't regret it!
Deno Express Tutorial
Tags: deno, webdev, beginners, tutorial
Published: 2020-05-26 10:48:43

Deno Express is a small little library that allows you to perform express like behaviour in Deno. I've put together a quick tutorial to show you how they work if you want to bring up a quick and simple web server.


{% youtube OktBhNexnhY %}
<center>[Youtube: Deno Express Tutorial](https://youtu.be/OktBhNexnhY)</center>

Included in this video are:
* Installing Deno Express
* Performing a Hello World web server
* Adding logging
* another web server libraries
* Setting up Requests

Deno Express:
https://github.com/NMathar/deno-express

Deno:
http://deno.land/

## Follow and support me: 
Special thanks if you subscribe to my channel :)
* [🎞️ Youtube](https://www.youtube.com/channel/UCvM5YYWwfLwpcQgbRr68JLQ?sub_confirmation=1)
* [🐦 Twitter](https://twitter.com/adrian_twarog)

## Want to see more:
I will try to post new great content every day. Here are the latest items:
* [Adobe XD to Fully Responsive WordPress Site](https://dev.to/adriantwarog/adobe-xd-to-fully-responsive-wordpress-site-16e0)
* [Adobe XD to HTML Full Process](https://dev.to/adriantwarog/adobe-xd-to-html-full-process-ao6)
* [Full Tutorial on how to use SASS to improve your CSS](https://dev.to/adriantwarog/full-tutorial-on-how-to-use-sass-to-improve-your-css-57on)
* [Creating a Mobile Design and Developing it](https://dev.to/adriantwarog/creating-a-mobile-design-and-developing-it-5c4o)
Tweets That Boost Productivity - Part 1
Tags: todayilearned, productivity, codenewbie, javascript
Published: 2020-05-26 11:13:07

I am starting a series to share tweets that are encouraging to developers in order to boast their productivity somehow. I am not sure how often I will be doing this, but this is part 1. I am doing it because I notice a lot of people like it when I wrote [How Many Tutorials Before I become a Pro? - Newbie Asks](https://dev.to/ebereplenty/how-many-tutorial-before-i-become-a-pro-newbie-asks-1fa).

My major targets are the newbies. I hope you enjoy it.

{% twitter 1264812472470507521 %}

{% twitter 1264463368087273478 %}

{% twitter 1264611916506451970 %}

{% twitter 1264631505453801472 %}

{% twitter 1264583433453555714 %}

{% twitter 1264532445916991488 %}

{% twitter 1264510809490755584 %}

{% twitter 1264016812670320641 %}

{% twitter 1264154243600019457 %}

{% twitter 1264190202295259136 %}

{% twitter 1264191031496630273 %}

{% twitter 1263538368580710401 %}

{% twitter 1263869437536546819 %}

{% twitter 1262755109051576320 %}

{% twitter 1262654223423963141 %}

{% twitter 1262844582938718211 %}

{% twitter 1262699391875534848 %}

{% twitter 1262640761163694083 %}

{% twitter 1262463666282213381 %}

{% twitter 1262057453337927681 %}

{% twitter 1262018307080716289 %}

{% twitter 1261266510493954049 %}

{% twitter 1261606537916583937 %}

{% twitter 1261211996546109441 %}

{% twitter 1260781197442953216 %}

{% twitter 1260539816661393414 %}

{% twitter 1260090630937681921 %}

{% twitter 1259821299775528960 %}

{% twitter 1259568584365412352 %}

{% twitter 1259787054554071040 %}

{% twitter 1257388121257279499 %}

{% twitter 1256189423718367232 %}

{% twitter 1255752157384540160 %}

{% twitter 1255439455160328192 %}

{% twitter 1255176972386340865 %}

{% twitter 1254690503863525376 %}

{% twitter 1254459848596566023 %}

{% twitter 1254084656728870913 %}

{% twitter 1253956913659703297 %}

{% twitter 1253748540649635842 %}

{% twitter 1252506860449644545 %}

{% twitter 1251137286009430019 %}

{% twitter 1250733518415474688 %}

### Conclusion
I hope you enjoyed the tweets and you are encouraged to do more. I may continue and be more consistent. Maybe weekly but with fewer tweets.

If you have questions, comments or suggestions, please drop them in the comment section.

You can also follow and message me on social media platforms. 

**[Twitter](https://twitter.com/eberetwit) | [LinkedIn](https://www.linkedin.com/in/samson-ebere-njoku-profile/) | [Github](https://github.com/EBEREGIT)**

Thank You For Your Time.
Javascript Interview: Logical Operators
Tags: javascript, career, webdev, beginners
Published: 2020-05-26 10:37:34

Hey fellow devs!

Having conducted interviews for **Javascript developers** over the *past several years*, I am now starting a new playlist series on my **[YouTube channel](https://www.youtube.com/channel/UCowumzu6ojutpuj-wzqTIcA?view_as=subscriber)** focussed on Javascript interviews for beginner developers. In this series, we would focus on how things **actually** work and also look at **specific keywords** that interviewers look for in the answers to these questions. 

#### Logical Operators in Javascript
In this video, we look into **Logical Operators** in Javascript. If you come from a c language background, you would think that a **logical AND (&&) returns true** if all operands are true, else false, and the complementary login in case of **logical OR (||)**, but there's more to it than that. Let's explore what that is in this ~3-minute video.

{% youtube 8jN2MYz-fMk %}

Cheers!
Web Peer Assessment System - WPES
Tags: githubsdp, damian96, peerassessment, laravel
Published: 2020-05-26 10:37:10


---
title: Web Peer Assessment System - WPES
published: true
description: I just graduated from City College, and this was my final project.
tags: githubsdp, Damian96, peer-assessment, laravel
---

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project and experience.)

[Note]: # (If you used the GitHub Student Developer Pack on your project, add the "#githubsdp" tag above. We’d also love to know which services you used and how you used it!)

## My Final Project
Online Peer Assessment Tool for Group Assignments 

## Link to Code
[`{% github https://github.com/Damian96/peer-assesment-app %}`]: #
https://github.com/Damian96/peer-assesment-app

## How I built it (what's the stack? did I run into issues or discover something new along the way?)
I built it from scratch using **Laravel** 6 Framework, **PHP** v7.4, **jQuery** v3, **Bootstrap** v4.<br>
In the midway of the development, I run into an issue that forces me to use jQuery UI.
I was trying to *replicate* the Google Form's form creation functionality, and it was pretty tough to implement so many types of fields in so much little time.<br>
Along the way, I discovered the power of **Webpack** and the benefits of developing applications with it. Also, **BrowserSync** helped me automate the build, release of the project.<br>

## Additional Thoughts / Feelings / Stories
~ All hail peer evaluation! ~

[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
🎀 Use CSS to make your console messages prettier
Tags: css, javascript, beginners
Published: 2020-05-26 10:33:19

If you want to make your console.log() messages really stand out from the crowd you can style them with CSS.

Just add %c before the text you wish to style, anything before this will not be styled, and pass in your CSS as a string to the second argument of console.log('string','cssString')

```javascript
console.log(
   "%c CSS Styled console.log()",
   "border-radius:30px; padding: 10px; background: content-box radial-gradient(white,orange);"
)
```

Outputs

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/a1oy3miaw3ye4qxstr7o.png)
<figcaption>CSS Styled Console.log()</figcaption>

If you enjoyed this little snippet you can [follow me](https://twitter.com/iain_freestone) on Twitter where I regularly post bite size tips relating to HTML, CSS and JavaScript.
Extend Rails ActiveStorage disk service for multitenant
Tags: rails, multitenant, apartment, activestorage
Published: 2020-05-26 10:30:21

---
title: Extend Rails ActiveStorage disk service for multitenant
published: true
description: Organise active storage attachment per tenant folder
tags: rails, multitenant, apartment, active storage
---

If you using [Apartment](https://github.com/influitive/apartment) and use ActiveStorage disk as a storage service, you might want to organise storage folder per-tenant or something like this:

```
storage/tenant1/
storage/tenant2/
storage/other_tenant/
```

This can be achieved by extending the default ActiveStorage disk service class

```ruby
# lib/active_storage/service/tenant_service.rb
# extend disk service
require "active_storage/service/disk_service"

module ActiveStorage
  class Service::TenantService < Service::DiskService 
    def path_for(key) 
      current_tenant = Apartment::Tenant.current
      File.join root, current_tenant, folder_for(key), key
    end
  end
end

```

Change storage config for local using new service previously created
```yaml
# config/storage.yml
test:
  service: Disk
  root: <%= Rails.root.join("tmp/storage") %>

local:
  service: Tenant
  root: <%= Rails.root.join("storage") %>
```
** Don't forget to restart rails server

Benefits:
- Easy to cleanup storage when tenant dropped
```
Apartment::Tenant.drop('tenant_name')
`rm -rf storage/tenant_name`
```
- check disk usage per tenant
- per tenant backup?
[EN/AR] Developers Jeopardy! How many questions can you get right?
Tags: developers, trivia, jeopardy
Published: 2020-05-26 10:27:46

---
title: [EN/AR] Developers Jeopardy! How many questions can you get right?
published: true
description: A nice activity while quarantining. How many questions can you get right?
tags: Developers, Trivia, Jeopardy
---
I decided to host a software-development-themed Jeopardy game with my friends as a nice activity to do while quarantining.There were some technical difficulties and humans mistakes, but overall it was fun and informative for all of us. Please tell me what you think, and whether there are any mistakes that we did. I hope you enjoy it!

https://www.youtube.com/watch?v=NihQ5ZxuCfs

P.S. I'd love to see more content like this from other people too. It would be fun and educational at the same time.