As recommended by JavaScript Playground.
add:
{
"preferGlobal":true,
"bin":{
{ | |
// Use IntelliSense to learn about possible Node.js debug attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Debug Jest", |
As recommended by JavaScript Playground.
add:
{
"preferGlobal":true,
"bin":{
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD] | |
@="Open with CMD" | |
"Icon"="C:\\WINDOWS\\system32\\cmd.exe" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD\command] | |
@="cmd.exe /k cd %V" | |
[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD] |
.chars.count
: block receives each char and method will return the number of truthy results.split
.each_char
: block called for each char with the current char as the argument.with_index
: when used with .each_char
, will add a second argument, index, passed to the block.even?
/.odd?
.abs
.floor
, .ceil
, .round
I really wanted a way to create resized images on the fly just by specifying the size of the image in the request URL. So, if I had the image kitty.jpg
but wanted to resize it to be 100px by 100px, would simply request kitty-100x100.jpg
, the server would realize it doesn't exists and create it, and the resized image would be returned to me.
I was following this guide written by John Pignata. It is an interesting solution and fit my needs but I did run into some caveats. Below are some of the gotchas I encountered.
{ | |
"configurations": [ | |
{ | |
"name": "Win32", | |
"includePath": [ | |
"C:\\Users\\jb_su\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.4\\**", | |
"C:\\Users\\jb_su\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\**" | |
], | |
"forcedInclude": [ | |
"C:\\Users\\jb_su\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.4\\cores\\esp32\\Arduino.h" |
{ | |
"data": { | |
"name": "Joshua" | |
}, | |
"event": "my-event", | |
"recipient": "josh", | |
"override": { | |
"firebase-fcm": { | |
"body": { | |
"data": { |