Programming Tips πŸ’‘
51.6K subscribers
67 photos
10 videos
30 files
354 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
Resources πŸ‘Ύ
Design Patterns πŸ’Ž
Software Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
Download Telegram
Human Resource Machine πŸ€–

Human Resource Machine is a visual programming-based puzzle video game developed by Tomorrow Corporation. πŸ‘Ύ

Your office is a simple computer. πŸ–₯

You have an inbox and an outbox, and a few slots on the floor to store stuff for later (memory). πŸ—‚

Your little office worker can hold exactly one box in his or her hands at a time (like an accumulator). πŸ‘πŸ»

Boxes (data) display letters or numbers. πŸ—ƒ

In each level, your boss gives you a task, like :
"Take everything from the INBOX, and put it in the OUTBOX!"


Automate it by programming your little office worker with simple drag n' drop commands. πŸ˜„

https://t.me/pgimg/49

[ Windows ] : https://t.me/pgimg/50
[ Android ] : https://t.me/pgimg/51
[ IOS ] : http://bit.do/hrmi

γ€°γ€°γ€°γ€°γ€°γ€°
#Fun #Game
@ProgrammingTip
Angular 5 Now Available πŸ…°οΈ

This is a major release containing new features and bugfixes.

This release continues our focus on making Angular smaller, faster, and easier to use.

πŸ”ΉπŸ”ΈπŸ”ΉπŸ”Έ

Biggest Changes πŸ’Ž :

β€’ Build Optimizer

β€’ Angular Universal State Transfer API and DOM Support

β€’ Compiler Improvements

β€’ Internationalized Number, Date, and Currency Pipes

β€’ Zone speed improvements

β€’ exportAs

β€’ HttpClient

β€’ CLI v1.5

β€’ Angular Forms adds updateOn Blur / Submit

β€’ RxJS 5.5

β€’ New Router Lifecycle Events

πŸ”ΉπŸ”ΈπŸ”ΉπŸ”Έ

https://t.me/pgimg/52

[ Update Guide ] : http://bit.do/guid5
[ Article ] : http://bit.do/ang5

γ€°γ€°γ€°γ€°γ€°γ€°
#Angular
@ProgrammingTip
All Keys Generator πŸ”‘

The all-in-one ultimate online toolbox that generates all kind of keys ❗️

Keys that it produces ✨ :

β€’ GUID
β€’ Uppercase
β€’ Braces {}
β€’ Brackets []
β€’ Hypens -

β€’ MachineKey
β€’ ASP.NET 1.1
β€’ ASP.NET 2.0
β€’ ASP.NET 4.0
β€’ ASP.NET 4.5

β€’ WPA Key
β€’ 64-bit
β€’ 160-bit
β€’ 504-bit

β€’ WEP Key
β€’ 64-bit
β€’ 128-bit
β€’ 256-bit

β€’ Encryption Key
β€’ 64-bit
β€’ 128-bit
β€’ 256-bit
β€’ 512-bit
β€’ 1024-bit
β€’ 2048-bit
β€’ 4096-bit

β€’ Password
β€’ Lower letters
β€’ Upper letters
β€’ Numbers
β€’ Special Characters
β€’ Length

Every coder needs All Keys Generator in its favorites ! πŸ’™

[ Website ] : allkeysgenerator.com

https://t.me/pgimg/53

γ€°γ€°γ€°γ€°γ€°γ€°
#Encryption #Generator
@ProgrammingTip
AutoMapper 6.2.0 Released ✨

A couple of big features in this release include inline maps, where AutoMapper no longer requires you to call CreateMap for new maps.

To configure an inline map, use the mapping options πŸ€™πŸ» :

var source = new Source();

var dest = Mapper.Map<Source, Dest>(source, opt => opt.ConfigureMap().ForMember(dest => dest.Value, m => m.MapFrom(src => src.Value + 10)));


You can use local functions to make the configuration a little easier to read πŸ€“ :

var source = new Source();

void ConfigureMap(IMappingOperationOptions<Source, Dest> opt) {
opt.ConfigureMap()
.ForMember(dest => dest.Value, m => m.MapFrom(src => src.Value + 10))
};

var dest = Mapper.Map<Source, Dest>(source, ConfigureMap);



https://t.me/pgimg/54

[ Release Notes ] : http://bit.do/atmp

γ€°γ€°γ€°γ€°γ€°γ€°
#AutoMapper #CSharp
@ProgrammingTip
Passing Tests πŸ˜ΆπŸ˜‚

#Fun
@ProgrammingTip
Why i choose Angular❓

Choosing a front-end framework is no small task these days. ⏰

There are a lot of options out there, each with pros and cons. βœ…

When I decided I wanted to move to a β€œnext gen” framework, I surprised myself by going with a framework that I initially had a lot of negative feelings about :
πŸ…°οΈngular.

In this post, I’m going to explain how Angular won out over the competition.

https://t.me/pgimg/55

[ Article ] : http://bit.do/angwon

γ€°γ€°γ€°γ€°γ€°γ€°
#Angular #React #Vue
@ProgrammingTip
AppCode - Swift Execution Of Your Bright Ideas πŸ’Ž

β€’ Efficient Project Navigation πŸŒ€
Jump to any file, class, or symbol in your project in no time, use hierarchical and structure views to get through your project structure. πŸ—ƒ


β€’ Through Code Analysis πŸ”Ž
AppCode is constantly monitoring the quality of your code. βœ…

It warns you of errors and smells and suggests quick-fixes to resolve them automatically. βš™οΈ


β€’ Smart Completion πŸ’‘
AppCode offers 2 kinds of code completion :
1️⃣ Basic as-you-type completion
2️⃣ SmartType completion for more precise filtering of suggestions.


β€’ Reliable Refactorings πŸ”¨
Modify and improve your code anytime with safe, accurate and reliable refactorings.

πŸ”ΉπŸ”ΈπŸ”ΉπŸ”Έ

AppCode provides over 60 code inspections just for Objective-C, C and C++, and a number of code inspections for other supported languages. ✨

All code inspections are run on the fly. πŸ¦…

https://t.me/pgimg/56

[ Website ] : jetbrains.com/objc

γ€°γ€°γ€°γ€°γ€°γ€°
#IDE #Swift #ObjectiveC
@ProgrammingTip
Top 5 ASP.NET MVC Action Filters πŸ’Ž

Action Filters have been around since the first release of ASP.NET MVC. πŸ‘Ύ

Today, I give you my five favorite Action Filters to use right away in your MVC code ( DanylkoWeb ) .

Filters ⚑️ :
β€’ Compress Filter
β€’ Whitespace Filter
β€’ ETag Filter
β€’ SearchBot Filter
β€’ TidyHtml Filter

https://t.me/pgimg/58

[ Website ] : http://bit.do/afil

γ€°γ€°γ€°γ€°γ€°γ€°
#AspMvc #ActionFilter #Attribute
@ProgrammingTip
The Pragmatic Programmer.pdf
2.6 MB
The Pragmatic Programmer πŸ“™

Authors : Andy Hunt, Dave Thomas πŸ–Š

Level : Advanced πŸ”

γ€°γ€°γ€°γ€°γ€°γ€°
#Book #CleanCode #Refactoring
@ProgrammingTip
Material-UI ✨

A Set of React Components that Implement Google's Material Design βš›οΈ

Material-UI is available as an npm package :
npm install material-ui

https://t.me/pgimg/59

[ Website ] : material-ui.com

γ€°γ€°γ€°γ€°γ€°γ€°
#React #Material #Library
@ProgrammingTip
ASP.NET Core Web Optimizer ⚑️

ASP.NET Core middleware for bundling and minification of CSS and JavaScript files at runtime. βŒ›οΈ

With full server-side and client-side caching to ensure high performance. πŸ’¨

No complicated build process and no hassle. βœ…

πŸ”ΈπŸ”ΉπŸ”ΈπŸ”Ή

Installation πŸ“₯ :

1️⃣ Add the NuGet package LigerShark.WebOptimizer.Core to any ASP.NET Core 2.0 project :
dotnet add package LigerShark.WebOptimizer.Core


2️⃣ Add this to Configure in Startup.cs before app.UseStaticFiles :
app.UseWebOptimizer();


3️⃣ Finally add this to ConfigureServices :
services.AddWebOptimizer();


That's it. 🀚🏻
You have now enabled automatic CSS and JavaScript minification. πŸ’Ž

πŸ”ΈπŸ”ΉπŸ”ΈπŸ”Ή

Features πŸ”₯ :
β€’ Minification
β€’ Bundling
β€’ Cache Busting
β€’ Inlining Content
β€’ Compiling SCSS
β€’ Compiling LESS
β€’ Compiling TypeScript

https://t.me/pgimg/60

[ Demo ] : http://bit.do/optde
[ Github ] : http://bit.do/optgit

γ€°γ€°γ€°γ€°γ€°γ€°
#AspMvc #Core #Bundling #Minify
@ProgrammingTip
Overloading VS Overriding πŸŒ“

γ€°γ€°γ€°γ€°γ€°γ€°
#Fun #SimplyExplained
@ProgrammingTip
JavaScript β€” Double Equals VS Triple Equals ✨

JavaScript has two visually similar, yet very different, ways to test equality. πŸ€“

You can test equality with == or === πŸ”…


Triple Equals βœ…
When using triple equals === in JavaScript, we are testing for strict equality.

This means both the type and the value we are comparing have to be the same.

Example :
77 === '77'
// false (Number v. String)


πŸ”ΉπŸ”ΈπŸ”ΉπŸ”Έ

Double equals βœ…
When using double equals in JavaScript we are testing for loose equality.

Double equals also performs type coercion.

Example :
77 == '77'
// true


https://t.me/pgimg/61

[ Article ] : http://bit.do/jseq

γ€°γ€°γ€°γ€°γ€°γ€°
#JavaScript #Equality
@ProgrammingTip
Write tests,
Not too many,
Mostly integration. βœ…


A while back, Guillermo Rauch‏ ( Creator of Socket.io ) tweeted something profound :

Write tests. Not too many. Mostly integration.πŸ’Ž 


This is deep, albeit short, so let’s dive in. πŸŒ€

https://t.me/pgimg/62

[ Article ] : http://bit.do/iut

γ€°γ€°γ€°γ€°γ€°γ€°
#UnitTest
@ProgrammingTip
Forwarded from Code Tweets 🐝
This media is not supported in your browser
VIEW IN TELEGRAM
Programmers Life :)))

{ @CodeTweets }
PopSQL ✨

Modern, collaborative SQL editor for your team. πŸ—‚

πŸ”ΉCollaborate in realtime, just like a Google Doc

πŸ”ΉShare queries by URL, and organize them in folders

πŸ”ΉVisualize your data automatically

πŸ”ΉWorks with many types of databases

https://t.me/pgimg/65

[ Website ] : popsql.io

γ€°γ€°γ€°γ€°γ€°γ€°
#SQL #Database #Tools
@ProgrammingTip
Axosoft GitKraken: Unleash Your Repo! πŸ™

The legendary Git GUI client for Windows, Mac and Linux. 🐧

Axosoft GitKraken is a Git client with efficiency, elegance and reliability at the core. It was made for devs by devs. 🀘

Features
You can do all the standard things you should be able to do with a git client; branching, merging, pulling, pushing, reverting, etc. ✨

The range of options you have for each commit πŸ”₯
πŸ”Ή Set Upsteam
πŸ”Έ Branch from a historic commit
πŸ”Ή Cherrypick from commit
πŸ”Έ Revert the commit
πŸ”Ή Edit the commit message
πŸ”Έ Deleting the commit (and remote versions of it)
πŸ”Ή Creating a tag from a commit

https://t.me/pgimg/66

[Website] : https://gitkraken.com

γ€°γ€°γ€°γ€°γ€°γ€°
#Git #VCS
@ProgrammingTip
Import and export in ES6 πŸ“š

Export is ES6' way of saying πŸ—£ :
β€œMake this code available for other modules.”


Import is the opposite, and tries to get code from other modules.

πŸ”ΉWhat is modules❓
πŸ”ΈDiffrence between export and export default

https://t.me/pgimg/67

[ Article ] : https://goo.gl/EJ3e6H

γ€°γ€°γ€°γ€°γ€°γ€°
#JavaScript #ES6 #Modules
@ProgrammingTip
NGX Toastr πŸ’Ž
Easy Toasts for Angular πŸ…°οΈ


πŸ”ΉπŸ”ΈπŸ”ΉπŸ”Έ

Features ✨:

β€’ Toast Component Injection without being passed ViewContainerRef

γ€°γ€°γ€°

β€’ No use of *ngFor. Fewer dirty checks and higher performance.

γ€°γ€°γ€°

β€’ AoT compilation and lazy loading compatible

γ€°γ€°γ€°

β€’ Component inheritance for custom toasts

γ€°γ€°γ€°

β€’ SystemJS/UMD rollup bundle

γ€°γ€°γ€°

β€’ Animations using Angular's Web Animations API

γ€°γ€°γ€°

β€’ Output toasts to an optional target directive

γ€°γ€°γ€°

β€’ Individual Options

πŸ”ΉπŸ”ΈπŸ”ΉπŸ”Έ

https://t.me/pgimg/68

[ Github ] : http://bit.do/ngxg
[ Demo ] : http://bit.do/ngxd

γ€°γ€°γ€°γ€°γ€°γ€°
#Angular #Notification #Toastr
@ProgrammingTip
File Ultimate πŸ”₯

File manager control for integrating file browsing, upload & download features into your ASP.NET MVC & WebForms application or site rapidly. πŸ’Ž

Supports ✨ :
β€’ ASP.NET Web Forms ( C# )
β€’ ASP.NET Web Forms ( VB )
β€’ ASP.NET MVC ( C# )
β€’ ASP.NET MVC ( VB )

Features ⚑️ :
β€’ Browse and manage files with access control.

β€’ Accept files with the advanced upload functionality.

β€’ Offer a structured and neat download area.

β€’ Preview documents (70+ file formats, including PDF Β© Microsoft Office), images, audios and videos.

πŸ”ΉπŸ”ΈπŸ”ΉπŸ”Έ

https://t.me/pgimg/69

[ Github ] : http://bit.do/fgit
[ Demo ] : http://bit.do/fmade

γ€°γ€°γ€°γ€°γ€°γ€°
#AspMvc #FileManager #Uploader
@ProgrammingTip