β Add Any Numbers Without β+β Operator In C β
Bitwise operators can be used to perform the addition (+) operation as mentioned in below example π
γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°
#c #cpp #operator
@ProgrammingTip
Bitwise operators can be used to perform the addition (+) operation as mentioned in below example π
int Add(int x, int y)
{
if (y == 0)
return x;
else
return Add( x ^ y, (x & y) << 1);
}
γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°γ°
#c #cpp #operator
@ProgrammingTip
Do casts if it's necessary βοΈ
When you're casting an object, you are choosing to ask the compiler to trust you at compile time and to generate a check that will run at execution time to keep you honest. ππ»ββοΈ
#Casting
@ProgrammingTip
When you're casting an object, you are choosing to ask the compiler to trust you at compile time and to generate a check that will run at execution time to keep you honest. ππ»ββοΈ
#Casting
@ProgrammingTip
THX π
This WebGL banner is so captivating βοΈ
I can't stop playing with it, it's incredible. π
http://www.thx.com/
#WebGL #FreeTime
@ProgrammingTip
This WebGL banner is so captivating βοΈ
I can't stop playing with it, it's incredible. π
http://www.thx.com/
#WebGL #FreeTime
@ProgrammingTip
THX
THX- Home
THX - Home -
Code School Courses for Free π
Just 1 day & 15 hours left. πΈ
https://www.codeschool.com/free-weekend
#Tutorial #Course
@ProgrammingTip
Just 1 day & 15 hours left. πΈ
https://www.codeschool.com/free-weekend
#Tutorial #Course
@ProgrammingTip
JavaScript Clean Code π
Only comment things that have business logic complexity. π‘
Comments are an apology, not a requirement. Good code mostly documents itself.
Bad :
Good :
ββββββ
#JSTips #CleanCode
@ProgrammingTip
Only comment things that have business logic complexity. π‘
Comments are an apology, not a requirement. Good code mostly documents itself.
Bad :
function hashIt(data) {
// The hash
let hash = 0;
// Length of string
const length = data.length;
// Loop through every character in data
for (let i = 0; i < length; i++) {
// Get character code.
const char = data.charCodeAt(i);
// Make the hash
hash = ((hash << 5) - hash) + char;
// Convert to 32-bit integer
hash &= hash;
}
}Good :
function hashIt(data) {
let hash = 0;
const length = data.length;
for (let i = 0; i < length; i++) {
const char = data.charCodeAt(i);
hash = ((hash << 5) - hash) + char;
// Convert to 32-bit integer
hash &= hash;
}
}ββββββ
#JSTips #CleanCode
@ProgrammingTip
Understanding Callbacks, Promises, Observables and async/await π€·π»ββοΈ
Whilst we only had callbacks for quite some time, in recent years promises, observables and lately async/await enriched the JavaScript world.
Let's take a closer look at these features and how they differ in this articleβοΈ
https://academind.com/articles/javascript/callbacks-promises-observables-async-await
#JavaScript #Observables #Async #Promise
@ProgrammingTip
Whilst we only had callbacks for quite some time, in recent years promises, observables and lately async/await enriched the JavaScript world.
Let's take a closer look at these features and how they differ in this articleβοΈ
https://academind.com/articles/javascript/callbacks-promises-observables-async-await
#JavaScript #Observables #Async #Promise
@ProgrammingTip
Code Sandbox β‘οΈ
Code Sandbox makes it easier to create, share and reuse React projects with others. π
https://codesandbox.io/
#JavaScript #React
@ProgrammingTip
Code Sandbox makes it easier to create, share and reuse React projects with others. π
https://codesandbox.io/
#JavaScript #React
@ProgrammingTip
CodeSandbox
CodeSandbox: Instant Cloud Development Environments
CodeSandbox is a cloud development platform that empowers developers to code, collaborate and ship projects of any size from any device in record time.
Vue VSCode Snippets by sdras π₯
Super easy to write Vue codes fast π
Documentation :
https://github.com/sdras/vue-vscode-snippets
#JavaScript #Vue
@ProgrammingTip
Super easy to write Vue codes fast π
Documentation :
https://github.com/sdras/vue-vscode-snippets
#JavaScript #Vue
@ProgrammingTip
πβ° What is Glide Library β°π
Glide is a fast and efficient Open Source Media Management and image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.
Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs. Glide includes a flexible API that allows developers to plug in to almost any network stack. ππ»ββοΈ
By default Glide uses a custom HttpUrlConnection based stack, but also includes utility libraries plug in to Google's Volley project or Square's OkHttp library instead. π
For learn more about Glide see
https://github.com/bumptech/glide π
#android #java #media
@ProgrammingTip
Glide is a fast and efficient Open Source Media Management and image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.
Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs. Glide includes a flexible API that allows developers to plug in to almost any network stack. ππ»ββοΈ
By default Glide uses a custom HttpUrlConnection based stack, but also includes utility libraries plug in to Google's Volley project or Square's OkHttp library instead. π
For learn more about Glide see
https://github.com/bumptech/glide π
#android #java #media
@ProgrammingTip
GitHub
GitHub - bumptech/glide: An image loading and caching library for Android focused on smooth scrolling
An image loading and caching library for Android focused on smooth scrolling - bumptech/glide
Media is too big
VIEW IN TELEGRAM
.NET Academy πΎ
Learn new .NET skills in a fun and interactive way π
https://dotnetcademy.net/
#dotnet
@ProgrammingTip
Learn new .NET skills in a fun and interactive way π
https://dotnetcademy.net/
#dotnet
@ProgrammingTip
dotnetcademy.net
Start Learning | .NET Academy
Learn new .NET skills in a fun and interactive way. This site is powered by .NET Fiddle.
JSON Server π₯
Get a full fake REST API with zero coding in less than 30 seconds (seriously) ππ»ββοΈ
Created with β₯οΈ for front-end developers who need a quick back-end for prototyping and mocking. π
https://github.com/typicode/json-server
Fake Online REST API for Testing and Prototyping :
http://jsonplaceholder.typicode.com/
#API #JSON #Mocking
@ProgrammingTip
Get a full fake REST API with zero coding in less than 30 seconds (seriously) ππ»ββοΈ
Created with β₯οΈ for front-end developers who need a quick back-end for prototyping and mocking. π
https://github.com/typicode/json-server
Fake Online REST API for Testing and Prototyping :
http://jsonplaceholder.typicode.com/
#API #JSON #Mocking
@ProgrammingTip
GitHub
GitHub - typicode/json-server: Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Get a full fake REST API with zero coding in less than 30 seconds (seriously) - typicode/json-server
List Design π
Lists is a gallery of real content ready to populate your mockups. π
https://www.lists.design/
#Mocking
@ProgrammingTip
Lists is a gallery of real content ready to populate your mockups. π
https://www.lists.design/
#Mocking
@ProgrammingTip
Google Gson Converter π₯
Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. π¦
Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. π₯
There are a few open-source projects that can convert Java objects to JSON. π
However, most of them require that you place Java annotations in your classes; something that you can not do if you do not have access to the source-code. ππ»ββοΈ
For more about Gson see :
https://github.com/google/gson
#java #android #converter
@ProgrammingTip
Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. π¦
Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. π₯
There are a few open-source projects that can convert Java objects to JSON. π
However, most of them require that you place Java annotations in your classes; something that you can not do if you do not have access to the source-code. ππ»ββοΈ
For more about Gson see :
https://github.com/google/gson
#java #android #converter
@ProgrammingTip
GitHub
GitHub - google/gson: A Java serialization/deserialization library to convert Java Objects into JSON and back
A Java serialization/deserialization library to convert Java Objects into JSON and back - google/gson
Calibre App π
Improve customer experience and sales
with powerful website performance analytics .
https://calibreapp.com/
#Tracking #Analytics
@ProgrammingTip
Improve customer experience and sales
with powerful website performance analytics .
https://calibreapp.com/
#Tracking #Analytics
@ProgrammingTip
Calibre - Site Speed Tools for Teams
Calibre: Monitor Core Web Vitals and Page Speed with Synthetic and Real-User Data
Track page speed without needless complexity. Calibre helps teams focus on high-impact results.
Material Design The Development Documentation
This site has a single list of available Material Components and samples of their usage for developer. π
The v7 appcompat library is used in website - provide support of material design user interface implementations for older Android platforms. ππ»ββοΈ
Note: Design Library - provides various material design components which are not part of Android SDK.
http://www.materialdoc.com/
#java #android #material
@ProgrammingTip
This site has a single list of available Material Components and samples of their usage for developer. π
The v7 appcompat library is used in website - provide support of material design user interface implementations for older Android platforms. ππ»ββοΈ
Note: Design Library - provides various material design components which are not part of Android SDK.
http://www.materialdoc.com/
#java #android #material
@ProgrammingTip
GPU.JS π
gpu.js will automatically compile specially written JavaScript functions into shader language and run them on the GPU using the WebGL API. β‘οΈ
In case WebGL is not available, the functions will still run in regular JavaScript.
https://github.com/gpujs/gpu.js
#JavaScript #GPU
@ProgrammingTip
gpu.js will automatically compile specially written JavaScript functions into shader language and run them on the GPU using the WebGL API. β‘οΈ
In case WebGL is not available, the functions will still run in regular JavaScript.
https://github.com/gpujs/gpu.js
#JavaScript #GPU
@ProgrammingTip
GitHub
GitHub - gpujs/gpu.js: GPU Accelerated JavaScript
GPU Accelerated JavaScript. Contribute to gpujs/gpu.js development by creating an account on GitHub.
Master Your API Workflow with Postman πΈ
Theyβre doing a great job by providing an integrated environment for different components of an API, like authorization, testing, documentation, versioning. π
https://www.sitepoint.com/master-api-workflow-postman/
#API #Postman
@ProgrammingTip
Theyβre doing a great job by providing an integrated environment for different components of an API, like authorization, testing, documentation, versioning. π
https://www.sitepoint.com/master-api-workflow-postman/
#API #Postman
@ProgrammingTip
Sitepoint
How to Master Your API Workflow with Postman β SitePoint
Younes present Postman - the API development tool of choice - in comprehensive detail. There's never been a better way to improve your API dev workflow!
Refactoring β’GURUβ’ πΏ
Refactoring.Guru is a shiny website where you can find tons of information on refactoring, design patterns, SOLID principles and other smart programming topics. β¨
https://refactoring.guru/
#CleanCode #Refactoring
@ProgrammingTip
Refactoring.Guru is a shiny website where you can find tons of information on refactoring, design patterns, SOLID principles and other smart programming topics. β¨
https://refactoring.guru/
#CleanCode #Refactoring
@ProgrammingTip
refactoring.guru
Refactoring and Design Patterns
Refactoring is a controllable process of improving code without creating new functionality. Design Patterns are typical solutions to the commonly occurring problems in software design.