server{
listen 443 ssl;
server_name surya.in;
ssl_certificate /etc/nginx/sslcerts/surya.in.crt;
ssl_certificate_key /etc/nginx/sslcerts/surya.in.rsa;
root /var/www/my-react-app/build;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//log | |
const log4js = require("log4js"); | |
const path = require("path"); | |
log4js.configure({ | |
appenders: { | |
info: { | |
type: "dateFile", | |
filename: path.join(__dirname, "../logs", "info.log") | |
}, | |
errors: { |
- Make sure
PulseAudio
is installed - Search for "Startup applications" in applications (click on windows menu and search)
- click Add item
- In Command input -
pactl set-default-source 'alsa_input.usb-0c76_USB_PnP_Audio_Device-00.mono-fallback'
[refer below for how to get the name of the mic] - Click save
- It should run automatically from next startup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.atpeaz.com/disable-zscaler-temporarily-on-your-mac/ | |
# disable | |
sudo launchctl unload /Library/LaunchDaemons/com.zscaler.service.plist && sudo launchctl unload /Library/LaunchDaemons/com.zscaler.tunnel.plist | |
# Reenable | |
sudo launchctl load /Library/LaunchDaemons/com.zscaler.service.plist && sudo launchctl load /Library/LaunchDaemons/com.zscaler.tunnel.plist |
OlderNewer