I followed: https://etiennemueller.github.io/razer-blade-data-science/
Basically to fix the suspend loop with:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash button.lid_init_state=open"
I followed: https://etiennemueller.github.io/razer-blade-data-science/
Basically to fix the suspend loop with:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash button.lid_init_state=open"
This is a PoC for running PM2 as a Windows Service under the Local Service account instead of the Local System account.
pm2
or pm2-windows-service
installed yet. (The Powershell script will run npm i
)
pm2-service-uninstall
before running this scriptnpm
and npm-cache
global folders should be somewhere accessible to NT AUTHORITY\LocalService
.
import mongooseResource from '../lib/mongoose-resource'; | |
import Foo from '../models/foo'; // a mongoose Model | |
export default mongooseResource('foo', Foo); |
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
function download(fileUrl, apiPath, callback) { | |
var url = require('url'), | |
http = require('http'), | |
p = url.parse(fileUrl), | |
timeout = 10000; | |
var file = fs.createWriteStream(apiPath); | |
var timeout_wrapper = function( req ) { | |
return function() { |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
Install Package Control for easy package management.
Ctrl+`