Carbonβ¨
Create and share beautiful images of your source code. π
You know all of those code screenshots you see on Twitterβ
Although the code's usually impressive, we saw room for improvement in the aesthetic department. β
Carbon is the easiest way to create beautiful images of your source code. π
So what are you waiting forβ
Go impress all of your followers with your newfound design prowess. π¨
https://t.me/pgimg/129
[ Website ] : carbon.now.sh
γ°γ°γ°γ°γ°γ°
#Code #Scheme
@ProgrammingTip
Create and share beautiful images of your source code. π
You know all of those code screenshots you see on Twitterβ
Although the code's usually impressive, we saw room for improvement in the aesthetic department. β
Carbon is the easiest way to create beautiful images of your source code. π
So what are you waiting forβ
Go impress all of your followers with your newfound design prowess. π¨
https://t.me/pgimg/129
[ Website ] : carbon.now.sh
γ°γ°γ°γ°γ°γ°
#Code #Scheme
@ProgrammingTip
Telegram
Programming Tips Resources
Apress - Real-Time Web Application Development.pdf
21.3 MB
Flexbox Froggy πΈ
Flexbox Froggy is a game for learning CSS flexbox. πΎ
Flexbox Froggy takes inspiration from the classic arcade game Frogger, and web literacy games like the brilliant CSS Diner and Erase All Kittens, where you learn about CSS selectors and HTML markup respectively. π₯
https://t.me/pgimg/130
[ Learn ] : flexboxfroggy.com
γ°γ°γ°γ°γ°γ°
#FlexBox #CSS
@ProgrammingTip
Flexbox Froggy is a game for learning CSS flexbox. πΎ
Flexbox Froggy takes inspiration from the classic arcade game Frogger, and web literacy games like the brilliant CSS Diner and Erase All Kittens, where you learn about CSS selectors and HTML markup respectively. π₯
https://t.me/pgimg/130
[ Learn ] : flexboxfroggy.com
γ°γ°γ°γ°γ°γ°
#FlexBox #CSS
@ProgrammingTip
Telegram
Programming Tips Resources
Using Redis Cache in .NET Core π
Redis is a high performance distributed cache. Itβs great for storing data that you are going to need again and again in a short period of time when you donβt want to use processing power to βcreateβ that data again. β»οΈ
Think number crunching or heavy SQL queries for data that doesnβt change often. π«
Roll Your Own π€
First off. You can absolutely roll your own Redis Cache services abstracted by your own interfaces etc. β
You may find it a little difficult to find libraries that target .NET Core, but this will change over time. β³
In saying that, there is a β.NET Coreβ way of doing things that is a little different. It does tie you into the framework a little, but it abstracts away the caching completely and letβs Microsoft handle it and thatβs what we are going to go over today. π
https://t.me/pgimg/131
[ Article ] : bit.do/rcache
γ°γ°γ°γ°γ°γ°
#Redis #AspMvc #Core #Cache
@ProgrammingTip
Redis is a high performance distributed cache. Itβs great for storing data that you are going to need again and again in a short period of time when you donβt want to use processing power to βcreateβ that data again. β»οΈ
Think number crunching or heavy SQL queries for data that doesnβt change often. π«
Roll Your Own π€
First off. You can absolutely roll your own Redis Cache services abstracted by your own interfaces etc. β
You may find it a little difficult to find libraries that target .NET Core, but this will change over time. β³
In saying that, there is a β.NET Coreβ way of doing things that is a little different. It does tie you into the framework a little, but it abstracts away the caching completely and letβs Microsoft handle it and thatβs what we are going to go over today. π
https://t.me/pgimg/131
[ Article ] : bit.do/rcache
γ°γ°γ°γ°γ°γ°
#Redis #AspMvc #Core #Cache
@ProgrammingTip
Telegram
Programming Tips Resources
WarriorJS π‘
An exciting game of programming and Artificial Intelligence. π€
In WarriorJS, you wear the skin of a warrior climbing a tall tower to reach The JavaScript Sword at the top level. β³οΈ
Legend has it that the sword bearer becomes enlightened in the JavaScript language, but be warned : the journey will not be easy. β οΈ
On each floor, you need to write JavaScript to instruct the warrior to battle enemies, rescue captives, and reach the stairs alive. β οΈ
No matter if you are new to programming or a JavaScript guru, WarriorJS will put your skills to the test. Will you dareβ
https://t.me/pgimg/132
[ Github ] : bit.do/warriorjs
γ°γ°γ°γ°γ°γ°
#JavaScript #Fun #Game
@ProgrammingTip
An exciting game of programming and Artificial Intelligence. π€
In WarriorJS, you wear the skin of a warrior climbing a tall tower to reach The JavaScript Sword at the top level. β³οΈ
Legend has it that the sword bearer becomes enlightened in the JavaScript language, but be warned : the journey will not be easy. β οΈ
On each floor, you need to write JavaScript to instruct the warrior to battle enemies, rescue captives, and reach the stairs alive. β οΈ
No matter if you are new to programming or a JavaScript guru, WarriorJS will put your skills to the test. Will you dareβ
https://t.me/pgimg/132
[ Github ] : bit.do/warriorjs
γ°γ°γ°γ°γ°γ°
#JavaScript #Fun #Game
@ProgrammingTip
Telegram
Programming Tips Resources
VS Code can do that βοΈ
All the best things about Visual Studio Code that nobody ever bothered to tell you. π₯
Features β :
β’ Update Image Size
β’ Emmet
β’ Wrap Individual Lines
β’ Prettier
β’ Font Ligatures
β’ Bracket Pair Colorizer
β’ JavaScript Type Checking
β’ JSON Intellisense
β’ Node.js Debugging
β’ Debugging Browser Apps
β’ Log Points
β’ CosmosDB / MongoDB
β’ Bookmarks
β’ Docker
β’ Settings Sync
β’ Deployment
β’ Image Preview
β’ CSS Preview
β’ Inline File / Folder Nesting
https://t.me/pgimg/133
[ Website ] : bit.do/vscod
γ°γ°γ°γ°γ°γ°
#VSCode #Extensions
@ProgrammingTip
All the best things about Visual Studio Code that nobody ever bothered to tell you. π₯
Features β :
β’ Update Image Size
β’ Emmet
β’ Wrap Individual Lines
β’ Prettier
β’ Font Ligatures
β’ Bracket Pair Colorizer
β’ JavaScript Type Checking
β’ JSON Intellisense
β’ Node.js Debugging
β’ Debugging Browser Apps
β’ Log Points
β’ CosmosDB / MongoDB
β’ Bookmarks
β’ Docker
β’ Settings Sync
β’ Deployment
β’ Image Preview
β’ CSS Preview
β’ Inline File / Folder Nesting
https://t.me/pgimg/133
[ Website ] : bit.do/vscod
γ°γ°γ°γ°γ°γ°
#VSCode #Extensions
@ProgrammingTip
Telegram
Programming Tips Resources
Never commit code thatβs been commented out π«
Iβve never understood the reasoning behind committing code thatβs been commented out. π€
I assume itβs to keep old versions of the code around just in case the new code doesnβt work, but thatβs just bizarre. β οΈ
Keeping track of old versions is the reason we use a version control system in the first placeβοΈ
Why was the code commented outβ
Does it workβ
Should it workβ
Has it ever workedβ
Is it something we should strive towards or run away fromβ
Code thatβs been commented out is worse than useless, because every time itβs read, it raises questions like these without providing any answers. β
It only serves to confuse and distract from the code in use. π€―
https://t.me/pgimg/134
γ°γ°γ°γ°γ°γ°
#Tips #Git
@ProgrammingTip
Iβve never understood the reasoning behind committing code thatβs been commented out. π€
I assume itβs to keep old versions of the code around just in case the new code doesnβt work, but thatβs just bizarre. β οΈ
Keeping track of old versions is the reason we use a version control system in the first placeβοΈ
Why was the code commented outβ
Does it workβ
Should it workβ
Has it ever workedβ
Is it something we should strive towards or run away fromβ
Code thatβs been commented out is worse than useless, because every time itβs read, it raises questions like these without providing any answers. β
It only serves to confuse and distract from the code in use. π€―
https://t.me/pgimg/134
γ°γ°γ°γ°γ°γ°
#Tips #Git
@ProgrammingTip
Telegram
Programming Tips Resources
Programming Tips π‘
Photo
It's quiz time, What do you think will be loggedβ
anonymous poll
2 then 3 β 83
πππππππ 50%
1 then 1 β 28
ππ 17%
1 then 3 β 28
ππ 17%
1 then 2 β 28
ππ 17%
π₯ 167 people voted so far. Poll closed.
anonymous poll
2 then 3 β 83
πππππππ 50%
1 then 1 β 28
ππ 17%
1 then 3 β 28
ππ 17%
1 then 2 β 28
ππ 17%
π₯ 167 people voted so far. Poll closed.
This media is not supported in your browser
VIEW IN TELEGRAM
And now ... here is the answer. π€π»
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#JavaScript #Async
@ProgrammingTip
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#JavaScript #Async
@ProgrammingTip
Avian π
A lightweight virtual machine and class library designed to provide a useful subset of Javaβs features, suitable for building self-contained applications. π‘
Efficient
πΈJust-In-Time (JIT) compilation for fast method execution
πΉGenerational, copying garbage collection ensures short pause times and good spatial locality
πΈThread-local heaps provide O(1) memory allocation with no synchronization overhead
πΉNull pointer dereferences are handled via OS signals to avoid unecessary branches
The class library is designed to be as loosely coupled as possible, allowing tools like ProGuard to aggressively isolate the minimum code needed for an application. β‘οΈ
This translates to smaller downloads and faster startup. β¨
https://t.me/pgimg/135
[ Website ] : readytalk.github.io/avian
γ°γ°γ°γ°γ°γ°
#Java #VM #JIT
@ProgrammingTip
A lightweight virtual machine and class library designed to provide a useful subset of Javaβs features, suitable for building self-contained applications. π‘
The VM is implemented from scratch and designed to be both fast and small.
Efficient
πΈJust-In-Time (JIT) compilation for fast method execution
πΉGenerational, copying garbage collection ensures short pause times and good spatial locality
πΈThread-local heaps provide O(1) memory allocation with no synchronization overhead
πΉNull pointer dereferences are handled via OS signals to avoid unecessary branches
The class library is designed to be as loosely coupled as possible, allowing tools like ProGuard to aggressively isolate the minimum code needed for an application. β‘οΈ
This translates to smaller downloads and faster startup. β¨
https://t.me/pgimg/135
[ Website ] : readytalk.github.io/avian
γ°γ°γ°γ°γ°γ°
#Java #VM #JIT
@ProgrammingTip
Telegram
Programming Tips Resources
Programming Tips π‘
Photo
Mastering Docker.pdf
26.3 MB
Mastering Docker - Second Edition π
Authors π :
Russ McKendrick
Scott Gallagher
Publisher : Packt β¨
γ°γ°γ°γ°γ°γ°
#Book #Docker
@ProgrammingTip
Authors π :
Russ McKendrick
Scott Gallagher
Publisher : Packt β¨
γ°γ°γ°γ°γ°γ°
#Book #Docker
@ProgrammingTip
Dockerise .NET Core Apps π¦
In this tutorial, you will learn how to build and run your first ASP.NET Core docker image. π₯
We're going to walk through how you would add docker support to a pre-existing code base. π
Itβs incredibly easy to do. β
https://t.me/pgimg/136
[ Article ] : bit.do/dcker
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #Docker
@ProgrammingTip
In this tutorial, you will learn how to build and run your first ASP.NET Core docker image. π₯
We're going to walk through how you would add docker support to a pre-existing code base. π
Itβs incredibly easy to do. β
https://t.me/pgimg/136
[ Article ] : bit.do/dcker
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #Docker
@ProgrammingTip
Telegram
Programming Tips Resources
What was the funniest experience you've ever had related to programming => Asked from Lino Tadrosβ
The funniest experience I had was during the Delphi 3 development cycle when I had a serious problem running one of the builds on my machine and after wasting almost 4 hours, I went to Anders and Chuck and requested help. ππ»
Anders ( Anders Hejlsberg ) and Chuck came to my office, sat down next to each other in front of my machine and started debugging delphi32.exe inside of TD32. π
I sat behind them watching. π
Few minutes later, Anders pointed to the CPU window at some bits and told Chuck :
Chuck looked at it for 5 seconds and confirmed. β
Then Anders looked at me and said :
That was funny because I felt like I had the wrong job and that I should consider opening a hot dog stand somewhere instead of software development. πΆ
These folks are GodsβοΈ
πΉπΈπΉπΈ
Anders Hejlsberg πΎ :
He was the original author of Turbo Pascal and the chief architect of Delphi. ππ»
He currently works for Microsoft as the lead architect of C# and core developer on TypeScript. π
πΈπΉπΈπΉ
https://t.me/pgimg/137
[ Wikipedia ] : bit.do/anHej
[ Full Interview ] : bit.do/linO
γ°γ°γ°γ°γ°γ°
#Fun #Interview
@ProgrammingTip
The funniest experience I had was during the Delphi 3 development cycle when I had a serious problem running one of the builds on my machine and after wasting almost 4 hours, I went to Anders and Chuck and requested help. ππ»
Anders ( Anders Hejlsberg ) and Chuck came to my office, sat down next to each other in front of my machine and started debugging delphi32.exe inside of TD32. π
I sat behind them watching. π
Few minutes later, Anders pointed to the CPU window at some bits and told Chuck :
"Look Chuck, this byte is not supposed to be here, this is a pcked record." π¦Chuck looked at it for 5 seconds and confirmed. β
Then Anders looked at me and said :
"Lino, during the install from the network, one of the packages shifted 1 byte to the left for some reason, delete the package and reinstall." π¨That was funny because I felt like I had the wrong job and that I should consider opening a hot dog stand somewhere instead of software development. πΆ
These folks are GodsβοΈ
πΉπΈπΉπΈ
Anders Hejlsberg πΎ :
He was the original author of Turbo Pascal and the chief architect of Delphi. ππ»
He currently works for Microsoft as the lead architect of C# and core developer on TypeScript. π
πΈπΉπΈπΉ
https://t.me/pgimg/137
[ Wikipedia ] : bit.do/anHej
[ Full Interview ] : bit.do/linO
γ°γ°γ°γ°γ°γ°
#Fun #Interview
@ProgrammingTip
Telegram
Programming Tips Resources
Strings Are Evil πΊ
Reducing memory allocations from 7.5GB to 32KB. π΅
In this article we will explore potential optimisations to the import process specifically within the context of reducing memory during the import process. β
This article is awesomeβοΈ
https://t.me/pgimg/138
[ Article ] : bit.do/StraE
γ°γ°γ°γ°γ°γ°
#CSharp #Performance
@ProgrammingTip
Reducing memory allocations from 7.5GB to 32KB. π΅
In this article we will explore potential optimisations to the import process specifically within the context of reducing memory during the import process. β
This article is awesomeβοΈ
https://t.me/pgimg/138
[ Article ] : bit.do/StraE
γ°γ°γ°γ°γ°γ°
#CSharp #Performance
@ProgrammingTip
Telegram
Programming Tips Resources
Insidious Dependencies π€·π»ββοΈ
In the last year or so Iβve really seen the light on how to really write loosely-coupled code. π
I thought I knew something about this concept before β I mean, I knew loose coupling was good, generally speaking, and I knew data abstraction was one of the key ways to limit dependencies between classes. β
However, I didnβt realize that I was unintentionally adding all kinds of coupling into my applications despite my best efforts to the contrary. βοΈ
Letβs talk about some dependencies, including some obvious ones, as well as some insidious dependencies that lurk in most applications Iβve seen. π
Insidious dependencies β :
β’ File System
β’ Email
β’ Web Service & Requests
β’ DateTime.Now
β’ Configuration
β’ New ...
https://t.me/pgimg/139
[ Article ] : bit.do/indP
γ°γ°γ°γ°γ°γ°
#CleanCode #Dependency
@ProgrammingTip
In the last year or so Iβve really seen the light on how to really write loosely-coupled code. π
I thought I knew something about this concept before β I mean, I knew loose coupling was good, generally speaking, and I knew data abstraction was one of the key ways to limit dependencies between classes. β
However, I didnβt realize that I was unintentionally adding all kinds of coupling into my applications despite my best efforts to the contrary. βοΈ
Letβs talk about some dependencies, including some obvious ones, as well as some insidious dependencies that lurk in most applications Iβve seen. π
Insidious dependencies β :
β’ File System
β’ Email
β’ Web Service & Requests
β’ DateTime.Now
β’ Configuration
β’ New ...
https://t.me/pgimg/139
[ Article ] : bit.do/indP
γ°γ°γ°γ°γ°γ°
#CleanCode #Dependency
@ProgrammingTip
Telegram
Programming Tips Resources
Coravel β°
.NET Core meets Laravel : Scheduling, Queuing, etc. β¨
Features π :
β’ Task Scheduling
β’ Queuing
Tired of using cron and Windows Task Schedulerβ
Want to use something easy that ties into your existing codeβ
In Startup.cs, put this in ConfigureServices() πΎ :
Look at the documentation to see what methods are availableβοΈ
https://t.me/pgimg/140
[ Github ] : bit.do/corevl
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #Scheduler
@ProgrammingTip
.NET Core meets Laravel : Scheduling, Queuing, etc. β¨
Features π :
β’ Task Scheduling
β’ Queuing
Tired of using cron and Windows Task Schedulerβ
Want to use something easy that ties into your existing codeβ
In Startup.cs, put this in ConfigureServices() πΎ :
services.AddScheduler(scheduler =>
{
scheduler.Schedule(
() => Console.WriteLine("Run at 1pm utc during week days."))
.DailyAt(13, 00)
.Weekday();
});
Easy enoughβLook at the documentation to see what methods are availableβοΈ
https://t.me/pgimg/140
[ Github ] : bit.do/corevl
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #Scheduler
@ProgrammingTip
Telegram
Programming Tips Resources
All You Need To Know About CSS-in-JS π
Thinking in components β No longer do you have to maintain bunch of style-sheets. CSS-in-JS abstracts the CSS model to the component level, rather than the document level (modularity). π
What is CSS-in-JSβ
JSS is a more powerful abstraction over CSS. π¦
It uses JavaScript as a language to describe styles in a declarative and maintainable way. π£
It is a high performance JS to CSS compiler which works at runtime and server-side. π
This core library is low level and framework agnostic. β¨
It is about 6KB (minified and gzipped) and is extensible via plugins API. π
https://t.me/pgimg/141
[ Article ] : kutt.it/jss
γ°γ°γ°γ°γ°γ°
#CSS #JavaScript #JSS
@ProgrammingTip
Thinking in components β No longer do you have to maintain bunch of style-sheets. CSS-in-JS abstracts the CSS model to the component level, rather than the document level (modularity). π
What is CSS-in-JSβ
JSS is a more powerful abstraction over CSS. π¦
It uses JavaScript as a language to describe styles in a declarative and maintainable way. π£
It is a high performance JS to CSS compiler which works at runtime and server-side. π
This core library is low level and framework agnostic. β¨
It is about 6KB (minified and gzipped) and is extensible via plugins API. π
https://t.me/pgimg/141
[ Article ] : kutt.it/jss
γ°γ°γ°γ°γ°γ°
#CSS #JavaScript #JSS
@ProgrammingTip
Telegram
Programming Tips Resources
HTTPS explained with carrier pigeons β‘οΈ
Cryptography can be a hard subject to understand. Itβs full of mathematical proofs. π€·π»ββοΈ
But unless you are actually developing cryptographic systems, much of that complexity is not necessary to understand what is going on at a high level. π
If you opened this article hoping to create the next HTTPS protocol, Iβm sorry to say that pigeons wonβt be enough. π
Otherwise, brew some coffee and enjoy the article. βοΈ
https://t.me/pgimg/142
[ Article ] : kutt.it/https
γ°γ°γ°γ°γ°γ°
#HTTPS #Cryptography
@ProgrammingTip
Cryptography can be a hard subject to understand. Itβs full of mathematical proofs. π€·π»ββοΈ
But unless you are actually developing cryptographic systems, much of that complexity is not necessary to understand what is going on at a high level. π
If you opened this article hoping to create the next HTTPS protocol, Iβm sorry to say that pigeons wonβt be enough. π
Otherwise, brew some coffee and enjoy the article. βοΈ
https://t.me/pgimg/142
[ Article ] : kutt.it/https
γ°γ°γ°γ°γ°γ°
#HTTPS #Cryptography
@ProgrammingTip
Telegram
Programming Tips Resources