AppleTV/Frontrow.md
... ...
@@ -200,7 +200,7 @@ Now have a patchstick created by atv-usb-creator
200 200
201 201
### Block Updates
202 202
203
-` sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts' `
203
+`sudo bash -c 'echo "127.0.0.1 mesu.apple.com" >> /etc/hosts'`
204 204
205 205
### Add MountShares
206 206
AppleTV/Subtitles.md
... ...
@@ -30,7 +30,7 @@ title: Subtitles
30 30
31 31
## Fix subtitle identifier
32 32
33
-* ` perl -p -i -e 's/text/sbtl/' `
33
+* `perl -p -i -e 's/text/sbtl/'`
34 34
35 35
36 36
Code/SipRedirectPatch.md
... ...
@@ -13,7 +13,7 @@ A simple SIP redirect server in perl providing:
13 13
* regex SIP URI forwarding
14 14
* udp and udp6 support
15 15
16
-Get it here (weird download method warning!) ` http://ftp.robert-scheck.de/linux/sip-redirect/ `
16
+Get it here (weird download method warning!) `http://ftp.robert-scheck.de/linux/sip-redirect/`
17 17
18 18
19 19
MediaCentre/CircumventingARccOS.md
... ...
@@ -6,13 +6,13 @@ title: CircumventingARccOS
6 6
7 7
Can be trivially circumvented with [dd_rescue][2]:
8 8
9
-` dd_rescue -A -B 2048 -v /dev/dvd DVDBACKUP.iso `
9
+`dd_rescue -A -B 2048 -v /dev/dvd DVDBACKUP.iso`
10 10
11 11
This backs up the DVD in /dev/dvd to the file DVDBACKUP.iso -A tells dd\_rescue to zero-fill bad sectors -B 2048 tells dd\_rescue to skip forward a minimum of 2k when it encounters a bad sector
12 12
13 13
Alternatively:
14 14
15
-` ddrescue -n -b 2048 /dev/dvd DVDBACKUP.iso `
15
+`ddrescue -n -b 2048 /dev/dvd DVDBACKUP.iso`
16 16
17 17
2k is the DVD sector size.
18 18
MediaCentre/UPnP.md
... ...
@@ -100,7 +100,7 @@ See [PS3][6]
100 100
* Won't play media of unknown length (streamed audio, AVI)
101 101
* Transcode to mpeg2 video can work
102 102
* Plays video/mpeg
103
- * ` <map from="vob" to="video/mpeg"/> `
103
+ * `<map from="vob" to="video/mpeg"/>`
104 104
105 105
106 106
Network/HasturHardware.md
... ...
@@ -661,7 +661,7 @@ By chance when playing with GParted Live came across a reference to Host Protect
661 661
662 662
See [https://en.wikipedia.org/wiki/Host\_protected\_area#Identification\_and\_manipulation][254]
663 663
664
-` hdparm -N /dev/sdb ` showed HPA was enabled and some sectors reserved. Also lists max sectors.
664
+`hdparm -N /dev/sdb` showed HPA was enabled and some sectors reserved. Also lists max sectors.
665 665
666 666
667 667
... ...
@@ -672,7 +672,7 @@ Test with
672 672
hdparm -N 3907029168 /dev/sda
673 673
(set the number of sectors shown by
674 674
675
-` hdparm -N /dev/sdb `.
675
+`hdparm -N /dev/sdb`.
676 676
Use the 'p' prefix to make it permanent:
677 677
678 678
hdparm -N p3907029168 /dev/sda
... ...
@@ -680,7 +680,7 @@ Use the 'p' prefix to make it permanent:
680 680
681 681
Then *power-cycle the disk*. Only one permanent setting of max-sector-size can be performed per power cycle.
682 682
683
-` hdparm -N /dev/sda ` now prints:
683
+`hdparm -N /dev/sda` now prints:
684 684
685 685
max sectors = 3907029168/3907029168, HPA is disabled
686 686
Network/HasturRaidRecovery.md
... ...
@@ -268,7 +268,7 @@ title: HasturRaidRecovery
268 268
269 269
* Open, mount and unmount XFS, xfs_repair
270 270
271
-` xfs_repair /dev/mapper/crypt-md3 `
271
+`xfs_repair /dev/mapper/crypt-md3`
272 272
273 273
274 274
... ...
@@ -283,7 +283,7 @@ title: HasturRaidRecovery
283 283
284 284
* Final mount
285 285
286
-` mount /mnt/md3 `
286
+`mount /mnt/md3`
287 287
288 288
289 289
Network/HasturSoftware.md
... ...
@@ -243,7 +243,7 @@ Hmm, can't remember what the hell I was installing here.
243 243
#
244 244
245 245
246
-Patch the typo ` make `
246
+Patch the typo `make`
247 247
248 248
WTF?? was I half asleep when I was doing this?
249 249
... ...
@@ -676,7 +676,7 @@ htpasswd -c /etc/rutorrent/htpasswd $user
676 676
* Removed from sysvinit startup all services that depend on the array being present
677 677
* mt-daapd, mediatomb, samba etc
678 678
679
-` sysv-rc-conf `
679
+`sysv-rc-conf`
680 680
681 681
682 682
... ...
@@ -694,11 +694,11 @@ htpasswd -c /etc/rutorrent/htpasswd $user
694 694
695 695
## Install Cacti
696 696
697
-` apt-get install cacti `
697
+`apt-get install cacti`
698 698
699 699
## Configure Cacti
700 700
701
-` firefox http://hastur/cacti `
701
+`firefox http://hastur/cacti`
702 702
703 703
704 704
... ...
@@ -1126,7 +1126,7 @@ USB device rules need higher priority to set group ownership to `nut`:
1126 1126
1127 1127
* Add systems group
1128 1128
1129
-` groupadd -g 3012 systems `
1129
+`groupadd -g 3012 systems`
1130 1130
1131 1131
* Apply ACL for md6-media/systems
1132 1132
Network/HasturSystemSoftware.md
... ...
@@ -913,7 +913,7 @@ Have to fix detecting the devices. May not always be sd{a..f}
913 913
* sata\_sil24 gets probed before pata\_jmicron so can't boot with RAID array attached.
914 914
* Solution: remove sata_sil24 from initramfs
915 915
916
-1. Put just the needed modules in the initramfs ` vim /etc/initramfs-tools/initramfs.conf `
916
+1. Put just the needed modules in the initramfs `vim /etc/initramfs-tools/initramfs.conf`
917 917
MODULES=dep
918 918
919 919
Network/Pixie.md
... ...
@@ -113,8 +113,8 @@ Certbot is now installed as a package.
113 113
1. Leave nginx running
114 114
2. Allow iptables 80 tcp input
115 115
3. Enable 80 port forward on router to pixie3
116
-4. Run ` sudo certbot renew --nginx `
117
-5. Check cert ` openssl x509 -text -in /etc/letsencrypt/live/ha.home.whalebarn.com/cert.pem `
116
+4. Run `sudo certbot renew --nginx`
117
+5. Check cert `openssl x509 -text -in /etc/letsencrypt/live/ha.home.whalebarn.com/cert.pem`
118 118
6. Disallow iptables 80 and disable 80 port forward
119 119
7. Restart nginx
120 120
... ...
@@ -126,8 +126,8 @@ As above except:
126 126
127 127
128 128
129
-1. Run ` sudo ~pi/src/letsencrypt/certbot-auto renew --nginx `
130
-2. Check cert ` openssl x509 -text -in /etc/letsencrypt/live/ha.home.whalebarn.com/cert.pem `
129
+1. Run `sudo ~pi/src/letsencrypt/certbot-auto renew --nginx`
130
+2. Check cert `openssl x509 -text -in /etc/letsencrypt/live/ha.home.whalebarn.com/cert.pem`
131 131
132 132
133 133
Network/RaidArray.md
... ...
@@ -26,13 +26,13 @@ Current configuration of Hastur Raid Array
26 26
27 27
# Backup Drives
28 28
29
-| sd_ |   | HD204UI 2TB | ` S2HGJ1CZ904925 ` |   |   |
29
+| sd_ |   | HD204UI 2TB | `S2HGJ1CZ904925` |   |   |
30 30
||
31
-| sd_ | backup510 | HD501LJ 500GB | ` S0MUJ1KP715582 ` |   |   |
31
+| sd_ | backup510 | HD501LJ 500GB | `S0MUJ1KP715582` |   |   |
32 32
| sd_ | backup1, off-site | HD204UI 2TB |   |   |   |
33 33
| sd_ | backup500, off-site | ?? 500GB | ?? |   |   |
34
-| sd_ | backup300, off-site, usb | ` STBV3000200 ` 3TB | ` NA4KE2M3 ` |   |
35
-| sdh | in chassis | HD203WI 2TB | ` #S1UYJ1CZ317063 `[1][7] | ` 1AN10003 ` |   |
34
+| sd_ | backup300, off-site, usb | `STBV3000200` 3TB | ` NA4KE2M3 ` |   |
35
+| sdh | in chassis | HD203WI 2TB | `#S1UYJ1CZ317063`[1][7] | ` 1AN10003 ` |   |
36 36
37 37
38 38
Network/SpeedtouchUpgrade.md
... ...
@@ -34,7 +34,7 @@ Open a terminal.
34 34
35 35
## Get Thomson MAC address
36 36
37
-` arping 192.168.1.254 `
37
+`arping 192.168.1.254`
38 38
39 39
Output should show MAC address.
40 40
... ...
@@ -44,13 +44,13 @@ Note: 192.168.1.254 is one of the two IP addresses the router is configured with
44 44
45 45
## Install bootp and tftpd
46 46
47
-` sudo apt-get install bootp tftpd-hpa `
47
+`sudo apt-get install bootp tftpd-hpa`
48 48
49 49
50 50
51 51
## Configure tftpd
52 52
53
-` sudo vim /etc/default/tftpd-hpa `
53
+`sudo vim /etc/default/tftpd-hpa`
54 54
55 55
56 56
... ...
@@ -86,7 +86,7 @@ This firmware is v7.4.1.7 (international). It includes a UI configuration option
86 86
87 87
## Configure bootp
88 88
89
-` sudo vim /etc/bootptab `
89
+`sudo vim /etc/bootptab`
90 90
91 91
Configuration is a series of colon-separated key=value pairs
92 92
Network/WRT54GL.md
... ...
@@ -27,7 +27,7 @@ title: WRT54GL
27 27
insmod ipv6 # doesn't fucking work!
28 28
29 29
30
-Insmod ipv6 fails with: ` > insmod: unresolved symbol tcp_destroy_sock `
30
+Insmod ipv6 fails with: `> insmod: unresolved symbol tcp_destroy_sock`
31 31
32 32
33 33
... ...
@@ -36,7 +36,7 @@ Insmod ipv6 fails with: ` > insmod: unresolved symbol tcp_destroy_sock `
36 36
* Upgrading OpenWRT via TFTP
37 37
* Run tftp
38 38
39
-` atftp --trace --option "timeout 10" --option "mode octet" --put --local-file openwrt-xxx-x.x-xxx.bin 192.168.1.1 `
39
+`atftp --trace --option "timeout 10" --option "mode octet" --put --local-file openwrt-xxx-x.x-xxx.bin 192.168.1.1`
40 40
41 41
* Power cycle the router
42 42
* With boot_wait already configured no need to press reset button
... ...
@@ -105,7 +105,7 @@ Insmod ipv6 fails with: ` > insmod: unresolved symbol tcp_destroy_sock `
105 105
106 106
## Iodine
107 107
108
-* ` opkg install kmod-tun iodine `
108
+* `opkg install kmod-tun iodine`
109 109
110 110
111 111
... ...
@@ -1040,7 +1040,7 @@ Adding native [IPv6][35] didn't work initially because hosts were using their fi
1040 1040
1041 1041
### Disable 6tunnel service
1042 1042
1043
-` rm /etc/rc.d/S46_6tunnel `
1043
+`rm /etc/rc.d/S46_6tunnel`
1044 1044
1045 1045
1046 1046
... ...
@@ -1379,7 +1379,7 @@ Fix OpenDNS configuration <http://forum.openwrt.org/viewtopic.php?id=12408>
1379 1379
1380 1380
* Set wl0 txpower to 25dBm
1381 1381
1382
-` iwconfig wl0 txpower 25dBm `
1382
+`iwconfig wl0 txpower 25dBm`
1383 1383
1384 1384
1385 1385
Tech/3GModemUnlocking.md
... ...
@@ -5,7 +5,7 @@ title: 3GModemUnlocking
5 5
# Common Commands
6 6
7 7
IMEI
8
-: ` AT+CGSN `
8
+: `AT+CGSN`
9 9
10 10
11 11
... ...
@@ -27,10 +27,10 @@ USB-eth dongles (e.g. E3131) have a web interface (on <http://192.168.1.1/> by d
27 27
## Commands
28 28
29 29
Unlock
30
-: ` AT^CARDLOCK="some-unlock-code" `
30
+: `AT^CARDLOCK="some-unlock-code"`
31 31
32 32
Query lock status
33
-: ` AT^CARDLOCK? `
33
+: `AT^CARDLOCK?`
34 34
35 35
36 36
... ...
@@ -45,10 +45,10 @@ Query lock status
45 45
## Commands
46 46
47 47
Unlock
48
-: ` AT+ZNCK="some-unlock-code" `
48
+: `AT+ZNCK="some-unlock-code"`
49 49
50 50
Query lock status
51
-: ` AT+ZSEC? `
51
+: `AT+ZSEC?`
52 52
53 53
54 54
Tech/CanonIxus800.md
... ...
@@ -6,7 +6,7 @@ title: CanonIxus800
6 6
7 7
## Enable
8 8
9
-* Create empty files on SD card ` touch ver.req ; touch vers.req `
9
+* Create empty files on SD card `touch ver.req ; touch vers.req`
10 10
11 11
12 12
Tech/DWM.md
... ...
@@ -41,7 +41,7 @@ env -i bin/dwmstatus.sh
41 41
42 42
[[$[Get Code]]][4]
43 43
44
-Example status: ` 2014-05-29 11:52 BST `
44
+Example status: `2014-05-29 11:52 BST`
45 45
46 46
47 47
Tech/DoogeeT5.md
... ...
@@ -83,14 +83,14 @@ Specific to MTK SoCs? Saves IMEI etc.
83 83
## Unlock Bootloader
84 84
85 85
1. Boot into fastboot (Vol+, Power)
86
-2. ` fastboot oem unlock `
86
+2. `fastboot oem unlock`
87 87
3. Confirm on phone
88 88
89 89
90 90
91 91
## Flash Custom Recovery
92 92
93
-1. Extract scatter file from TWRP custom recovery ` unrar x TWRP_Doogee_T5.rar `
93
+1. Extract scatter file from TWRP custom recovery `unrar x TWRP_Doogee_T5.rar`
94 94
2. Run SPFlash Tool and load scatterfile into Download tab
95 95
3. Select "Download Only" and recovery
96 96
4. Need to catch phone during preloader boot phase, so
Tech/FlashN770.md
... ...
@@ -18,7 +18,7 @@ Flashing the Nokia 770 internet tablet on Linux PPC.
18 18
19 19
## Flash procedure
20 20
21
-* Run flasher ` sudo flasher-3.5 -F ./SU-18_2008HACKER_4.2007.50-6_PR_F5_MR0_ARM.bin -f -R `
21
+* Run flasher `sudo flasher-3.5 -F ./SU-18_2008HACKER_4.2007.50-6_PR_F5_MR0_ARM.bin -f -R`
22 22
* Plug in USB cable
23 23
* Plug in power cable
24 24
... ...
@@ -42,7 +42,7 @@ Download and build 0xFFFF.
42 42
43 43
### Install dependencies
44 44
45
-` sudo apt-get install libusb-dev `
45
+`sudo apt-get install libusb-dev`
46 46
47 47
48 48
Tech/GnuPGKeyManagement.md
... ...
@@ -178,7 +178,7 @@ RSA keys of at least 2048 bits should be used.
178 178
* Extremely important when the private key has been compromised or lost
179 179
* Revocation certs should be backed up securely and off-site
180 180
181
-` gpg --output revoke.asc --gen-revoke my.real@email.address `
181
+`gpg --output revoke.asc --gen-revoke my.real@email.address`
182 182
183 183
184 184
Tech/JabraBluetoothHeadset.md
... ...
@@ -24,7 +24,7 @@ Add pcm entry to asoundrc:
24 24
25 25
# Test
26 26
27
-` mplayer -ao alsa:device=bluetooth test.ogg `
27
+`mplayer -ao alsa:device=bluetooth test.ogg`
28 28
29 29
30 30
Tech/JenkinsMultibranchPipelineWithGitTagDiscovery.md
... ...
@@ -10,7 +10,7 @@ Following on from [R Tyler Croy][4]'s post about [pipelines with git tags][5].
10 10
11 11
Here's how you generate a job like that in [JobDSL][6].
12 12
13
-The key is that you can't use the obvious ` branchSources / git ` API. It's a nice shortcut but it doesn't have a `traits` property.
13
+The key is that you can't use the obvious `branchSources / git` API. It's a nice shortcut but it doesn't have a `traits` property.
14 14
15 15
But` branchSources / branchSource / source / git`, however, does!
16 16
Tech/MatshitaUJ816.md
... ...
@@ -8,7 +8,7 @@ DXJ3 firmware causes problems for hald-addon-storage
8 8
9 9
# Disable HAL Polling
10 10
11
-` sudo hal-disable-polling --device /dev/hdc `
11
+`sudo hal-disable-polling --device /dev/hdc`
12 12
13 13
14 14
Tech/MotoG.md
... ...
@@ -70,7 +70,7 @@ or
70 70
71 71
# Engineering Mode
72 72
73
-` *#*#4636#*#* `
73
+`*#*#4636#*#*`
74 74
75 75
76 76
Tech/MusicTagging.md
... ...
@@ -24,7 +24,7 @@ Current Debian versions tend to be old.
24 24
## Import
25 25
26 26
1. Check the config for albumartist vs album
27
-2. ` beet import /path/to/downloaded/album `
27
+2. `beet import /path/to/downloaded/album`
28 28
29 29
30 30
Tech/ResizeLUKS.md
... ...
@@ -158,7 +158,7 @@ Sectors are 512 bytes
158 158
159 159
Use parted to extend the ext3 partition and fs
160 160
161
-` parted /dev/hda unit s resize 10 83887904 209717023 `
161
+`parted /dev/hda unit s resize 10 83887904 209717023`
162 162
163 163
164 164
... ...
@@ -166,7 +166,7 @@ Use parted to extend the ext3 partition and fs
166 166
167 167
Use parted to extend the ext3 partition and fs
168 168
169
-` parted /dev/hda unit s resize 12 209718624 209980767 `
169
+`parted /dev/hda unit s resize 12 209718624 209980767`
170 170
171 171
That was easy.
172 172
... ...
@@ -182,25 +182,25 @@ Nothing to do, the encrypted swap gets recreated on each boot. So just resize th
182 182
183 183
#### Decrypt
184 184
185
-` cryptsetup luksOpen /dev/hda14 cryptroot `
185
+`cryptsetup luksOpen /dev/hda14 cryptroot`
186 186
187 187
188 188
189 189
#### Activate volume group and logical volumes
190 190
191
-` vgchange -a y `
191
+`vgchange -a y`
192 192
193 193
194 194
195 195
#### Resize the physical volume
196 196
197
-` pvresize /dev/mapper/cryptroot `
197
+`pvresize /dev/mapper/cryptroot`
198 198
199 199
200 200
201 201
#### Enlarge the logical volumes
202 202
203
-` lvextend -L +10G vgroot/lvhome `
203
+`lvextend -L +10G vgroot/lvhome`
204 204
205 205
206 206
... ...
@@ -210,7 +210,7 @@ HFS+ can't be enlarged without a third-party utility.
210 210
211 211
So create a new partition instead. To be used as an encrypted Home partition through FileVault.
212 212
213
-` parted /dev/hda unit s mkpart 41945089 83887903 `
213
+`parted /dev/hda unit s mkpart 41945089 83887903`
214 214
215 215
Did this last because I wasn't sure if it would shift all the partition numbers off.
216 216
Tech/SourceSafeCommands.md
... ...
@@ -28,13 +28,13 @@ Formatted for Cygwin bash.
28 28
29 29
## Latest
30 30
31
-` "$SS" Get "$VSS_PROJ" "-Vl$LABEL" "-Y$USER", -R -I- `
31
+`"$SS" Get "$VSS_PROJ" "-Vl$LABEL" "-Y$USER", -R -I-`
32 32
33 33
34 34
35 35
## Label
36 36
37
-` "$SS" Get "$VSS_PROJ" "-Y$USER", -R -I- `
37
+`"$SS" Get "$VSS_PROJ" "-Y$USER", -R -I-`
38 38
39 39
40 40
... ...
@@ -42,7 +42,7 @@ Formatted for Cygwin bash.
42 42
43 43
* DATE is "DD/MM/YYYY"
44 44
45
-` "$SS" Get "$VSS_PROJ" "-Vd$DATE" "-Y$USER", -R -I- `
45
+`"$SS" Get "$VSS_PROJ" "-Vd$DATE" "-Y$USER", -R -I-`
46 46
47 47
48 48
Tech/SupMail.md
... ...
@@ -20,7 +20,7 @@ title: SupMail
20 20
21 21
# Installation
22 22
23
-` aptitude install sup-mail ` on Ubuntu Precise failed requiring 'ncurses_bin.so':
23
+`aptitude install sup-mail` on Ubuntu Precise failed requiring 'ncurses_bin.so':
24 24
25 25
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- ncurses_bin.so (LoadError)
26 26
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
... ...
@@ -69,7 +69,7 @@ This works:
69 69
70 70
## ncursesw
71 71
72
-` sudo gem install ncursesw ` attempts to install 1.9 version and fails
72
+`sudo gem install ncursesw` attempts to install 1.9 version and fails
73 73
74 74
75 75
Tech/VIMAndIAR.md
... ...
@@ -113,7 +113,7 @@ xml sel -t -m '/project/configuration' -i "contains(name,'Debug')" -m './setting
113 113
114 114
Set your compiler
115 115
116
-` :compiler iar `
116
+`:compiler iar`
117 117
118 118
vimrc project settings
119 119
Tech/WindowsProductivity.md
... ...
@@ -227,7 +227,7 @@ See <http://cygwin.com/cygwin-ug-net/setup-env.html>
227 227
# VIM
228 228
229 229
* Install gVim for windows
230
-* Register gVim OLE (as admin) ` admin|C:\opt\vim\vim73> gvim -register `
230
+* Register gVim OLE (as admin) `admin|C:\opt\vim\vim73> gvim -register`
231 231
* Three ways of launching VIM:
232 232
* gvim directly -> uses Windows HOMEDIR, vimfiles config directory
233 233
* vim in cygwin -> uses cygwin HOME, .vim
... ...
@@ -256,7 +256,7 @@ Move cygwin .vim to vimfiles and symlink it back to .vim
256 256
257 257
## gVim win32 and Cygwin
258 258
259
-Fix failure to create tmp files ` Can't open file C:/cygwin/tmp/xxxxxx.tmp `
259
+Fix failure to create tmp files `Can't open file C:/cygwin/tmp/xxxxxx.tmp`
260 260
261 261
Set shell in _vimrc
262 262
... ...
@@ -388,8 +388,8 @@ Ignore chmod changes in git-gui, etc.
388 388
## Compose in VIM
389 389
390 390
1. Install [outlookvim][39]
391
-2. Ensure VIM is OLE registered. i.e. ` gvim.exe -register `
392
- 1. Unzip to ` $vimfiles/bundle/outlookvim/ `
391
+2. Ensure VIM is OLE registered. i.e. `gvim.exe -register`
392
+ 1. Unzip to `$vimfiles/bundle/outlookvim/`
393 393
2. In Outlook 2010
394 394
1. File | Options | Trust Center (left pane) | Trust Center Settings (Button, right pane) | Macro Settings = "Notifications for all macros"
395 395
2. OK
Travel/ITAMatrix.md
... ...
@@ -55,7 +55,7 @@ A380: `/ aircraft t:380`
55 55
56 56
# By Booking Class
57 57
58
-` / f bc=i|bc=j `
58
+`/ f bc=i|bc=j`
59 59
60 60
61 61