
@Gdscpwani is a Developer Student Club aimed at working with the community to solve real-life problems through technology supported by @googledevs
Kilifi, Kenya
Joined August 2019
- Tweets704
- Following240
- Followers603
- Likes1.2K
Google Developer Students Club - Pwani University retweeted
PyCon Africa Call for Proposals (CFP) still open!
Submit your proposal here: africa.pycon.org/2024/talks/…
Google Developer Students Club - Pwani University retweeted
SSO (Single Sign-On) explained.
SSO can be thought of as a master key to open all different locks. It allows a user to log in to different systems using a single set of credentials.
In a time where we are accessing more applications than ever before, this is a big help to mitigate password fatigue and streamlines user experience.
To fully understand the SSO process, let’s take a look at how a user would log into LinkedIn using Google as the identity provider:
1) User requests access
First, the user would attempt to access the Service Provider (LinkedIn). At this point, a user would be presented with login options, and in this example, they would select "Sign in with Google".
2) Authentication request
From here, the Service Provider (LinkedIn) will redirect the user to the Identity Provider (Google) with an authentication request.
3) IdP checks for active session
Once the Identity Provider (Google) has received the request, it will check for an active session. If it doesn't find one, authentication will be requested.
4) User submits credentials
At this stage, the user will submit their login credentials (username and password) to the Identity Provider (IdP).
5) IdP verifies credentials
The Identity Provider will then verify the submitted credentials against its User Directory (database). If the credentials are correct, the IdP will create an authentication token or assertion.
6) IdP sends token to Service Provider
Once the token or assertion has been created, the IdP sends it back to the Service Provider confirming the user's identity. The user is now authenticated and can access the Service Provier (LinkedIn).
7) Access granted using existing session
Since the Identity Provider has established a session, when the user goes to access a different Service Provider (eg; GitHub), they won't need to re-enter their credentials. Future service providers will request authentication from the Identity Provider, recognize the existing session, and grant access to the user based on the previously authenticated session.
SSO workflows like the above operate on SSO protocols, which are a set of rules that govern how the IdP and SP communicate and trust each other. Common protocols include Security Assertion Markup Language (SAML), OpenID Connect, and OAuth.
~~
A big thank you to our partner Postman who keeps our content free to the community.
Did you know Postman just released a package library feature that enables reusable scripts (I.e., change once, use everywhere). Significantly faster development. Check it out: drp.li/package-library-postm…
Google Developer Students Club - Pwani University retweeted
Heeyy guyss
Can you please drop some pieces of advise that you feel will be of benefit to her😊.
She will following to see the replies
Google Developer Students Club - Pwani University retweeted
A full hour of pro VS code tips, tricks, settings and extensions just posted!
youtube.com/watch?v=VIdM5VSl…
Google Developer Students Club - Pwani University retweeted
What makes an API RESTful?
Representational State Transfer (REST) is an architectural style that is commonly used for web-based APIs alongside HTTP as the transport protocol.
Key concepts:
You can also learn more about REST here: drp.li/what-is-a-rest-api-z7…
🔸 𝗦𝘁𝗮𝘁𝗲𝗹𝗲𝘀𝘀: The server shouldn’t need to store any information about a user between requests. Everything that the server needs to execute a task should be sent in the request.
🔸 𝗦𝗲𝗽𝗮𝗿𝗮𝘁𝗶𝗼𝗻 𝗼𝗳 𝗰𝗼𝗻𝗰𝗲𝗿𝗻𝘀: The client and server should function independently of each other.
🔸 𝗖𝗮𝗰𝗵𝗲𝗮𝗯𝗹𝗲: Responses can be cached on the client to boost performance.
🔸 𝗖𝗼𝗻𝘀𝗶𝘀𝘁𝗲𝗻𝘁 𝗶𝗻𝘁𝗲𝗿𝗳𝗮𝗰𝗲: By using HTTP methods like GET, POST, and DELETE, API interfaces stay consistent.
🔸 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲-𝗯𝗮𝘀𝗲𝗱: RESTful APIs have an emphasis on resources rather than methods or functions. A resource can be an object, entity, or data within a system. Resources are uniquely identified using a Uniform Resource Identifier (URI).
🔸 𝗦𝘁𝗮𝗻𝗱𝗮𝗿𝗱 𝗺𝗲𝗱𝗶𝗮 𝘁𝘆𝗽𝗲𝘀: Responses are usually sent as JSON, XML, or plain text. Clients can request a preferred media type.
By providing guidelines like statelessness, separation of concerns, and standardized interfaces, REST has made it easier to develop scalable, stable, high-performing applications.
Here are some interview questions to test your REST knowledge: drp.li/rest-api-interview-z7…
~~
A big thank you to our partner Postman who keeps our content free to the community.
Google Developer Students Club - Pwani University retweeted
If you want to learn AWS Cloud, @andrewbrown created a 107-hour bootcamp for you.
It'll help you level up your cloud computing skills by building lots of projects.
You'll learn about containers, authentication, Postgres, caching, CI/CD, and lots more.
freecodecamp.org/news/free-1…
Google Developer Students Club - Pwani University retweeted
If you're learning how to code, getting a developer job may be one of your goals.
But the process can be intimidating - how do you prepare? What projects should you showcase? What about networking?
In this course, @wagslane covers all this and more.
freecodecamp.org/news/how-to…
Google Developer Students Club - Pwani University retweeted
Free course: Learn how to turn your Figma designs into working code. 🤯
@ania_kubow will teach you how to take an Airbnb-style website design and convert it into an app using AI tools. You'll even add authentication and deploy it to the cloud.
freecodecamp.org/news/ai-web…
Google Developer Students Club - Pwani University retweeted
Day 5 of #20DaysOfJavaScript🚀
Topic covered
- JavaScript Loops in detail
JavaScript Loops
- JavaScript loops are control structures that allow you to repeat a block of code multiple times. They are important because they help automate repetitive tasks in your code and make it more efficient.
Loops try to achieve the following:
Repetition: They repeat a set of instructions multiple times without having to write the same code over and over again. This saves time and effort for the programmer.
Iteration: They help iterate over arrays, lists, or any collection of data, allowing you to process each item individually. This is crucial for tasks like processing user input, data manipulation, or generating dynamic content on web pages.
Condition-based Execution: Loops allow you to execute a block of code repeatedly as long as a certain condition is true. This is useful for scenarios where you need to perform a task until a specific condition is met.
Types of loops In Javascript
for loop:
The for loop is used when you know the number of iterations beforehand.
Syntax:
for (initialization; condition; iteration) {
// code to be executed
}
Example:
for (let i = 0; i < 5; i++) {
console.log(i);
}
Explanation:
initialization: This is where you initialize your loop variable (i in the example) to a starting value.
condition: The loop continues as long as this condition is true.
iteration: This is executed at the end of each loop iteration. It typically increments or decrements the loop variable.
2. while loop:
The while loop is used when you don't know the number of iterations beforehand and you want to execute the block of code as long as a condition is true.
Syntax:
while (condition) {
// code to be executed
}
Example:
let i = 0;
while (i < 5) {
console.log(i);
i++;
}
Explanation:
The loop will continue executing as long as the condition (i < 5) is true.
3. do-while loop:
The do-while loop is similar to the while loop, but it guarantees that the block of code is executed at least once before the condition is tested.
Syntax:
do {
// code to be executed
} while (condition);
Example:
let i = 0;
do {
console.log(i);
i++;
} while (i < 5);
Explanation:
The code inside the do block is executed once before checking the condition.
4. for...in statement:
The for...in statement iterates over the enumerable properties of an object, including inherited enumerable properties.
Syntax:
for (variable in object) {
// code to be executed
}
Example:
const person = {
name: 'John',
age: 30,
profession: 'Developer'
};
for (let key in person) {
console.log(`${key}: ${person[key]}`);
}
Explanation:
variable: Represents a variable that will be assigned the property key on each iteration.
object: Represents the object whose enumerable properties are to be iterated over.
The loop iterates over each enumerable property of the object and executes the code block.
5. for...of statement:
The for...of statement iterates over the iterable objects like arrays, strings, maps, sets, etc., and it provides a simpler syntax compared to other looping constructs.
Syntax:
for (variable of iterable) {
// code to be executed
}
Example with an array:
const fruits = ['apple', 'banana', 'orange'];
for (let fruit of fruits) {
console.log(fruit);
}
Explanation:
variable: Represents a variable that will be assigned each value of the iterable on each iteration.
iterable: Represents the iterable object (e.g., array, string) over which the loop will iterate.
The loop iterates over each element of the iterable and executes the code block.
Loop Control Statements:
JavaScript also provides loop control statements to alter the execution of loops:
break: Terminates the loop immediately.
continue: Skips the current iteration of the loop and continues with the next iteration.
label: Allows you to label loops and break/continue statements can refer to the labeled loop.
Example of break:
for (let i = 0; i < 5; i++) {
if (i === 3) {
break; // exits the loop when i equals 3
}
console.log(i);
}
Example of continue:
for (let i = 0; i < 5; i++) {
if (i === 2) {
continue; // skips the current iteration when i equals 2
}
console.log(i);
}
Example of label:
for (let i = 0; i < 3; i++) {
for (let j = 0; j < 3; j++) {
if (i === 1 && j === 1) {
break outerloop; // breaks out of both loops
}
console.log(`i = ${i}, j = ${j}`);
}
}
------------------------------------------------------
Here we come to an end to Day 5 of #20DaysOfJavaScript
Today we covered:
1 -What are loops?
2- Purpose of using loops
3 - Types of loops in JavaScript
4 - Loop Control Statements
Follow me as I will be covering advanced concepts in detail, and will also help you to build projects based on the covered concepts
Google Developer Students Club - Pwani University retweeted
It's Release Party time 🎉 Join us for the latest from GitHub Copilot, including enhancements to the terminal and shell, new test coverage features, and more! Add to calendar 📅 and join us ▶ aka.ms/code-livestream-page #copilot
Thursday 8 am Seattle / 11 am New York / 4 pm London
Google Developer Students Club - Pwani University retweeted
New FREE 10-hour course: Learn Backend development by coding 3 full-stack projects with Python. 🏗️
@TomiTokko3 will teach you how to code an AI blog tool, a Netflix clone, and a Spotify clone.
You'll learn:
⛓️ Django
🛢️ PostgreSQL
⛵ Tailwind CSS
freecodecamp.org/news/backen…
Google Developer Students Club - Pwani University retweeted
Object-oriented programming is a popular way to write code in Python.
And to help you learn how it works, @TiagoMo53450790 wrote this practical guide.
He explains OOP concepts like objects, classes, the self parameter, and __init__ with lots of code.
freecodecamp.org/news/object…
Google Developer Students Club - Pwani University retweeted
150,000,000+ people use ChatGPT. But almost NO ONE is using it correctly.
Subscribe to the Deep View AI newsletter to learn how for FREE.
Tap on the image below to subscribe for FREE👇
Google Developer Students Club - Pwani University retweeted
Kilifi County mpo?🌴🌊🌊🌴
The AI/ML Innovation Garage will be pitching tent in Kilifi this weekend at Pwani University, in collaboration w/ @dscpwani.
No prior technical knowledge is needed!
RSVP here: bit.ly/kilifigarage
Google Developer Students Club - Pwani University retweeted
On saturday let's all meet at Pwani University✨🥳🥳
Kilifi County mpo?🌴🌊🌊🌴
The AI/ML Innovation Garage will be pitching tent in Kilifi this weekend at Pwani University, in collaboration w/ @dscpwani.
No prior technical knowledge is needed!
RSVP here: bit.ly/kilifigarage
Google Developer Students Club - Pwani University retweeted
These Tech events are an incredible safe space to meet fellow Techies, and also interact with interesting seniors in the field.
You'll also network and connect. With these all, On behalf of @GDG_Pwani , you're all invited to the AI/ML garage hosted at Pwani University.
Google Developer Students Club - Pwani University retweeted
Students to interact and gain more insights on how they can explore the power of generativs AI.
We were able to build using GEMINI API on the web and much much more.
If you're a student and you're seeing this. Start attending these Tech events and you'll grow your skills😎
Google Developer Students Club - Pwani University retweeted
This is one of the most interactive and educative sesaion about Building with AI ever held. Thank you to @googledevs, to GDSA SSA @Geektutor , @achinga_chris our speaker, @PeterArnold254 our faculty advisor and entire @dscpwani attendees. 1. It was an opportunity for....
Google Developer Students Club - Pwani University retweeted
Project-based learning is an effective way to improve your coding skills.
And here, @codebootcampcom shares 7 project ideas you can build using React.
He suggests a tech stack and the basic process for building a personal website, a chat app, and more.
freecodecamp.org/news/react-…

















