Categories
User Help

Permanent solution for Debian XFCE missing desktop

I have Debian 9 running with XFCE desktop. However, after a while, the desktop when missing. This happened to me while using Debian 10 also. My solution was to use xfdesktop -R in terminal and restart the desktop. But I am having to run this command pretty often. Is there anyway to do a complete […]

Categories
User Help

Permanent solution for Debian XFCE missing desktop

I have Debian 9 running with XFCE desktop. However, after a while, the desktop when missing. This happened to me while using Debian 10 also. My solution was to use xfdesktop -R in terminal and restart the desktop. But I am having to run this command pretty often. Is there anyway to do a complete […]

Categories
Mastering Development

How to replace the PORT node.js to prevent idling on Heroku server? [closed]

After a while, my Heroku app is going down due to idling: State changed from up to down Idling Stopping all processes with SIGTERM Process exited with status 143 I’ve seen something about being caused by the PORT in ndoe.js (since is a node.js server on the Heroku app). However I don’t understand how can […]

Categories
Development

Azure Jenkins Pipeline: Bad Pack Header Build Failures During Azure Web App Publish Stage

Situation I’ve installed Jenkins using the solution template provided by Microsoft and created a fairly basic Jenkins pipeline job on Azure. The job currently fetches the code from my personal Git repo on GitHub, performs some simple operations, zips some build files, attempts to deploy the zip file to my WebApp. I’ve ensured that exactly […]

Categories
Development Linux

can’t connect to wireless (Connection activation failed: No suitable device found for this connection)

I am on Ubuntu 16.04.1 LTS. I have connected repeatedly to the company’s wireless. However, the wireless sporadically goes down and then, after a while, comes up again. At that point, I use nmcli c to find the UUID of the wireless to connect, and then (when I try c up $UUID) I get the […]

Categories
Development Linux

Unable to delete virtual network interface on Linux

I ran tcpdump as follows. tcpdump -I -l Then, after a while, I hit Ctrl-C to exit, and the following error appeared at the end of the output. Can’t delete monitor interface mon0 (wlp3s0: nl_wait_for_ack failed adding mon0 interface: Operation not permitted). Please delete manually. So I tried to delete the interface manually with sudo […]

Categories
Database Development Ruby

How to save variable without using database in ruby

Currently I have some code like this class WorkingWithThread def self.start_first_thread @@first_thread = Thread.new do do something repeat # infinitive loop end end def self.start_second_thread @@second_thread = Thread.new do do something repeat # infinitive loop end end def self.stop_thread begin Thread.kill @@first_thread Thread.kill @@second_thread p ‘STOP THREAD’ rescue Exception => e p ‘NO THREAD OPENING’ […]