Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
@Home rocking some AI projects

El Bruno elbruno

💭
@Home rocking some AI projects
View GitHub Profile
@elbruno
elbruno / rustgetmyip.rs
Created February 1, 2023 15:46
rustgetmyip.rs
View rustgetmyip.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 Feb
Change Log :
- Demo learning with HTTP GET and POST request with Rust
- Source Demo: https://actix.rs/docs/getting-started
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
@elbruno
elbruno / rustarraysandprintlnmacro.rs
Created January 19, 2023 15:21
rustarraysandprintlnmacro.rs
View rustarraysandprintlnmacro.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Demo working with arrays and println! macro
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / ruststringstructsandinterpolation.rs
Created January 18, 2023 15:16
ruststringstructsandinterpolation.rs
View ruststringstructsandinterpolation.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Working with strings with strucs and named arguments
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / rustStringsImplicitNamedArguments.rs
Created January 18, 2023 15:05
rustStringsImplicitNamedArguments.rs
View rustStringsImplicitNamedArguments.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Working with strings with implicit named arguments
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / rustferrissays.rs
Created January 16, 2023 19:52
rustferrissays.rs
View rustferrissays.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Demostrate how to use the ferris_says crate
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / rustgenericlogfunctionsample.rs
Created January 14, 2023 14:36
rustgenericlogfunctionsample.rs
View rustgenericlogfunctionsample.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Demos working with generics in Rust
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / rustgenericsagenamesample.rs
Created January 12, 2023 18:34
rustgenericsagenamesample.rs
View rustgenericsagenamesample.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Demos working with generics in Rust
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / rustaccessvarinathread.rs
Last active January 11, 2023 13:44
rustaccessvarinathread.rs
View rustaccessvarinathread.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Demos working with threads in Rust
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / rustthreadnotfinished.rs
Created January 9, 2023 20:09
rustthreadnotfinished.rs
View rustthreadnotfinished.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Demos working with threads in Rust
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / rustthreadsjoin.rs
Created January 9, 2023 20:08
rustthreadsjoin.rs
View rustthreadsjoin.rs
/*
Copyright (c) 2023
Author : Bruno Capuano
Create Time : 2023 January
Change Log :
- Demos working with threads in Rust
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal