Archive for the ‘Knowledge Base’ Category

To resolve this issue, first list all running jobs

salt-run jobs.active

https://docs.saltstack.com/en/latest/topics/jobs/

Kill the job

# kill all jobs
salt '*' saltutil.kill_all_jobs

# kill the job with id
salt '*' saltutil.kill_job <job id>

https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.saltutil.html#module-salt.modules.saltutil

Advertisements

Turn off secure boot in your BIOS.

and then

sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox

Windows: hold Shift while right clicking in the folder

MAC OS X: System Preferences > Keyboard > Shortcuts > Services: Enable New Terminal at Folder.

Tasks: setTimeout, setInterval, setImmediate, I/O, UI rendering

MicroTasks: Promises, Object.observe, MutationObserver

MicroTasks generate from the current task will be executed before the next task.

https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/

How to check reboots history in Linux

Posted: October 7, 2016 in Linux

last reboot

To create virtual host in Apache is very easy. In 2.4, it becomes easier because Apache will automatically process those and NameVirtualHost won’t have any effect.

I assume you have read this nice guide, https://httpd.apache.org/docs/2.4/vhosts/examples.html

If it’s still not working, set your SELinux permissive.

I tried git fsck and git gc without success. The one working solution is

$git gc
$git pull --rebase

After resolving any conflicts and finishing the rebase, then you can push again.