Programming Tips 💡 – Telegram
Programming Tips 💡
51.6K subscribers
67 photos
10 videos
30 files
355 links
Programming & AI:
Tips 💡
Articles 📕
Resources 👾
Design Patterns 💎
Software Principles

🇳🇱 Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
Download Telegram
Free SSL Certificates On IIS With LetsEncrypt ⛔️

LetsEncrypt is operated by the Internet Security Research Group (ISRG), and is a Linux Foundation Collaborative Project, which is also responsible for the Linux operating system and Nodejs among other projects. 🛃

LetsEncrypt is supported by a range of organisations including Mozilla, Chrome, Akamai and Facebook. 🤙🏻

The certificates that LetsEncrypt issues are recognised by all major browsers, which results in the familiar padlock symbol being displayed on properly secured sites. 🔐

This tutorial shows how to use LetsEncrypt with IIS. 🌐

https://news.1rj.ru/str/pgimg/42

[ Tutorial ] : http://bit.do/lenc


#LetsEncrypt #SSL
@ProgrammingTip
Programmers life 🌖

@ProgrammingTip
Visual Studio Shortcut Keys 💨

Here is a handy reference that can make your .NET lifestyle a bit easier and more productive. 🔥😎

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


#VS #Shortcut
@ProgrammingTip
UnCSS

UnCSS is a tool that removes unused CSS from your stylesheets.

It works across multiple files and supports Javanoscript-injected CSS. 🗂


How🤔

1️⃣ The HTML files are loaded by jsdom and JavaScript is executed.

2️⃣ All the stylesheets are parsed by PostCSS.

3️⃣ document.querySelector filters out selectors that are not found in the HTML files.

4️⃣ The remaining rules are converted back to CSS.

https://news.1rj.ru/str/pgimg/43

[ Website ] : https://uncss-online.com/

[ Github ] : https://github.com/giakki/uncss


#FrontEnd #Css #Tools
@ProgrammingTip
SnippetsLab 🔬

SnippetsLab makes it simple to manage all of your valuable code snippets in one place with nested folders, tags, and Smart Groups support. 🗂

You can sort your snippets by date, noscript, and more. 📅

Features 💎 :

• Notes and Fragment
• Syntax Highlighting
• Gist Integration
• Sync & Backup

Available for MacOS 💻

https://news.1rj.ru/str/pgimg/44

[ Website ] : https://www.renfei.org/snippets-lab

[ AppStore ] : http://bit.do/snplab


#Tools #MacOS #Snippets
@ProgrammingTip
Server.MapPath Equivalent in ASP.NET Core 💁🏻‍♂️

Web Developers who use Microsoft technologies have always relied on the Server.MapPath method to resolve file paths.

In classic ASP and ASP.NET Web Forms and MVC versions up to and including 5. 🕒

This method has not been included in ASP.NET Core, so what do you use instead

[ Webiste ] : http://bit.do/svpath

https://news.1rj.ru/str/pgimg/45


#AspMvc #Core #IO
@ProgrammingTip
Proto.io - Prototypes that feel real 💎

Create fully-interactive high-fidelity prototypes that look and work exactly like your app should. No coding required. 👌

#FrontEnd
@ProgrammingTip
From STUPID to SOLID Code

In the following, We will introduce both STUPID and SOLID principles.

Keep in mind that these are principles, not laws.

However, considering them as laws would be good for those who want to improve themselves. 💎

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

https://news.1rj.ru/str/pgimg/46


#SOLID #Principle
@ProgrammingTip
ASafaWeb 🐞

The purpose of ASafaWeb is to make scanning for common configuration vulnerabilities in live ASP.NET websites dead easy. ☠️

To that effect, you don't need anything more than a URL to get started and ASafaWeb will head off and report on anything it can find which is remotely detectable. 🛂

https://news.1rj.ru/str/pgimg/47

[ Website ] : https://asafaweb.com/


#AspMvc #Security
@ProgrammingTip
Builderx

A design tool which writes React Native code for you. 📐

Features 💎:
Design & code seamlessly
Copy from BuilderX and paste in your Editor
Create re-usable components
Live reload

https://news.1rj.ru/str/pgimg/48

[ Website ] : builderx.io


#Tools #React #IDE
@ProgrammingTip
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://news.1rj.ru/str/pgimg/49

[ Windows ] : https://news.1rj.ru/str/pgimg/50
[ Android ] : https://news.1rj.ru/str/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://news.1rj.ru/str/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://news.1rj.ru/str/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://news.1rj.ru/str/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://news.1rj.ru/str/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://news.1rj.ru/str/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://news.1rj.ru/str/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://news.1rj.ru/str/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://news.1rj.ru/str/pgimg/60

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


#AspMvc #Core #Bundling #Minify
@ProgrammingTip