Rider ⚡️
Rider is a new Cross-Platform .NET IDE by JetBrains.
Develop .NET, ASP.NET, .NET Core, Xamarin or Unity applications On Windows, Mac, Linux.
https://t.me/pgimg/5
[ Website ] : https://www.jetbrains.com/rider/
〰〰〰〰〰〰
#Jetbrains #IDE #dotnet
@ProgrammingTip
Rider is a new Cross-Platform .NET IDE by JetBrains.
Develop .NET, ASP.NET, .NET Core, Xamarin or Unity applications On Windows, Mac, Linux.
https://t.me/pgimg/5
[ Website ] : https://www.jetbrains.com/rider/
〰〰〰〰〰〰
#Jetbrains #IDE #dotnet
@ProgrammingTip
Telegram
Programming Tips Resources
Rubber Duck Debugging 🐤
In software engineering, rubber duck debugging or rubber ducking is a method of debugging code. 🐞
The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck. 🗣
Many other terms exist for this technique, often involving different inanimate objects.
Many programmers have had the experience of explaining a programming problem to someone else, possibly even to someone who knows nothing about programming, and then hitting upon the solution in the process of explaining the problem. 👥
In describing what the code is supposed to do and observing what it actually does, any incongruity between these two becomes apparent. ↔️
More generally, teaching a subject forces its evaluation from different perspectives and can provide a deeper understanding. 👨🏻🏫
By using an inanimate object, the programmer can try to accomplish this without having to interrupt anyone else. 🙅🏻♂️
〰〰〰〰〰〰
#Debugging #Tips
@ProgrammingTip
In software engineering, rubber duck debugging or rubber ducking is a method of debugging code. 🐞
The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck. 🗣
Many other terms exist for this technique, often involving different inanimate objects.
Many programmers have had the experience of explaining a programming problem to someone else, possibly even to someone who knows nothing about programming, and then hitting upon the solution in the process of explaining the problem. 👥
In describing what the code is supposed to do and observing what it actually does, any incongruity between these two becomes apparent. ↔️
More generally, teaching a subject forces its evaluation from different perspectives and can provide a deeper understanding. 👨🏻🏫
By using an inanimate object, the programmer can try to accomplish this without having to interrupt anyone else. 🙅🏻♂️
〰〰〰〰〰〰
#Debugging #Tips
@ProgrammingTip
Lambda in Java 8 🔥
Lambda expressions are introduced in Java 8 and are touted to be the biggest feature of Java 8. 8️⃣
Lambda expression facilitates functional programming, and simplifies the development a lot. 🤷🏻♂️
〰〰〰〰〰〰
#java #lambda
@ProgrammingTip
https://t.me/pgimg/6
Lambda expressions are introduced in Java 8 and are touted to be the biggest feature of Java 8. 8️⃣
Lambda expression facilitates functional programming, and simplifies the development a lot. 🤷🏻♂️
〰〰〰〰〰〰
#java #lambda
@ProgrammingTip
https://t.me/pgimg/6
Telegram
Programming Tips Resources
The art of asking "coding" questions 🎨
… is not working❗️🤦🏻♂️
Examples :
“It’s not working” is not helpful ❗️
It doesn’t tell others about the problem you’re facing.
[ Website ] : http://bit.do/quea
〰〰〰〰〰〰
#Tips #QA
@ProgrammingTip
… is not working❗️🤦🏻♂️
Examples :
“npm install is not working”
“interpolation is not working”
“It’s not working” is not helpful ❗️
It doesn’t tell others about the problem you’re facing.
[ Website ] : http://bit.do/quea
〰〰〰〰〰〰
#Tips #QA
@ProgrammingTip
Programming with Mosh
The art of asking "coding" questions - Programming with Mosh
One question (or more accurately, comment) that I frequently get on my YouTube videos is: … is not working! Examples: “npm install is not working”, “interpolation is not working”, etc. “It’s not working” is not helpful! It doesn’t tell me or others about…
Extension Method ✨
Home of 781 extension methods for C#, VB, F#, Swift, Kotlin and Javascript 💎
[ Website ] : http://www.extensionmethod.net/
〰〰〰〰〰〰
#ExtensionMethod
@ProgrammingTip
Home of 781 extension methods for C#, VB, F#, Swift, Kotlin and Javascript 💎
[ Website ] : http://www.extensionmethod.net/
〰〰〰〰〰〰
#ExtensionMethod
@ProgrammingTip
What is currentColor in CSS ❓
currentColor — As name says , it pick the current color reference in an class and when you assign currentColor as one of the value of the property it will show the refer color.
[ Article ] : http://bit.do/curro
〰〰〰〰〰〰
#CSS #Tips
@ProgrammingTip
currentColor — As name says , it pick the current color reference in an class and when you assign currentColor as one of the value of the property it will show the refer color.
[ Article ] : http://bit.do/curro
〰〰〰〰〰〰
#CSS #Tips
@ProgrammingTip
Medium
What is currentColor in CSS?
What scares a css developer the most? — Changing a css variable value.
Entity Framework Core Generic Repository 🦋
The generic repository pattern has its pros and cons.
You are the one to decide if it fits for your project.
You can always use it only for parts of your application, you don’t have to go all in with generic repository pattern❗️
[ Article ] : http://bit.do/rpop
https://t.me/pgimg/7
〰〰〰〰〰〰
#Repository #AspMvc #EF #Core
@ProgrammingTip
The generic repository pattern has its pros and cons.
You are the one to decide if it fits for your project.
You can always use it only for parts of your application, you don’t have to go all in with generic repository pattern❗️
[ Article ] : http://bit.do/rpop
https://t.me/pgimg/7
〰〰〰〰〰〰
#Repository #AspMvc #EF #Core
@ProgrammingTip
Telegram
Programming Tips Resources
💎 <%= EJS %> 💎
"E" is for "effective." EJS is a simple Templating Language that lets you generate HTML markup with plain JavaScript. 🔥
No religiousness about how to organize things. No reinvention of iteration and control-flow. It's just plain JavaScript. 🤷🏻♂️
[ Website ] : http://ejs.co/
https://t.me/pgimg/8
〰〰〰〰〰〰
#ejs #templating #js #node #express
@ProgrammingTip
"E" is for "effective." EJS is a simple Templating Language that lets you generate HTML markup with plain JavaScript. 🔥
No religiousness about how to organize things. No reinvention of iteration and control-flow. It's just plain JavaScript. 🤷🏻♂️
[ Website ] : http://ejs.co/
https://t.me/pgimg/8
〰〰〰〰〰〰
#ejs #templating #js #node #express
@ProgrammingTip
Telegram
Programming Tips Resources
GenFu 🤺
GenFu is a library you can use to generate realistic test data. ✅
It is composed of several property fillers that can populate commonly named properties through reflection using an internal database of values or randomly created data.
You can override any of the fillers, give GenFu hints on how to fill them. 🛠
[ Website ] : http://genfu.io/
https://t.me/pgimg/9
〰〰〰〰〰〰
#Dotnet #Core #UnitTest
@ProgrammingTip
GenFu is a library you can use to generate realistic test data. ✅
It is composed of several property fillers that can populate commonly named properties through reflection using an internal database of values or randomly created data.
You can override any of the fillers, give GenFu hints on how to fill them. 🛠
[ Website ] : http://genfu.io/
https://t.me/pgimg/9
〰〰〰〰〰〰
#Dotnet #Core #UnitTest
@ProgrammingTip
Telegram
Programming Tips Resources
What is PushJs ? ❓
Push is the fastest way to get up and running with Javascript desktop notifications. 🔥
A fairly new addition to the official specification, the Notification API allows modern browsers such as Chrome, Safari, Firefox, and IE 9+ to push notifications to a user’s desktop. 👌🏻
Push acts as a cross-browser solution to this API, falling back to use older implementations if the user’s browser does not support the new API. 🌀
Installing
You can quickly install Push via npm:
Or, if you want something a little more lightweight, you can give Bower a try:
https://t.me/pgimg/10
[ Website ] : https://pushjs.org/
〰〰〰〰〰〰
#js #push #notification
@ProgrammingTip
Push is the fastest way to get up and running with Javascript desktop notifications. 🔥
A fairly new addition to the official specification, the Notification API allows modern browsers such as Chrome, Safari, Firefox, and IE 9+ to push notifications to a user’s desktop. 👌🏻
Push acts as a cross-browser solution to this API, falling back to use older implementations if the user’s browser does not support the new API. 🌀
Installing
You can quickly install Push via npm:
$ npm install push.js --save
Or, if you want something a little more lightweight, you can give Bower a try:
$ bower install push.js --save
https://t.me/pgimg/10
[ Website ] : https://pushjs.org/
〰〰〰〰〰〰
#js #push #notification
@ProgrammingTip
Telegram
Programming Tips Resources
Authentication in ASP.NET Core for your Web API and Angular2+ using JWT 🔑
Authentication in a single page application is a bit more special, if you just know the traditional ASP.NET way.
To imagine that the app is a completely independent app like a mobile app helps.
Token based authentication is the best solution for this kind of apps.
https://t.me/pgimg/11
[ Website ] : http://bit.do/jwtasp
〰〰〰〰〰〰
#AspMvc #WebApi #Authentication #JWT
@ProgrammingTip
Authentication in a single page application is a bit more special, if you just know the traditional ASP.NET way.
To imagine that the app is a completely independent app like a mobile app helps.
Token based authentication is the best solution for this kind of apps.
https://t.me/pgimg/11
[ Website ] : http://bit.do/jwtasp
〰〰〰〰〰〰
#AspMvc #WebApi #Authentication #JWT
@ProgrammingTip
Telegram
Programming Tips Resources
🌈 WebGradients
WebGradients is a free collection of 180 linear gradients that you can use as content backdrops in any part of your website. 🖥
Easy copy CSS3 Crossbrowser code and use it in a moment! They Have also prepared a .PNG version of each gradient. As a bonus, there are packs for Sketch & Photoshop. 🔥
https://t.me/pgimg/12
[ Website ] : https://webgradients.com/
〰〰〰〰〰〰
#css #color #gradient
@ProgrammingTip
WebGradients is a free collection of 180 linear gradients that you can use as content backdrops in any part of your website. 🖥
Easy copy CSS3 Crossbrowser code and use it in a moment! They Have also prepared a .PNG version of each gradient. As a bonus, there are packs for Sketch & Photoshop. 🔥
https://t.me/pgimg/12
[ Website ] : https://webgradients.com/
〰〰〰〰〰〰
#css #color #gradient
@ProgrammingTip
Telegram
Programming Tips Resources
Yagni : You Arent Gonna Need It 👾
Never Add Functionality Early 💡
Even if you're totally, totally, totally sure that you'll need a feature later on, don't implement it now. ⏳
Usually, what you actually need is quite different from what you foresaw needing earlier. 🙅🏻♂️
This doesn't mean you should avoid building flexibility into your code. ✅
It means you shouldn't overengineer something based on what you think you might need later on. ❌
🔹🔸🔹🔸🔹🔸
There are two main reasons to practise YagNi :
1️⃣ You save time, because you avoid writing code that you turn out not to need.
2️⃣ Your code is better, because you avoid polluting it with 'guesses' that turn out to be more or less wrong but stick around anyway.
This also follows the KISS theorem:
https://t.me/pgimg/13
〰〰〰〰〰〰
#CleanCode #Principles #Tips
@ProgrammingTip
Never Add Functionality Early 💡
"Always implement things when you actually need them, never when you just foresee that you need them."
Even if you're totally, totally, totally sure that you'll need a feature later on, don't implement it now. ⏳
Usually, what you actually need is quite different from what you foresaw needing earlier. 🙅🏻♂️
This doesn't mean you should avoid building flexibility into your code. ✅
It means you shouldn't overengineer something based on what you think you might need later on. ❌
🔹🔸🔹🔸🔹🔸
There are two main reasons to practise YagNi :
1️⃣ You save time, because you avoid writing code that you turn out not to need.
2️⃣ Your code is better, because you avoid polluting it with 'guesses' that turn out to be more or less wrong but stick around anyway.
This also follows the KISS theorem:
Keep it simple, stupid!
https://t.me/pgimg/13
〰〰〰〰〰〰
#CleanCode #Principles #Tips
@ProgrammingTip
Telegram
Programming Tips Resources
CLion : A cross-platform IDE for C and C++ 🦁
Thanks to native C and C++ support, including C++11 and C++14, libc++ and Boost, CLion knows your code through and through and takes care of the routine while you focus on the important things.
https://t.me/pgimg/14
[ Website ]: https://www.jetbrains.com/clion
〰〰〰〰〰〰
#ide #c #cpp
@ProgrammingTip
Thanks to native C and C++ support, including C++11 and C++14, libc++ and Boost, CLion knows your code through and through and takes care of the routine while you focus on the important things.
https://t.me/pgimg/14
[ Website ]: https://www.jetbrains.com/clion
〰〰〰〰〰〰
#ide #c #cpp
@ProgrammingTip
Telegram
Programming Tips Resources
LiteDB 📦
Embedded NoSQL database for .NET ✅
An open source MongoDB-like database with zero configuration - mobile ready 📱
🔹🔸🔹🔸🔹
Features 💎 :
• Standalone database - LiteDB is serverless database delivered in a single DLL ( Less than 250KB )
• Fast & Lightweight - LiteDB is a simple and fast NoSQL database solution. 💨
• LINQ Support
• Fluent API for custom mapping
• Free 💸
🔹🔸🔹🔸🔹
Ideal for :
• Mobile Apps
• Desktop/local small applications
• Application file format
• Small web applications
• One database per account/user data store
https://t.me/pgimg/15
[ Website ] : http://www.litedb.org/
〰〰〰〰〰〰
#Database #LiteDB
@ProgrammingTip
Embedded NoSQL database for .NET ✅
An open source MongoDB-like database with zero configuration - mobile ready 📱
🔹🔸🔹🔸🔹
Features 💎 :
• Standalone database - LiteDB is serverless database delivered in a single DLL ( Less than 250KB )
• Fast & Lightweight - LiteDB is a simple and fast NoSQL database solution. 💨
• LINQ Support
• Fluent API for custom mapping
• Free 💸
🔹🔸🔹🔸🔹
Ideal for :
• Mobile Apps
• Desktop/local small applications
• Application file format
• Small web applications
• One database per account/user data store
https://t.me/pgimg/15
[ Website ] : http://www.litedb.org/
〰〰〰〰〰〰
#Database #LiteDB
@ProgrammingTip
Telegram
Programming Tips Resources
Difference between \n and \r 👀
In Unix and all Unix-like systems, \n is the code for end-of-line, \r means nothing special. 🤷🏻♂️
As a consequence, in C and most languages that somehow copy it (even remotely), \n is the standard escape sequence for end of line (translated to/from OS-specific sequences as needed)
in old Mac systems (pre-OS X), \r was the code for end-of-line instead. 🖥
As a (surprising) consequence (harking back to OSs much older than Windows), \r\n is the standard line-termination for text formats on the Internet. 🌏
For electromechanical teletype-like "terminals", \r commands the carriage to go back leftwards until it hits the leftmost stop (a slow operation), \n commands the roller to roll up one line (a much faster operation) — that's the reason you always have \r before \n, so that the roller can move while the carriage is still going leftwards!.
For character-mode terminals (typically emulating even-older printing ones as above), in raw mode, \r and \n act similarly (except both in terms of the cursor, as there is no carriage or roller) 😉
〰〰〰〰〰〰
#scape_secuence
@ProgrammingTip
In Unix and all Unix-like systems, \n is the code for end-of-line, \r means nothing special. 🤷🏻♂️
As a consequence, in C and most languages that somehow copy it (even remotely), \n is the standard escape sequence for end of line (translated to/from OS-specific sequences as needed)
in old Mac systems (pre-OS X), \r was the code for end-of-line instead. 🖥
As a (surprising) consequence (harking back to OSs much older than Windows), \r\n is the standard line-termination for text formats on the Internet. 🌏
For electromechanical teletype-like "terminals", \r commands the carriage to go back leftwards until it hits the leftmost stop (a slow operation), \n commands the roller to roll up one line (a much faster operation) — that's the reason you always have \r before \n, so that the roller can move while the carriage is still going leftwards!.
For character-mode terminals (typically emulating even-older printing ones as above), in raw mode, \r and \n act similarly (except both in terms of the cursor, as there is no carriage or roller) 😉
〰〰〰〰〰〰
#scape_secuence
@ProgrammingTip
14 Hot Chrome Extensions for Geeks 🔥
• Similar Web
• Vimium
• Grammarly
• Image Size Info
• Google Analytics Debugger
• Tabstop
• Session Buddy
• Octotree
• Ratings Preview for YouTube™
• The Greate Suspender
• Papier
• Fontface Ninja
• Marmoset
• Lighthouse
https://t.me/pgimg/16
[ Website ] : http://bit.do/cext
〰〰〰〰〰〰
#Chrome #Extension
@ProgrammingTip
• Similar Web
• Vimium
• Grammarly
• Image Size Info
• Google Analytics Debugger
• Tabstop
• Session Buddy
• Octotree
• Ratings Preview for YouTube™
• The Greate Suspender
• Papier
• Fontface Ninja
• Marmoset
• Lighthouse
https://t.me/pgimg/16
[ Website ] : http://bit.do/cext
〰〰〰〰〰〰
#Chrome #Extension
@ProgrammingTip
Telegram
Programming Tips Resources
C# 7.1 - Everything You Need To Know ✨
Visual Studio 2017.3 brought with it the first minor update to the C# language, C# 7.1 💎
This update adds 4 new features to C# :
1️⃣ Async Main Method
2️⃣ Default Literal Expressions
3️⃣ Inferred Tuple Element Names
4️⃣ Generic Support For Pattern-Matching
🔸🔹🔸🔹
In this post, you'll learn :
• How to enable the new C# 7.1 language features in your projects
• Everything you need to know to start using all four of the new features
• Some gotchas with using C# 7.1 in razor views.
https://t.me/pgimg/17
[ Website ] : http://bit.do/csnfe
〰〰〰〰〰〰
#CSharp
@ProgrammingTip
Visual Studio 2017.3 brought with it the first minor update to the C# language, C# 7.1 💎
This update adds 4 new features to C# :
1️⃣ Async Main Method
2️⃣ Default Literal Expressions
3️⃣ Inferred Tuple Element Names
4️⃣ Generic Support For Pattern-Matching
🔸🔹🔸🔹
In this post, you'll learn :
• How to enable the new C# 7.1 language features in your projects
• Everything you need to know to start using all four of the new features
• Some gotchas with using C# 7.1 in razor views.
https://t.me/pgimg/17
[ Website ] : http://bit.do/csnfe
〰〰〰〰〰〰
#CSharp
@ProgrammingTip
Telegram
Programming Tips Resources