Skip to content

Instantly share code, notes, and snippets.

View MbarkT3STO's full-sized avatar
☑️

M B A R K MbarkT3STO

☑️
View GitHub Profile
static async Task ProcessImage(byte[] imageData)
{
await Task.Run(() =>
{
RotateImage(imageData);
DarkenImage(imageData);
BlurImage(imageData);
}
}
static async Task<byte[]> BlurImage(string imagePath)
{
return await Task.Run(() =>
{
var image = Image.Load(imagePath);
image.Mutate(ctx => ctx.GaussianBlur());
using (var memoryStream = new MemoryStream())
{
image.SaveAsJpeg(memoryStream);
return memoryStream.ToArray();
public class AuthorModel
{
public int Id
{
get; set;
}
public string FirstName
{
get;set;
}
@MbarkT3STO
MbarkT3STO / 404-error-lost-and-alone-codepenchallenge.markdown
Created June 16, 2020 16:42
404 Error - Lost and Alone #CodePenChallenge

404 Error - Lost and Alone #CodePenChallenge

My take for this week's challenge featuring some simple SVG animation

A Pen by Janet Mendez on CodePen.

License.

@MbarkT3STO
MbarkT3STO / daily-ui-008-404-page.markdown
Created June 16, 2020 09:22
Daily UI #008 - 404 Page
@MbarkT3STO
MbarkT3STO / error-404-page-not-found-80s-hacker-theme.markdown
Created June 16, 2020 08:42
Error 404: Page not found – 80s hacker theme