teleren/devto huggingface dataset:
비트코인
Tags: cryptocurrency, offtopic, korean
Published: 2021-01-15 05:24:39

A씨는 비트코인이 떡상한 소식을 접한 다음날 남자친구와 게임을 하다가, 여러장의 그래픽카드를 설치한 컴퓨터를 자랑하면서 그 컴퓨터로 비트코인 채굴을 하며 그래픽카드를 혹사하는 남자친구를 보고, 결별을 결심했다. 이유를 구구절절 설명하지 않았다. 게임을 하는데 중요한 그래픽카드를 아무렇지도 않게 혹사시킬 수 있다는 게 놀라웠고, 진심으로 떡상을 갈망하는 표정이 소름끼쳤으며, 뭐 이런 채굴가지고 그리 심각한 표정을 짓냐는듯 히죽거리는 눈빛이 역겨웠다. 그래픽카드를 파괴할 수 있다면 금융을 파괴할 수 있고, 마침내 경제위기는 자신을 향할 거라는 공포도 입에 담지 않았다. 단지 둘의 사이가 깊어지기 전에 비트코인이 떡상해주었던 게 어쩌면 다행이었단 생각이 들 뿐이었다.
My Moodle Tips #1
Tags: moodle, php, opcache, lms
Published: 2021-01-15 05:09:40

If your website going down and showing HTTP error code 500 and/or 503 or sometimes your website's template getting error in some places, you might want to check your **opcache** PHP extension.

**Opcache** has to be enabled. It will lower your resource usage significantly because of its opcode caching capability.

However, if it has always been enabled but causing errors like I mentioned above, you can disable **opcache** extension temporarily (like 3-5 seconds) then enable it again. Your PHP engine should be refreshed and your Moodle site will be up again (if your server doesn't refresh, restart it manually).
Help me do a Go Newsletter you will like
Tags: go, showdev
Published: 2021-01-15 04:49:53

---
title: Help me do a Go Newsletter you will like
published: true
description: After 4 years tweeting about Go, I start to maintain a Golang Newsletter
tags: go, golang, showdev
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/4f8f2oe76my2agctxk7y.png
---
I’m Stefan, the maintainer of this new Go Newsletter.

I started with Go about 5 years ago, when in the company I work for, our CTO showed me the hefty stuff he codes in Go and explains why he chooses that company is using Go. ( thank you for that CTO, I know you read this 😄 )

I’m not working as Dev in this company, but product management, but code since “Shining” and before Acoustic coupler’s (google about….) entered in the IT-sphere. I always want to be “state of the art” with coding, that Dev’s I work with can not tell me any story, and I can do Sideprojects, like the [Go Developer Job Board](https://golangjob.xyz).

Since 2017 I tweet daily about new or update Go Libraries, go-based open-source software, and have on [@golangch](https://twitter.com/golangch) over 6300 Followers.

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

Now I start this Newsletter to have a way to write a bit more about the interesting stuff I find when I schedule my tweets via some other side-project, I do, plus use this channel to get to some discussions with the Go Community.
NOW… What you need to work (please 😄 )

First, please tell me in the comments on what frequency of newsletter you prefer
bi-weekly, tri-weekly (uncommon, but why not), or monthly.

Second. What are you most interested in:
a) Go Packages/Libraries (to use in your projects)
b) Go-based tools, open-source software ( to use and/or to study code )
c) Golang related content, like tutorials, blog posts.

Please subscribe and comment here:
[Golang1 Newsletter](https://golang1.substack.com/p/welcome-first-you-need-to-work-)

Thank you and until soon
Stefan
Launching a product? See how we made $450K in the first two months
Tags: guides
Published: 2021-10-02 11:35:27

---
title: Launching a product? See how we made $450K in the first two months
published: true
date: 2021-01-15 04:45:00 UTC
tags: guides
canonical_url: https://vikeshtiwari.com/how-we-made-450k-with-appsumo-texau/
---

 ![Launching a product? See how we made $450K in the first two months](https://vikeshtiwari.com/content/images/2021/06/How-I-made--450K-Vikesh-Tiwari.png)

It’s been almost a year now and I still get questions on how was the launch of [TexAu](https://texau.app?ref=Vikesh) on [AppSumo](https://appsumo.8odi.net/m6eLM), why did I decide to do a lifetime deal of TexAu, how to make a successful product launch and what problems did I face.

In this guide, I’m going to share everything that I have learned in the past 10 months after launching our first product and generating $450K in total revenue and over 5000+ customers in just 2 months. Make sure to grab a coffee and open your notebook to write the points or simply bookmark this page right away to come back and refer to the content when you’re launching your product.

So…

![Launching a product? See how we made $450K in the first two months](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%2F0dc5ed3e-b5a7-41c7-ac86-60beeda97e7d_480x270.gif)

# How to make a successful product launch

We are going to divide this guide into three sections,

1. what we should do 3-4 months before the launch,
2. what we should be doing during the launch, and,
3. what we should do after the launch to retain the customers.

Let’s start with the pre-launch preparation
Starting your career in tech!
Tags: career, todayilearned
Published: 2021-01-15 04:21:47

Hey!

I attended an absolutely amazing session by RTC - "Motivating Career options" and would love to share my favourite parts of the session and the deep impression it left on me.

* Your crystal ball is cloudy - It's unrealistic to plan out your next 30 years when you are in college. Focus on getting started.
* The world is changing and so many new opportunities will open up. Self driving cars, data science etc.. were unimaginable 30 years ago.
* Stay informed, educated, open-minded, nimble and adaptable.
* Every industry has tech needs.
![Screenshot 2021-01-15 at 8.06.43 AM](https://dev-to-uploads.s3.amazonaws.com/i/yzzhwkjabwfwf95fpx2n.png)
 
* Entry level options in tech. Some of them include:
![Screenshot 2021-01-15 at 7.53.22 AM](https://dev-to-uploads.s3.amazonaws.com/i/ppatiegnshi1nu2kou7t.png)
 
* Corporate structure:
![Screenshot 2021-01-15 at 8.10.15 AM](https://dev-to-uploads.s3.amazonaws.com/i/6l2i3ayrtq7lia9aggjl.png)
 
* Network
* Be a risk taker and explore unusual paths and learn forever!

We were divided into groups based on our personality types. I got paired up with an amazing person from Florida. Both of us were ISTJ type and we had a lot in common especially how we liked to organise stuff. We had fun talking about our differences though ;) - how different our countries were and the career paths available in both the countries. I had a lot of fun listening to her views on life - how she plans her day, keeps journals, uses calendars, the importance of a clean desk and workspace and a desk near the window. 

We pondered on topics I've never actually thought of:
####Top 3 things I like to do:
1. Learning new things, Building/trying out new tools/tech
2. Reading books/blogs - well anything
3. Being organised

####What do you do when you feel in groove:
1. I absolutely love what I do and try to perfect that activity to my best ability.
2. I don't get sidetracked and am fully focused. I even forget about eating food.😂
3. I'm in a good mood and happy and proud of what I did.

####Ideal work environment:
1. It would be really great if I could work in a mixture of a remote and office environment.
2. I would love working in a supportive group on challenging projects where I can learn lots of new things.
3. Secure workplace where I can be financially independent.

####3 essential items you look for in a job:
1. Security
2. Career Advancement
3. A sense of Accomplishment

####Top 3 objectives of first job:
1. Security + Financial independence
2. Tech environment where I can learn lots and lots
3. Not too much pressure

I felt really happy after the session! The world is full of possibilities.

Bye!
@stratospher
LocalHackDay
Published: 2021-01-15 04:10:55

LocalHackDay was absolutely amazing. Will you ever expect a dino game at a hack day!  Here, at LocalHackDay, I found some really unexpected challenges but extremely fun. This event was absolutely refreshing and exciting. I built some really good mini-projects and learnt some amazing skills. It was a really great experience.
#MLH #MajorLeagueHacking #LocalHackDay
GitHub Pull Request Auto-Merge EXPLAINED
Tags: github, devops, productivity, pullrequest
Published: 2021-01-15 03:57:15

GitHub recently announced the possibility to __automatically merge a Pull Request__ into the main branch. Let's see how.

### Intro 

Today I will show you how to use the brand new Pull Request auto-merge feature recently announced from GitHub and why I think it is __pretty useful__.

![PR Merge slide](https://dev-to-uploads.s3.amazonaws.com/i/sbrfy4lmms1faawpm9hj.png)

Right now when you submit a pull request on on GitHub you often have to spend a lot of time __waiting for approval__, status checks to complete, etc.

And then you gotta remember to check back in so that you can actually have the code merged. And if you forget to do that, or if you wait a day or two, sometimes even other changes come in and you have to redo your pull request.

This new feature basically lets the developer submit a Pull Request to a code base and __mark it to be automatically merged in__ when approved and all the checks have passed.

### Video

Alright, let's see __how to enable and use__ it.

This is much easier to see and explain with a demo:

{% youtube Igx8w95cakU %}

([Link to the video: https://youtu.be/Igx8w95cakU](https://youtu.be/Igx8w95cakU))

### Conclusions

Of course this is totally __optional__, but it is a significant time savings and improving experience. And there is a way for repo admins or org admins to ___disable___ it if they don't want their PRs to be automatically merged.

What do you think of this new feature? Are you going to use it? I think it is pretty cool, and if you are like me, working with teams distributed through different timezone, it is gonna save time because if I have to wait for other people to approve my PRs I often then forget to merge them manually.

Let me know in the comments below!
Is it possible to build Responsive Webpage without CODE?
Tags: webdev, html, css, react
Published: 2021-01-15 03:48:30

Back in July 2020, we launched pxCode and the response so far has been amazing. We’ve reached a peak of hundreds of visitors to our official website daily, and the user numbers are still growing. The feedback we’ve received is mostly positive and helpful, which has helped us shape the future of the product and make improvements.

#Revolutionary Features
Ever since pxCode released, we always proud to say that we are REVOLUTIONARY. But how? Because we are different than others! Here are some of the features we developed in the past few months:


1.【Clean Code with No-Code Editor】
pxCode is a no-code editor. It doesn’t require coding skills for responsive web editing. But for flexibility, code export is necessary for further modification, API integration, and other processing by engineers.

Export Clean Code is a crucial and important feature and we are working very hard to make the code well-structured. with better syntax. Now we support 3 languages including React, React Native, and HTML/SCSS without any dependencies.

Here's pxCode interface:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/8fxyqdcemrpm0zlpiw38.png)


2.【Design to Code to achieve Pixel Perfect (WYSIWYG)】
What You See Is What You Get. What you edit is the same as what you get in browsers with Instant Preview.

Pixel Perfect is a controversial topic because, in order to achieve the original visual design, it involves the balance of the efforts and code structures. Sometimes it’s really hard to achieve pixel-perfect by using some layout libraries such as Bootstrap 12 grid concept. Pixel Perfect is achieved naturally by pxCode because of importing the original design files as blueprints for responsive web code. Now Designer and Engineers won’t argue this topic anymore by using pxCode.

What you see is what you get:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ahgnk99xsaxwo6jk2lcf.png)


3.【10 times faster (heading to 20x timers) with Visual Programming】
The reason we think pxCode is revolutionary is that we introduce a brand-new coding way — Visual Programming, which also the reason why we can achieve 10–20x productivity in terms of hand-coding.
Traditionally it involves a lot of measurement, asset management, cross-browser and devices testing, and hand typing for writing responsive code. pxCode use visual programming way with design blueprints to achieve:

 • no more measurements and asset management because of the leverage of the design blueprint.
 • no more cross-browser testing because pxCode layout code is already well tested across modern browsers including Chrome, Edge, Safari, Firefox, and major mobile browsers.
 • reduce the huge effort for device testing across resolutions because you can preview and edit in real-time only with the editor.

Comparison with other competitors:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/m9z67sisi2gdj4vhx2kq.png)

Try out pxCode:
https://www.pxcode.io
Major League Hacks|Local Hack Day: Build 
Tags: mlh, majorleaguehacking, localhackday
Published: 2021-01-15 03:44:13

Hey everyone! This week was pretty exciting for me since I register for a weeklong hackathon for the first time, which is the Local Hack Day: Build by Major League Hacking. 

So let's start with knowing what MLH: Local Hack day - Build is all about.
Local hack day: Build is one of the three major events hosted by the lovely folks at #MLH which are- learn, build, and share.
LocalHackDay is a week-long celebration of coding and various new computer technologies. 
This event started on 10th January and will end on 17th January 2021. Every day there are certain new daily challenges which the hackers have to complete in 24hrs and there are some weeklong challenges that are to be completed in this week only. Every day there are some live events hosted by the cool MLH local hosts or the MLHers which are very informative as well as fun. Also in between these events, they also organize some fun events like playing the dinosaur game on chrome or the cup stacking event which basically are just for fun and relaxing.

There is a point system in which for every challenge submission you will get a point and if we check-in for a live event we will be awarded some check-in points. These points are then summed up for the personal hacker point as well as it will get added to your guild. 
Oh, it seems like I forgot to mention what a guild is. 
So a guild is like your team for which you earn your points to get your guild at the top ranking. And for this week I happened to be a part of a pretty amazing guild named EquiCode. The guild leader is the most awesome person I know. There was a task for having a meal with your guild member but our leader made it possible to organize a guild meeting where I was able to share a meal with all of my guild members. And due to all these efforts by our guild members and the guild leader we were able to bang the third position in the top guilds leaderboard. It is still day five and we hope that we reach the top. 

This week was the most awesome week of my life as I was able to interact with new guild members, I learned a lot from all the events and also I made very cool new projects for my portfolio.

I hope to attend a hackathon like this by MLH in future too
There is no need for an .env file on Heroku. 

Published: 2021-01-15 02:44:54

`heroku config:set VARIABLE=this_is_the_value `

There is no need for an .env file on Heroku. In fact, such a file won't work very well since

Heroku gets all of its files from your Git repository,
has an ephemeral filesystem, meaning that changes to files like .env will be quickly lost, and
the .env file won't be available on other dynos if you scale your app
As such, creating an .env file on Heroku isn't a good approach.

Instead, you can use its built-in support for environment variables, using heroku config:set <var> <value> or its web UI. Either way, you'll get a regular environment variable.

https://stackoverflow.com/questions/49905070/how-to-add-env-file-or-otherwise-set-environment-variables-in-a-heroku-app

`heroku config:set VARIABLE=this_is_the_value `
random-fruits-name.js is npm package that just generates random fruit names
Tags: javascript, npm
Published: 2021-01-15 02:37:24

A last year, I made a very simple npm package. It is a package named random-fruits-name.js.

[random-fruits-name.js - Generate the names of random fruits.](https://github.com/shinshin86/random-fruits-name.js)

As wrote in the README, it works in both the front-end and backend (Node.js) environment.
I'll write an example implementation in React.

```javascript
import React from "react";
import "./styles.css";
import getRandomFruitsName from "random-fruits-name";

export default function App() {
  return (
    <div className="App">
      <h1>Random Fruits name with React example</h1>
      <h2>This npm package of generate the names of random fruits.</h2>
      <p>{getRandomFruitsName() /* English is default language */}</p>
      <p>{getRandomFruitsName("en")}</p>
      <p>{getRandomFruitsName("es")}</p>
      <p>{getRandomFruitsName("ja")}</p>
      <p>{getRandomFruitsName("pt")}</p>
    </div>
  );
}
```

I've put the same code on CodeSandbox. You can see it in action here.

[random-fruits-name-with-react-example - CodeSandbox](https://codesandbox.io/s/random-fruits-name-with-react-example-n9b7w?file=/src/App.js)

At first it was a really simple npm package that just returned the names of fruits in English.
One day, however, a developer wrote a PR for Spanish, and that's when we started to add multi-language support, little by little.

[Adding Spanish Language #2(random-fruits-name.js)](https://github.com/shinshin86/random-fruits-name.js/pull/2)

Currently, Support four languages.

* English
* Spanish
* Japanese
* Portuguese

I haven't done that many commits in the open source community.
But I've always wanted to do it.

So I'm happy and very excited about this PR.
This is because they added support for multiple languages, a nice feature I hadn't initially thought of.
In this way, I also hope to contribute by sending PR to someone else's open source project.
(Oh, and by the way, last year was my first time attending Hacktoberfest, and I got a t-shirt!)

And I also welcome PR for random-fruits-name.js.
I hope that more language support will be added to this simple npm package :)
Snake Case vs Camel Case
Tags: discuss, healthydebate, python, javascript
Published: 2021-01-15 02:34:33

Hello DEV Community!

I'm curious to know whether you prefer snake case or camel case? If you could create your own programming language would you have snake case or camel case as the standard? In case you don't know what snake/camel case is here is an example:

Python example (Python uses snake case):

```python
def snake_case():
   print("Snake case is all words are separated by a '_'")
```

Javascript example (Javascript uses camel case):

```js
const camelCase() => {
   console.log("Camel case is every word except for the first one is capitalized.")
}
```

Let me know which one you like best!

**Henry**

<a href="https://buttondown.email/hb">📰 Newsletter</a>
<a href="https://github.com/henryboisdequin">🐱 GitHub</a>
<a href="https://twitter.com/henryboisdequin">🐦 Twitter</a>
How To Set Up Django Social User Management Using Allauth
Published: 2021-01-15 02:25:08

In this post, I will go in brief about setting up Django Social login system. There are lot of articles on this topic online already. I will not repeat the stuff which is already available online. I want to go through couple of pain points which I faced while setting allauth user management.

First follow the following tutorial to setup the Django Allauth
[https://django-allauth.readthedocs.io/en/latest/installation.html](https://django-allauth.readthedocs.io/en/latest/installation.html)

<b>Important Points</b>:

1. For Google login. make sure your Redirect URI in the google console follows following pattern... `http://domain_or_localhost/accounts/google/login/callback/`</p>
  * For localhost do...
`http://127.0.0.1/accounts/google/login/callback/`
  * For your IP
`http://IP/accounts/google/login/callback/`
  * For your domain
`http://domain/accounts/google/login/callback/`
      * If you are using actual domain, make sure you add following in your settings.py file... 
<pre> USE_X_FORWARDED_HOST = True</pre>
2. If you want to restrict the social login to pre-approved users only look at following snippet of code...
[https://www.code-fetcher.com/code-examples/django-allauth-social-login-for-pre-approved-users-only/](https://www.code-fetcher.com/code-examples/django-allauth-social-login-for-pre-approved-users-only/)
3. SITE_ID is another important parameter in the settings.py file. For me SITE_ID = 2 worked for Google login but it could be SITE_ID = 1 depending upon which version of the allauth you are using. So make sure you check that If you run in to any issues.

I hope these suggestions would help.
What is Object Relational Mapping? 
Published: 2021-01-15 02:05:47

This week I decided to shed a glimmer of light on Object Relational Mapping. After having some work exposure with SQL queries, I wondered if there was another way to talk with databases besides SQL. After a little bit of googling, here's what I learned!

Object-Relational Mapping (ORM) is a technique that lets you query and manipulate data from a database using an object-oriented programming language(OOP). Basically, it allows us to interact with our database using an OOP language instead of SQL. This is great because it gives us the flexibility of talking to our database in the language we are already programming in rather than writing SQL queries! ORMS can be helpful to those who aren’t proficient in writing SQL. 

However, individuals who have the experience and knowledge of working with SQL might prefer to stick with it over an ORM. Just like everything in life there are pros and cons to each way depending on which route you choose. What would you rather use, SQL or an ORM?

Thanks for stopping by, I hope you enjoyed this short write up!
Responsive square, HOW ? 🤔, here's the solution !
Tags: css, frontend, design
Published: 2021-01-15 01:57:36

# The problem
I've always got some design ideas for galleries in a grid form, but it always required square cover, the only problem was that it wasn't really responsive if I was fixing a height and width in px, but doing the same with % em rem was a nightmare until now

# the solution

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

The solution is quite simple when you think of it, if we take a div with a width in percentage then we apply a padded bottom on a:: after pseudo element, **The padding is basing it’s width from the parent container**, so when we set padding-bottom to 100%, it basically means 100% of its width, so with this you get a responsive square

I hope this post helped you with this struggle 👍
Deploy Rails with Google OmniAuth to Heroku Tips
Published: 2021-01-15 01:52:03

`Add to Gemfile: `

ruby '2.6.6'

gem 'omniauth'
gem 'omniauth-google-oauth2'
gem 'omniauth-rails_csrf_protection'

`Use button: `
        <%= button_to "Log in with Google", '/auth/google_oauth2' %>


`Config Google: `
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/icq6rdlbpijm550o0gwt.jpg)
Enable messages on twitter
Published: 2021-01-15 01:30:26

By default twitter disables people you don't follow from sending you messages. This has some advantages as well as disadvantages, its purpose is to prevent spam and scam messages but some people need as much access as possible to connect with other people if they are looking for new opportunities, new friends or work etc. So here's how to activate it so anyone can send you messages on twitter.

- Goto Settings -> Privacy and Safety
- Click Direct Messages
- Check on Allow message requests from everyone

Hope this is useful!