markdown guide
 

AdamGold / pypkgfreeze

npm install --save for Python.

pypkgfreeze

Python's npm install --save

Code style: black Build Status

Automatically inserts your currently used package versions to setup.py.

Example

Old setup.py

from setuptools import setup
test_req = ['pytest', ]
setup(
    name='pypkgfreeze',
    install_requires=[
        "Click",
    ],
    tests_require=test_req,
    extras_require={
        'test': test_req
    }
)

New setup.py

from setuptools import setup
test_req = ['pytest==4.0.2', ]  # ADDED VERSION HERE
setup(
    name='pypkgfreeze',
    install_requires=[
        "Click==7.0",  # AND HERE
    ],
    tests_require=test_req,
    extras_require={
        'test': test_req
    }
)

Usage

pkgfreeze. It's that simple.

Installation

pip install pypkgfreeze

Contributing

Thanks! Please read the CONTRIBUTING.md file.




It's a tiny Python module designed to inject versions of pip dependencies into setup.py. I am planning to implement AST for a better code injection (for packages that do not yet exist in setup.py) - So it can somehow resemble npm.
 

Pretty often, we developers, while working on the terminal, switch to the browser to check live cricket scores. I created a simple tool to bring live cricket scores right on your terminal.
Use the following command to install the project.

npm i livescores -g

Use the help option to know more about usage. Expect more updates with scorecards and player rankings as we inch closer towards IPL and WC. :D
Here's the git repo, please help with contributions if you find the idea intresting.

grv19 / livescores

Live sports scores in terminal

star this repo fork this repo

🏏 livescores 🏏

livescores is a command line application to view the live cricket scores right on your terminal. While we await the prime cricket season coming up with IPL and WC, why switch to a browser to view live scores when you can view it right on your terminal.🤓

Expect more updates with player rankings, scorecards as we inch towards the IPL and the WC.

Installation

Use npm to install livescores.

npm i livescores -g      //-g to install the project globally

Usage

Complete live cricket feed

livescores feed

Latest cricket news

livescores news

Help

livescores --help

Version

livescores --version

Contributing

I'm currently working on the cricket news option. If you'd like to contribute please raise an issue with a feature and then we can take it ahead.

You must have the below dependencies before you start working on it.

Node.js
npm
yarn

Once you've met the dependencies, run…

 

Everyone is welcome to chip in on interesting dev.to features via the repo

I loved this post outlining a really fab contribution:

That PR is actually still a work in progress if anyone wants to check it out and/or chip in:

[WIP] Feature : docker-run.sh script + docker container build #1844

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [x] Feature
  • [ ] Bug Fix
  • [ ] Documentation Update

Description

A single bash script that helps quickly setup either a DEV or DEMO environment

bash-3.2$ ./docker-run.sh 
#---
#
# This script will perform the following steps ... 
#
# 1) Stop and remove any docker container with the name 'dev-to-postgres' and 'dev-to'
# 2) Reset any storage directories if RUN_MODE starts with 'RESET-'
# 3) Build the dev.to docker image, with the name of 'dev-to:dev' or 'dev-to:demo'
# 4) Deploy the postgres container, mounting '_docker-storage/postgres' with the name 'dev-to-postgres'
# 5) Deploy the dev-to container, with the name of 'dev-to-app', and sets up its port to 3000
#
# To run this script properly, execute with the following (inside the dev.to repository folder)...
# './docker-run.sh [RUN_MODE] [Additional docker envrionment arguments]'
#
# Alternatively to run this script in 'interactive mode' simply run
# './docker-run.sh INTERACTIVE-DEMO'
#
#---
#---
#
# RUN_MODE can either be the following
#
# - 'DEV'  : Start up the container into bash, with a quick start guide
# - 'DEMO' : Start up the container, and run dev.to (requries ALGOLIA environment variables)
# - 'RESET-DEV'   : Resets postgresql and upload data directory for a clean deployment, before running as DEV mode
# - 'RESET-DEMO'  : Resets postgresql and upload data directory for a clean deployment, before running as DEMO mode
# - 'INTERACTIVE-DEMO' : Runs this script in 'interactive' mode to setup the 'DEMO'
#
# So for example to run a development container in bash its simply
# './docker-run.sh DEV'
#
# To run a simple demo, with some dummy data (replace <?> with the actual keys)
# './docker-run.sh DEMO -e ALGOLIASEARCH_APPLICATION_ID=<?> -e ALGOLIASEARCH_SEARCH_ONLY_KEY=<?> -e ALGOLIASEARCH_API_KEY=<?>'
#
# Finally to run a working demo, you will need to provide either...
# './docker-run.sh .... -e GITHUB_KEY=<?> -e GITHUB_SECRET=<?> -e GITHUB_TOKEN=<?>
#
# And / Or ...
# './docker-run.sh .... -e TWITTER_ACCESS_TOKEN=<?> -e TWITTER_ACCESS_TOKEN_SECRET=<?> -e TWITTER_KEY=<?> -e TWITTER_SECRET=<?>
#
# Note that all of this can also be configured via ENVIRONMENT variables prior to running the script
#
#---

And does the deployment using docker. Includes option to do a reset prior to deployment.

Optional contextual information provided here : dev.to/uilicious/adopt-your-own-de...

Added to documentation?

What gif best describes this PR

quick demo

What gif best describes how it makes you feel?

how i feel

 

gpujs / gpu.js

GPU Accelerated JavaScript

Logo

GPU.js

GPU.js is a JavaScript Acceleration library for GPGPU (General purpose computing on GPUs) in JavaScript. GPU.js will automatically compile simple JavaScript functions into shader language and run them on the GPU. In case a GPU is not available, the functions will still run in regular JavaScript.

Join the chat at https://gitter.im/gpujs/gpu.js Slack

What is this sorcery?

Matrix multiplication written in GPU.js:

const gpu = new GPU()
// Create the GPU accelerated function from a kernel
// function that computes a single element in the
// 512 x 512 matrix (2D array). The kernel function
// is run in a parallel manner in the GPU resulting
// in very fast computations! (...sometimes)
const matMult = gpu.createKernel(function(a, b) {
    var sum = 0
    for (var i = 0; i < 512; i++) {
        sum += a[this.thread.y][i] 

Shout out for a personal project im involved in - gpu.rocks/ - running JS in the GPU (via hackerish webgl).

robertleeplummerjr (the current main maintainer) is always looking for more contribution of ideas, and usage of this crazy project. And possibly just more random cool stuff on pushing the very upper limit of what a web-application could do.


PS: I dun see the comment template

 
 

Oh whoops, I included the template in the last post and then copied and pasted this week without the template. Still not sure whether or not the template makes sense 😄

 

textpattern / textpattern

A flexible, elegant, fast and easy-to-use content management system written in PHP.

Textpattern CMS

Dependencies Status devDependencies Status

Textpattern Logo

A flexible, elegant, fast and easy-to-use content management system written in PHP. Textpattern is free and open source software.

Textpattern CMS screenshots

System requirements

Textpattern is installed to a web server with PHP and MySQL.

Ensure the server meets or exceeds the system requirements before you continue.

Download Textpattern

The current production release is version 4.7.3. It can be downloaded from the Textpattern website or GitHub in .zip and .tar.gz varieties.

If you want to use the multi-site functionality in Textpattern, get the .tar.gz archive.

textpattern.com GitHub
.zip Download Download
.tar.gz Download Download

Install Textpattern

Please see README.txt for details on installing Textpattern.

Upgrade Textpattern

Please see README.txt for details on upgrading Textpattern.

Help and Support

The Textpattern support forum is home to a friendly and helpful community of Textpattern users and experts Textpattern also has a…

Textpattern is a free, open source PHP content management system that has been around for over 15 years and has a loyal and friendly base of users and devs - but we are always welcoming to new contributors!

For the next version we hope to improve the image handling and manipulation tools in the CMS, currently one of the weak areas of our platform admittedly, and would love some help from people with an interest in coding around image handling (especially those with ImageMagick/GraphicsMagick/GD Library experience).

 

If you're interested in web components, we'd love your helping hand for open-wc: github.com/open-wc

Open Web Components provides a set of defaults, recommendations and tools to help facilitate your web component project. Our recommendations include: developing, linting, testing, building, tooling, demoing, publishing and automating.

 

Hey there I've got a repo that I'd love people to contribute to!
Which is a bignum library for PHP that I've been working on and I feel like it can be useful to people, take a look: PHPBignum
It also has some good first issues

 

I'm experimenting with an alternative to github.com/Azure/azure-mobile-apps...

andreujuanc / CherryDb

🍒 CherryDb - Hope someday it will be a superfast alternative to pouchdb and azure mobile apps sdk.


For now I'm just playing around with concepts, and how would I use this in production.

Here is a demo: cherrydb-demo-site-yztpzsdwto.now.sh

 

We're trying to keep track of interesting .dev websites that provide value for developers. The list is open to contributions, and we'd love any help growing the resource!

DeveloperMode / awesome-dot-dev

A list of awesome developer resources on the .dev TLD

awesome .dev sites Awesome

A curated list of developer resources on the .dev TLD, inspired by awesome.re.

Sites

Developer Tools & Resources

  • crm.dev - homepage for the Salesforce developer program
  • glitch.dev - the Glitch guide to developer relations
  • nodejs.dev - Node.js guide content
  • opensource.dev - Google’s guide to open source
  • stripe.dev - Stripe demos, guides, and developer tools
  • slack.dev - Slack tools, libraries, and SDKs
  • web.dev - educational resources about web development from Google
  • ycombinator.dev - Y Combinator Resources for Developers
  • kapitan.dev - Generic templated configuration management for Kubernetes, Terraform and other things
  • asylo.dev - an open and flexible framework for enclave applications
  • lodash.dev - a modern JavaScript utility library delivering modularity, performance & extras
  • v8.dev - Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
  • tfhub.dev - TensorFlow hub
  • pptr.dev - a Node library which provides a high-level API to control Chrome or Chromium over the DevTools…
 

Comic-Con Museum's Fan Forge, both backend and frontend

Yes, that's the real Comic-Con. They're setting up a permanent museum in San Diego, and they wanted to at least a little involve the public in the exhibit curation. Those bits are how it'll happen. If you have experience with Java Spring or React, take a look!

 
 

Would love some help here:
github.com/AdamGold/api-fetch-wrapper

It's a very raw fetch wrapper designed to help making quick requests to a custom API server without hassle. Currently I have only implemented an automatic token validator, but planning to add more features!

 

I'll take a look. It looks like a great package.

Classic DEV Post from Mar 21

Use Your Voice Effectively for Impactful Presentations

Learn how to use your voice to be an effective storyteller in presentations.

Ben Halpern profile image
A Canadian software developer who thinks he’s funny.