Taking on 100 days of rust challenge| Posts on Harry Gill
Rust tutorial for creating an Auth micro web-server| Posts on Harry Gill
Rust tutorial for creating an Auth micro web-server| Posts on Harry Gill
Rust tutorial for creating an Auth micro service| Posts on Harry Gill
While making Let’s Organise SPA(Single page Application) I bumped into the issue of properly checking Auth and redirecting when a user visited a route that required Authentication. If User is authenticated then go to the requested page or redirect to /login page. Once the user has successfully logged in redirect them back to the requested page. Vue Router has something called Navigation Guards to the rescue, that you can use as hook before every route or selected routes.| Posts on Harry Gill
Problem set translation form C to rust. I’m using the code I had from 2014 and implementing rust equivalent as a learning exercises. the firs C program is very simple classic ‘Hello World’ followed by rust ‘hello world’. The example below that is about parsing command line user input and printing a pyramid based on that input. Although I can think of many ways to improve the code and user interaction but I chose to just copy exactly the same functionality for new rust code.| Posts on Harry Gill
Very interesting linting and autofixing tool rustfix for rust source code. Click here for Github Repo. Enjoy…| Posts on Harry Gill
Few years back I took CS50 certificate course form Harvard University, that sparked my interest in compiled programming languages. The course mainly used C Language to teach many programming concepts. The course is available here if you are interested CS50’s Introduction to Computer Science. Recently I have started learning rust programming language.| Posts on Harry Gill
It began with a spark—a dormant passion reignited after many years away from motorcycling. Life had steered me in different directions, away from the saddle, but something deep inside pulled me back to the thrill and freedom that only riding offers. Returning to motorcycling after such an extended hiatus was daunting yet exhilarating. I vividly recall my first CBT session: the nerves, the good-natured laughter at my clumsy mistakes, and the sheer joy when everything finally clicked into place.| Harry Gill
Reverse engineering a USB device with Rust, AKA writing a linux userspace driver for USB device| Harry Gill
Step by step story/guide to build STM32 based PCB and program it with rust for fun and games| Harry Gill
Programming PIC32 Microcontroller with Rust, AKA running rust on bare metal| Harry Gill
Rust step by step tutorial for creating an Auth microservice with actix-web| Harry Gill
What?? Updated: 2020-06-24 We are going to make a demo linux web-server with systemd , config file and installable .deb binary in rust. I have been creating web-servers in Node.js for a while. When it comes to running it in production almost always I end up using a solution like pm2 or nodemon to keep the service up and use nginx or apache as reverse proxy to that service. This tutorial is written for people who are fairly new to rust and linux. If you are a developer with battle scars you mi...| Harry Gill
Rust is an enjoyable language, and I have been experimenting with it for a some time. I started with creating a few web servers using different crates including rocket and actix. I needed to use an email api to send messages from the backend to either myself or the user. I have used Sparkpost as an email service for such purpose in some of my nodejs apps. Having not found any rust API lib for it I decided to create one for myself. It is available on https://crates.io/crates/sparkpost .| Harry Gill