Skip to content

60 Second Dev

60 second software development tutorials and demos, and short blog posts.

  • Blog

60 Second Dev

60 second software development tutorials and demos, and short blog posts.

  • Blog

60 Second Dev

60 second software development tutorials and demos, and short blog posts.

Month: June 2021

2021-06-302022-01-14.net

C# Yield

When building a method that returns IEnumerable, you can use the yield […]

2021-06-232022-01-13javascript

Queue and Stack in javascript

Using basic array functions, you can treat an array as a queue […]

2021-06-232022-01-13javascript

Handlebars in NodeJS

“use strict”; (function() { const handlebars = require(“handlebars”); const source = “{{ […]

2021-06-232022-01-13javascript

AJAX in Angular

Regular GET/POST $http({ method: “POST”, url: “someUrl”, headers: { “Content-Type”: “application/json; charset=utf-8” […]

2021-06-232022-01-13images

Add timestamp to photo using ImageMagick

rem dptnt.com/2009/04/how-to-add-date-time-stamp-to-jpeg-photos-using-free-software/ @ECHO OFFSETLOCALFOR /R %%G IN (*.jpg) DO CALL :process “%%G”GOTO […]

2021-06-232022-01-14sql server

View Job History in SQL Server

create procedure util.ViewJobHistory( @ExecutionDate date = null ,@JobName sysname = null)asbegin declare […]

2021-06-232022-01-14.net

Type-safe JSON result in ASP.NET MVC

public abstract class BaseController : Controller { protected internal JsonResult<T> Json<T>(T data) […]

2021-06-232022-01-14sql server

SQL Server Flatten and Unflatten

Assuming you have a table type named SingleColumnText which contains (obviously) a […]

2021-06-232022-01-14images

Shrink image with ImageMagick

@ECHO OFFSETLOCALFOR /R %%G IN (*.jpg) DO CALL :process “%%G”GOTO :end :process […]

2021-06-232022-01-14javascript

Replace alert with SweetAlert

SweetAlert is a nice simple solution for displaying alert messages. Here’s the […]

Posts navigation

1 2 … 5 Next

.net ajax asp.net async authentication aws azure batch brotli c# cloud cryptography css csv deno dependency injection email entity framework exif guid gzip html images javascript jquery json linq linux mercurial mustache mvc nodejs pdf records scss serialization smtp sqlite sql server strings temporal tables typescript windows wsl xml

If you learned something today

Buy Me a Coffee

© 2022 60 Second Dev. Proudly powered by Sydney