Skip to content

Instantly share code, notes, and snippets.

var app = WebApplication.CreateBuilder(args).Build();
app.MapGet("/", () => "Hello World!");
app.Run();
Windows enable / disable bluetooth
net start bthserv / net stop bthserv
There might be dependent services to start (they will be stopped automatically)
for example - Bluetooth User Support Service_dd84e
Mac Os enable / disable bluetooth
brew install blueutil
blueutil -p 1 / blueutil -p 0

Keybase proof

I hereby claim:

  • I am fallenprogrammr on github.
  • I am amitpatankar (https://keybase.io/amitpatankar) on keybase.
  • I have a public key ASA7ArfbycyM3GoWpiydcTKMPHG9IiOXfxDAE-KvrnNO_go

To claim this, I am signing this object:

REM Save the contents as piped_piper.cmd.
REM syntax - piped_piper <name of the file containing the list of files to take action on> <name of the command to execute, use double quotes to include arguments>
REM example - piped_piper delete_list.txt del
FOR /f "tokens=*" %%a in ('type %1') DO %2 %%a
// main function to process the fade request //
function colorFade(id,element,start,end,steps,speed) {
var startrgb,endrgb,er,eg,eb,step,rint,gint,bint,step;
var target = document.getElementById(id);
steps = steps || 20;
speed = speed || 20;
clearInterval(target.timer);
endrgb = colorConv(end);
er = endrgb[0];
eg = endrgb[1];