Programming

Programming

1474 bookmarks
Custom sorting
GitHub Skills - A Better Way to Learn Git and GitHub
GitHub Skills - A Better Way to Learn Git and GitHub
Programming book reviews, programming tutorials,programming news, C#, Ruby, Python,C, C++, PHP, Visual Basic, Computer book reviews, computer history, programming history, joomla, theory, spreadsheets and more.
·i-programmer.info·
GitHub Skills - A Better Way to Learn Git and GitHub
Lies, Big Lies, and Data Science?
Lies, Big Lies, and Data Science?
I’m sure that with all the hype surrounding data science, machine learning, and artificial intelligence, you’ve been given the impression…
·medium.com·
Lies, Big Lies, and Data Science?
A Quick Way to Add Username and Passwords to Your Python Scripts
A Quick Way to Add Username and Passwords to Your Python Scripts
The other day I was asked: How do I get usernames and passwords into my Python scripts? For example to use with Netmiko, Scrapli or Nornir. The simple answer to this is the library python-dotenv. Whats python-dotenv? python-dotenv is a library that loads your environment variables from a .env file.
·packetcoders.io·
A Quick Way to Add Username and Passwords to Your Python Scripts
Organizing Files with Python
Organizing Files with Python
Python is a powerful programming language that can be used for a wide range of tasks. One of those tasks is organizing files. With just a few lines of code,
·sammy-code.com·
Organizing Files with Python
Lexical and Dynamic Scope
Lexical and Dynamic Scope
This all started with a simple question about the R programming language: _is R lexically or dynamically scoped?_ To answer that question, we need to understand what _scope_ is, along with _lexical scope_ and _dynamic scope_....
·prl.ccs.neu.edu·
Lexical and Dynamic Scope
The Problem With Elixir’s codewith/code - Stratus3D
The Problem With Elixir’s codewith/code - Stratus3D
Summary: Return values from different expressions in a with block can only be distinguished by the shape of the data returned. This creates …
·stratus3d.com·
The Problem With Elixir’s codewith/code - Stratus3D
Network Automation with Go
Network Automation with Go
This recording is part of the Packet Coders member Tech Sessions. Within this tech session we cover: Why Go? Reasons why people choose Go Go for network engineers Go vs (Python | Ruby | C | Rust) Intro to Go Go proverbs Go tool Types system Interfaces Concurrency Network automation overview SSH HTTP
·packetcoders.io·
Network Automation with Go
Database Modeling With Ecto Part 2 - has many and belongs to Relationships
Database Modeling With Ecto Part 2 - has many and belongs to Relationships
Previously, we created the initial Phoenix app and created a Teacher struct and table. We went over how to perform the basic CRUD operations as well as how to do some basic tests to verify the functionality. In part 2, we’re going to be adding more structs and defining relationships between them. We’ll also go over how to fetch records with their associations. If you haven’t been following along, you can checkout the code from GitHub and fetch the branch:
·irrationalpixels.com·
Database Modeling With Ecto Part 2 - has many and belongs to Relationships
Add Tags with Ecto has_many, through in Phoenix - Tagging part 1
Add Tags with Ecto has_many, through in Phoenix - Tagging part 1
I want to add tags to products. And as usual there are a situation where a product can have many tags and a tag can belong to many products. However, in my opnion, the best option is to use a 'has_many :through' relationship. So for this, I need a table called tags and a join table called taggings. In this tutorial, I will go through how would do this.
·fullstackphoenix.com·
Add Tags with Ecto has_many, through in Phoenix - Tagging part 1
Setup a has_many / belongs_to in Phoenix
Setup a has_many / belongs_to in Phoenix
Something I do in EVERY project is to setup some sort of relation between resources. And even though Phoenix comes with generators for migrations and CRUD opeartions, you still need to modify the code to suite for the relations you want. In this short tutorial, I will go through my usual steps regarding setting up a basic has_many / belongs_to - relation.
·fullstackphoenix.com·
Setup a has_many / belongs_to in Phoenix
Postgrex Ecto Types
Postgrex Ecto Types
One thing I found confusing about Postgrex , the excellent PostgreSQL adapter for Elixir , was how to use PostgresSQL-specific data types (...
·blog.swwomm.com·
Postgrex Ecto Types
Phoenix LiveView LiveComponents
Phoenix LiveView LiveComponents
Components are a mechanism to compartmentalize state, markup, and events in LiveView. We can move a part of the LiveView's logic (and related template) into separate components. We start by moving the product card, the part inside the for comprehension, into a LiveComponent.
·poeticoding.com·
Phoenix LiveView LiveComponents
Step-by-Step Tutorial to Build a Phoenix App that Supports User Upload
Step-by-Step Tutorial to Build a Phoenix App that Supports User Upload
A step-by-step tutorial we see in depth how to build a Phoenix app from scratch, letting users upload their files using a multipart form. We learn how to easily run PostgreSQL with Docker, to receive uploads using Plug, and how to use Ecto to store upload details into the database.
·poeticoding.com·
Step-by-Step Tutorial to Build a Phoenix App that Supports User Upload
CUE
CUE
Validate and define text-based and dynamic configuration
·cuelang.org·
CUE
The Future of the GitLab Web IDE
The Future of the GitLab Web IDE
There are big changes in store for the Web IDE in the coming milestones.
·about.gitlab.com·
The Future of the GitLab Web IDE
A Byte of Coding Newsletter
A Byte of Coding Newsletter
A curated daily programming newsletter featuring technical deep-dives.
·abyteofcoding.com·
A Byte of Coding Newsletter
Brendan Carpio / elixir-pgp-wordlist · GitLab
Brendan Carpio / elixir-pgp-wordlist · GitLab
Convert hex strings to PGP word lists and vice-versa in elixir https://en.wikipedia.org/wiki/PGP_word_list Re-implementation of
·gitlab.com·
Brendan Carpio / elixir-pgp-wordlist · GitLab
Building an Elixir Encryption Engine with Erlang's Crypto Module
Building an Elixir Encryption Engine with Erlang's Crypto Module
Demystify encryption by taking a medium dive and building your very own encryption engine in Elixir. In this post, we'll build a light-weight Elixir library that leverages Erlang's :crypto to encrypt/decrypt sensitive data, and learn a little more about encryption along the way. Overview Our library will be able
·thegreatcodeadventure.com·
Building an Elixir Encryption Engine with Erlang's Crypto Module
Beginner's guide to writing testable code
Beginner's guide to writing testable code
Believe it or not, I spent 3 years of my career without knowing what testability really means, in fact, I never really heard that term until lately. I have been working on small-scale applications, writing tests for every feature I had implemented, b...
·keencoder.dev·
Beginner's guide to writing testable code