Commit 5116a80a authored by Danesh Manoharan's avatar Danesh Manoharan
Browse files

sed -i '' -E 's/<br \/>/\n/g'

sed -i '' -E 's/<pre.*>/\`\`\`\n/g' *.md
parent f7cdfe41
Pipeline #480133339 passed with stages
in 1 minute and 32 seconds
......@@ -10,5 +10,6 @@ For some reason Anjuta decided to overwrite Nautilus for all file operations on
Fortunately, the fix is easy, just run the command shown below. This will default file operations back to Nautilus.
<pre class="theme:terminal lang:default decode:true">xdg-mime default org.gnome.Nautilus.desktop inode/directory
```
xdg-mime default org.gnome.Nautilus.desktop inode/directory
```
\ No newline at end of file
......@@ -8,19 +8,22 @@ dsq_thread_id:
---
Append either line below to the end of your .bashrc file, start a new bash terminal and history should now be turned off.
<pre class="toolbar:2 lang:default decode:true">shopt -u -o history
```
shopt -u -o history
```
<span style="line-height: 1.5;">or</span>
<pre class="toolbar:2 lang:default decode:true">set +o history
```
set +o history
```
<span style="line-height: 1.5;">Don't forget </span><span style="line-height: 1.5;">clear</span><span style="line-height: 1.5;"> out the old history file too.</span>
<pre class="toolbar:2 lang:default decode:true"># history -c;
```
# history -c;
```
\ No newline at end of file
......@@ -10,7 +10,8 @@ Installed redshift on my Arch box today but it kept failing with "Geolocation di
Add the lines below to the /etc/geoclue/geoclue.conf file and restart gnome.
<pre class="">[redshift]
```
[redshift]
allowed=true
system=false
users=
......
......@@ -8,17 +8,20 @@ dsq_thread_id:
---
Review your current cnfs setup.
<pre class="theme:shell-default lang:sh decode:true">mmlscluster --cnfs
```
mmlscluster --cnfs
```
Delete the nodes returned from the previous command from your cnfs configuration.
<pre class="theme:shell-default lang:sh decode:true">mmchnode --cnfs-interface=DELETE -N foonsd1,foonsd2
```
mmchnode --cnfs-interface=DELETE -N foonsd1,foonsd2
```
Verify cnfs has been disabled.
<pre class="theme:shell-default lang:sh decode:true">mmlscluster --cnfs
```
mmlscluster --cnfs
```
\ No newline at end of file
......@@ -14,7 +14,8 @@ It's not in the default repo so you'll need the AUR to install it. [ArchWiki][2]
Once you have your AUR setup, pull the package down and build it.
<pre class="lang:sh decode:true ">~>$ yaourt -Sy franz-bin
```
$ yaourt -Sy franz-bin
```
[1]: http://meetfranz.com/
......
......@@ -12,13 +12,15 @@ Edit the /etc/systemd/logind.conf file
Change the lines below.
<pre class="lang:sh decode:true">HandleLidSwitch=ignore
```
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
```
restart the logind service.
<pre class="lang:sh decode:true">#systemctl restart systemd-logind.service
```
#systemctl restart systemd-logind.service
```
\ No newline at end of file
......@@ -6,7 +6,8 @@ date: 2018-08-14T17:48:08+00:00
---
Steps to get the latest version of Ansible installed on Ubuntu or any Ubuntu variant. In my case Kubuntu 18.04.1.
<pre class="nums:false tab-convert:true lang:sh decode:true ">danesh@hades:~$ sudo apt-get update
```
danesh@hades:~$ sudo apt-get update
danesh@hades:~$ sudo apt-get install software-properties-common
danesh@hades:~$ sudo apt-add-repository ppa:ansible/ansible
danesh@hades:~$ sudo apt-get update
......
......@@ -12,12 +12,14 @@ In my case, /etc/apt/sources.list.d/virtualbox.list
Change
<pre class="toolbar:2 nums:false lang:default decode:true">deb https://download.virtualbox.org/virtualbox/debian bionic contrib
```
deb https://download.virtualbox.org/virtualbox/debian bionic contrib
```
to
<pre class="toolbar:2 nums:false lang:default decode:true">deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib
```
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib
```
\ No newline at end of file
......@@ -8,13 +8,15 @@ Installed kernel 4.18 on my Ubuntu recently, since then snap packages broke with
It has something to do with the AppArmor exception rule for ptrace for what I could gather.
<pre class="toolbar-overlay:false nums:false lang:sh decode:true ">danesh@hades:$ spotify
```
danesh@hades:$ spotify
cannot perform readlinkat() on the mount namespace file descriptor of the init process: Permission denied
```
The workaround for now is to upgrade your snap core to the beta channel.
<pre class="nums:false lang:sh decode:true ">danesh@hades:~/kernel$ sudo snap refresh --channel=beta core
```
danesh@hades:~/kernel$ sudo snap refresh --channel=beta core
```
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment