Skip to main content

Peter Marshall

Awesome Electron

1 min read

Because I am writing an app in electron. I found this page, to be very very useful. awesome-electron

I am using bozon to get up amd running and provide the scafolding.

 this is the majic launch file that alows debugging in vs code

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Main Process",
      "type": "node",
      "request": "launch",
      "cwd": "${workspaceRoot}",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
      },
      "program": "${workspaceRoot}/main.js",
      "protocol": "legacy"
    },
    {
      "name": "Debug Renderer Process",
      "type": "chrome",
      "request": "launch",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
      },
      "runtimeArgs": [
        "${workspaceRoot}/main.js",
        "--remote-debugging-port=9222"
      ],
      "webRoot": "${workspaceRoot}"
    }
  ]
}

Peter Marshall

Now using Brave Browser https://brave.com/index/ with Qwant for search https://www.qwant.com/

Peter Marshall

"The Drive Home"

0 min read

Peter Marshall

Build A Real-Time Twitter Stream with Node and React.js ― Scotch https://scotch.io/tutorials/build-a-real-time-twitter-stream-with-node-and-react-js

Peter Marshall

Peter Marshall

Run a batch file at boot in Windows 10

1 min read

Run a batch file at boot in Windows 10

  1. Create a shortcut to the batch file.
  2. Once the shortcut has been created, right-click the file and select Cut.
  3. Press the Start button and type Run and press enter.
  4. In the Run window, type shell:startup to open the Startup folder.
  5. Once the Startup folder has been opened, click the Home tab at the top of the folder and select Paste to paste the shortcut into the folder.

Peter Marshall

1 min read

links 

https://github.com/prettydiff/wisdom/blob/master/Web_Education.md

https://github.com/prettydiff/wisdom/blob/master/Web_Interview.md

 

 

Just updated angular cli on my weight monitor 2017 B project

using the following command

npm install -g @angular/cli@latest

Peter Marshall

Angluar/cli

1 min read

Just updated angular cli on my weight monitor 2017 B project

using the following command

npm install -g @angular/cli@latest

Peter Marshall

got a thing

0 min read

Peter Marshall