JavaScript Dev

JavaScript Dev

1600358640

A stacked card list inspired by css-tricks.com

Card.css is a CSS library to create modern, responsive, stacked cards for profiles, products, articles, and more.

How to use it:

  1. Download the package and load the card.css in the document.

2 Create stacked cards on the page.

<section class="card-list">
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Never forget</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="avatar.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Author</div>
        Jeff Delaney
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
      <a href="#">web-dev</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/a.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        Zheng Zhilong
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/b.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        Francis Drake
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/c.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        Edward Teach
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/d.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        William Kidd
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/d.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        William Kidd
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/d.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        William Kidd
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
</section>

Download Details:

Author: fireship-io

Source Code: https://github.com/fireship-io/stacked-card-list

#javascript #css

What is GEEK

Buddha Community

A stacked card list inspired by css-tricks.com
Hertha  Mayer

Hertha Mayer

1595334123

Authentication In MEAN Stack - A Quick Guide

I consider myself an active StackOverflow user, despite my activity tends to vary depending on my daily workload. I enjoy answering questions with angular tag and I always try to create some working example to prove correctness of my answers.

To create angular demo I usually use either plunker or stackblitz or even jsfiddle. I like all of them but when I run into some errors I want to have a little bit more usable tool to undestand what’s going on.

Many people who ask questions on stackoverflow don’t want to isolate the problem and prepare minimal reproduction so they usually post all code to their questions on SO. They also tend to be not accurate and make a lot of mistakes in template syntax. To not waste a lot of time investigating where the error comes from I tried to create a tool that will help me to quickly find what causes the problem.

Angular demo runner
Online angular editor for building demo.
ng-run.com
<>

Let me show what I mean…

Template parser errors#

There are template parser errors that can be easy catched by stackblitz

It gives me some information but I want the error to be highlighted

#mean stack #angular 6 passport authentication #authentication in mean stack #full stack authentication #mean stack example application #mean stack login and registration angular 8 #mean stack login and registration angular 9 #mean stack tutorial #mean stack tutorial 2019 #passport.js

Hire CSS Developer

Want to develop a website or re-design using CSS Development?

We build a website and we implemented CSS successfully if you are planning to Hire CSS Developer from HourlyDeveloper.io, We can fill your Page with creative colors and attractive Designs. We provide services in Web Designing, Website Redesigning and etc.

For more details…!!
Consult with our experts:- https://bit.ly/3hUdppS

#hire css developer #css development company #css development services #css development #css developer #css

JavaScript Dev

JavaScript Dev

1600358640

A stacked card list inspired by css-tricks.com

Card.css is a CSS library to create modern, responsive, stacked cards for profiles, products, articles, and more.

How to use it:

  1. Download the package and load the card.css in the document.

2 Create stacked cards on the page.

<section class="card-list">
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Never forget</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="avatar.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Author</div>
        Jeff Delaney
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
      <a href="#">web-dev</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/a.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        Zheng Zhilong
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/b.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        Francis Drake
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/c.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        Edward Teach
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/d.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        William Kidd
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/d.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        William Kidd
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
  <article class="card">
    <header class="card-header">
      <p>Sep 11th 2020</p>
      <h2>Card Tricks are fun!</h2>
    </header>
    <div class="card-author">
      <a class="author-avatar" href="#">
      <img src="https://api.adorable.io/avatars/172/d.png" />
      </a>
      <svg class="half-circle" viewBox="0 0 106 57">
        <path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path>
      </svg>
      <div class="author-name">
        <div class="author-name-prefix">Pirate</div>
        William Kidd
      </div>
    </div>
    <div class="tags">
      <a href="#">html</a>
      <a href="#">css</a>
    </div>
  </article>
</section>

Download Details:

Author: fireship-io

Source Code: https://github.com/fireship-io/stacked-card-list

#javascript #css

Neumorphism Card Design using HTML and CSS | Pure CSS Card

#css #html #pure css card #html and css #design

HI Python

HI Python

1640973720

Beyonic API Python Example Using Flask, Django, FastAPI

Beyonic API Python Examples.

The beyonic APIs Docs Reference: https://apidocs.beyonic.com/

Discuss Beyonic API on slack

The Beyonic API is a representational state transfer, REST based application programming interface that lets you extend the Beyonic dashboard features into your application and systems, allowing you to build amazing payment experiences.

With the Beyonic API you can:

  • Receive and send money and prepaid airtime.
  • List currencies and networks supported by the Beyonic API.
  • Check whether a bank is supported by the Beyonic API.
  • View your account transactions history.
  • Add, retrieve, list, and update contacts to your Beyonic account.
  • Use webhooks to send notifications to URLs on your server that when specific events occur in your Beyonic account (e.g. payments).

Getting Help

For usage, general questions, and discussions the best place to go to is Beyhive Slack Community, also feel free to clone and edit this repository to meet your project, application or system requirements.

To start using the Beyonic Python API, you need to start by downloading the Beyonic API official Python client library and setting your secret key.

Install the Beyonic API Python Official client library

>>> pip install beyonic

Setting your secrete key.

To set the secrete key install the python-dotenv modeule, Python-dotenv is a Python module that allows you to specify environment variables in traditional UNIX-like “.env” (dot-env) file within your Python project directory, it helps us work with SECRETS and KEYS without exposing them to the outside world, and keep them safe during development too.

Installing python-dotenv modeule

>>> pip install python-dotenv

Creating a .env file to keep our secrete keys.

>>> touch .env

Inside your .env file specify the Beyonic API Token .

.env file

BEYONIC_ACCESS_KEY = "enter your API "

You will get your API Token by clicking your user name on the bottom left of the left sidebar menu in the Beyonic web portal and selecting ‘Manage my account’ from the dropdown menu. The API Token is shown at the very bottom of the page.

getExamples.py

import os 
import beyonic
from dotenv import load_dotenv 

load_dotenv()

myapi = os.environ['BEYONIC_ACCESS_KEY']

beyonic.api_key = myapi 

# Listing account: Working. 
accounts = beyonic.Account.list() 
print(accounts)


#Listing currencies: Not working yet.
'''
supported_currencies = beyonic.Currency.list()
print(supported_currencies)

Supported currencies are: USD, UGX, KES, BXC, GHS, TZS, RWF, ZMW, MWK, BIF, EUR, XAF, GNF, XOF, XOF
'''

#Listing networks: Not working yet.
"""
networks = beyonic.Network.list()
print(networks)
"""

#Listing transactions: Working. 
transactions = beyonic.Transaction.list()
print(transactions) 

#Listing contact: Working. 
mycontacts = beyonic.Contact.list() 
print(mycontacts) 


#Listing events: Not working yet.
'''
events = beyonic.Event.list()
print(events)

Error: AttributeError: module 'beyonic' has no attribute 'Event'
'''

Docker file

FROM python:3.8-slim-buster

COPY . .

COPY ./requirements.txt ./requirements.txt

WORKDIR .

RUN pip install -r requirements.txt

CMD [ "python3", "getExamples.py" ]

Build docker image called demo

>>> docker build -t bey .

Run docker image called demo

>>>docker run -t -i bey 

Now, I’ll create a Docker compose file to run a Docker container using the Docker image we just created.


version: "3.6"
services:
  app:
    build: .
    command: python getExamples.py
    volumes:
      - .:/pythonBeyonicExamples

Now we are going to run the following command from the same directory where the docker-compose.yml file is located. The docker compose up command will start and run the entire app.


docker compose up

Output

NB: The screenshot below might differ according to your account deatils and your transcations in deatils.

docker compose up preview

To stop the container running on daemon mode use the below command.

docker compose stop

Output

docker compose preview

Contributing to this repository. All contributions, bug reports, bug fixes, enhancements, and ideas are welcome, You can get in touch with me on twitter @HarunMbaabu.

Download Details:
Author: HarunMbaabu
Source Code: https://github.com/HarunMbaabu/BeyonicAPI-Python-Examples
License: 

#api #python #flask #django #fastapi