From 744a86cb52059397d2d7ae5fa45dbc1eb743118b Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Thu, 19 Mar 2015 07:11:51 -0500 Subject: [PATCH 1/2] Updating everything --- .vim/.netrwhist | 3 +- .vim/vimwiki/vimwiki/Linux_Slackware.wiki | 2 + .vim/vimwiki/vimwiki/Notes.wiki | 7 ++++ .vim/vimwiki/vimwiki/Other.wiki | 9 ++++- .vim/vimwiki/vimwiki/Play.wiki | 1 + .vim/vimwiki/vimwiki/RR3_ModList.wiki | 3 +- .../vimwiki/Slackware_FullSystemUpgrade.wiki | 13 +++++++ .vim/vimwiki/vimwiki/Slackware_Parallels.wiki | 5 +++ .../vimwiki/Slackware_PostInstallation.wiki | 3 ++ .vim/vimwiki/vimwiki/Starbound.wiki | 11 +++++- .vim/vimwiki/vimwiki/Work.wiki | 1 - .../vimwiki/bible_topics_identity.wiki | 1 + ...k_clients_high_touch_enertech_capture.wiki | 17 +++++++++ .../vimwiki/vimwiki_html/Linux_Slackware.html | 4 ++ .vim/vimwiki/vimwiki_html/Notes.html | 19 ++++++++++ .vim/vimwiki/vimwiki_html/Other.html | 21 +++++++++-- .vim/vimwiki/vimwiki_html/Play.html | 3 ++ .vim/vimwiki/vimwiki_html/RR3_ModList.html | 11 ++++-- .../Slackware_FullSystemUpgrade.html | 13 +++++++ .../vimwiki_html/Slackware_Parallels.html | 7 ++++ .../Slackware_PostInstallation.html | 7 ++++ .vim/vimwiki/vimwiki_html/Starbound.html | 25 +++++++++++-- .vim/vimwiki/vimwiki_html/Work.html | 1 - .../vimwiki_html/bible_topics_identity.html | 3 ++ ...k_clients_high_touch_enertech_capture.html | 37 +++++++++++++++++++ 25 files changed, 210 insertions(+), 17 deletions(-) diff --git a/.vim/.netrwhist b/.vim/.netrwhist index 7771a52..d3fbe96 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -1,2 +1,3 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =0 +let g:netrw_dirhist_cnt =1 +let g:netrw_dirhist_1='/Users/brbuller/Development/pebble/pebbleface-trekv2/src' diff --git a/.vim/vimwiki/vimwiki/Linux_Slackware.wiki b/.vim/vimwiki/vimwiki/Linux_Slackware.wiki index 7d73116..c989ffe 100644 --- a/.vim/vimwiki/vimwiki/Linux_Slackware.wiki +++ b/.vim/vimwiki/vimwiki/Linux_Slackware.wiki @@ -5,3 +5,5 @@ [[Slackware_GRUB|Installing GRUB]] [[Slackware_Parallels|Parallels]] + +[[Slackware_EncFS|EncFS]] diff --git a/.vim/vimwiki/vimwiki/Notes.wiki b/.vim/vimwiki/vimwiki/Notes.wiki index ba240e0..1f6ace9 100644 --- a/.vim/vimwiki/vimwiki/Notes.wiki +++ b/.vim/vimwiki/vimwiki/Notes.wiki @@ -1,3 +1,10 @@ == Gas Stove Utility Guy == Rick Baker 990-4512 + +Taxes Homework +* Insurance disbursal for 1213 N Perry +* Closing papers for 1213 N Perry +* Insurance disbursal for 1204 W Riverside + $1890.00 +* Closing papers for 1204 W Riverside diff --git a/.vim/vimwiki/vimwiki/Other.wiki b/.vim/vimwiki/vimwiki/Other.wiki index 3356b85..80f35ad 100644 --- a/.vim/vimwiki/vimwiki/Other.wiki +++ b/.vim/vimwiki/vimwiki/Other.wiki @@ -1,6 +1,13 @@ -* Linux +===Linux=== * [[Linux_Slackware|Slackware]] +==="Jailbreaking" a Mac=== + * [[Mac_EFI_Jailbreak|Guide]] + +===Server Admin=== + * [[Server_Admin_MySQL|MySQL]] + * [[Server_Admin_Rsync|Rsync]] + * Google Hints * File Search: `-inurl:(htm|html|php) intitle:"index of" +"last modified" +"parent directory" +description +size +(wma|mp3) "Nirvana"` diff --git a/.vim/vimwiki/vimwiki/Play.wiki b/.vim/vimwiki/vimwiki/Play.wiki index 80dca5f..431ffe9 100644 --- a/.vim/vimwiki/vimwiki/Play.wiki +++ b/.vim/vimwiki/vimwiki/Play.wiki @@ -4,3 +4,4 @@ * [[Starbound]] * [[Humble Bundles]] * [[Sierra Games]] +* [[D_and_D|D&D]] diff --git a/.vim/vimwiki/vimwiki/RR3_ModList.wiki b/.vim/vimwiki/vimwiki/RR3_ModList.wiki index 9168623..bf9ff61 100644 --- a/.vim/vimwiki/vimwiki/RR3_ModList.wiki +++ b/.vim/vimwiki/vimwiki/RR3_ModList.wiki @@ -5,13 +5,14 @@ _After Installing, go back and disable "Infernal Mobs"_ * ADD Antique Atlas * ADD AE2 Stuff * ADD Archimedes' Ships -* ADD Ars Magica 2 +?* ADD Ars Magica 2 * ADD Artifacts * ADD Atum * ADD Dr. Cyano's Wonderful Wands & Wizarding * REMOVE GALACTICRAFT * ADD Thaumcraft (And all of the same color) * ADD The Erebus +* === Eternity === diff --git a/.vim/vimwiki/vimwiki/Slackware_FullSystemUpgrade.wiki b/.vim/vimwiki/vimwiki/Slackware_FullSystemUpgrade.wiki index 6d0384a..eea2101 100644 --- a/.vim/vimwiki/vimwiki/Slackware_FullSystemUpgrade.wiki +++ b/.vim/vimwiki/vimwiki/Slackware_FullSystemUpgrade.wiki @@ -6,3 +6,16 @@ To perform a full system upgrade, do this (as root): # slackpkg upgrade-all # slackpkg clean-system }}} + +{{{ (From LinuxQuestions) +To upgrade from previous versions of slackware this works + +1. Edit slackpkg.mirrors to point at mirror of version to upgrade +2. Run "slackpkg update" "slackpkg upgrade tgz" "slackpkg install tgz" +3. Edit you slackpkg.mirrors again and slackpkg.blacklist to allow updating of aaa_elflibs +4. slackpkg install-new +5. slackpkg upgrade-all +6. Depending on version upgrading from may need to edit /etc/fstab to reflect the change + in naming of ide drives from hda to sda if you have ide drives. +7. rerun liloconfig +}}} diff --git a/.vim/vimwiki/vimwiki/Slackware_Parallels.wiki b/.vim/vimwiki/vimwiki/Slackware_Parallels.wiki index 0377bb3..97a2ae7 100644 --- a/.vim/vimwiki/vimwiki/Slackware_Parallels.wiki +++ b/.vim/vimwiki/vimwiki/Slackware_Parallels.wiki @@ -2,3 +2,8 @@ before installing: `export def_sysconfdir=/etc/rc.d` + +==== Cloning a Slackware VM ==== +After cloning, remove line from +`/etc/udev/rules.d/70-persistent-net.rules` +to get networking working again diff --git a/.vim/vimwiki/vimwiki/Slackware_PostInstallation.wiki b/.vim/vimwiki/vimwiki/Slackware_PostInstallation.wiki index 8ca6d5b..452d0a1 100644 --- a/.vim/vimwiki/vimwiki/Slackware_PostInstallation.wiki +++ b/.vim/vimwiki/vimwiki/Slackware_PostInstallation.wiki @@ -1,5 +1,8 @@ === Slackware64 Post-Installation === [[Other]] >> [[Linux_Slackware|Slackware]] +* [[Linux_Slackware_Wifi|Wifi (wicd)]] + + ==== Enabling multilib support on Slackware64 ==== {{{ # SLACKVER=14.1 # Obviously, change this per the version diff --git a/.vim/vimwiki/vimwiki/Starbound.wiki b/.vim/vimwiki/vimwiki/Starbound.wiki index 8d4a131..583d68a 100644 --- a/.vim/vimwiki/vimwiki/Starbound.wiki +++ b/.vim/vimwiki/vimwiki/Starbound.wiki @@ -2,7 +2,14 @@ [[Dungeons]] +Home Island Planet +*-50, -33: Delta Beta Ara 86 I + +Good Planets +* -57, -34: Beta Evival 18 II a + * Several Dungeons +* -60, -39: Delta Erebus 530 IV + * Magma Oceans, mining + ==== External Sources ==== -[[http://www.reddit.com/r/StarboundPlanets/search?q=%5BMac%5D+NOT+%5Brequest%5D&restrict_sr=on&sort=relevance&t=all|/r/StarboundPlanets]] (Mac Search) - * [[http://www.reddit.com/r/StarboundPlanets/comments/1wr5e8/macfurious_koalagamma_tech_chest/ | Butterfly Boost?]] [[http://starbounder.org|Starbounder]] diff --git a/.vim/vimwiki/vimwiki/Work.wiki b/.vim/vimwiki/vimwiki/Work.wiki index ec6e4fd..afc60fc 100644 --- a/.vim/vimwiki/vimwiki/Work.wiki +++ b/.vim/vimwiki/vimwiki/Work.wiki @@ -7,7 +7,6 @@ * [[work_clients_fireshark|Fireshark]] * [[Work Notes]] - === Other Notes === * [[work_fillingoutaw-9|Filling out a W-9]] diff --git a/.vim/vimwiki/vimwiki/bible_topics_identity.wiki b/.vim/vimwiki/vimwiki/bible_topics_identity.wiki index a77f91e..fb1126c 100644 --- a/.vim/vimwiki/vimwiki/bible_topics_identity.wiki +++ b/.vim/vimwiki/vimwiki/bible_topics_identity.wiki @@ -1,3 +1,4 @@ === Bible Topics: Identity === * [[bible_esv_mark|Mark]] [[bible_esv_mark_7.14-23|7:14-23]] +* Galations [[bible_esv_galations_5.13-14|5:13-14]] diff --git a/.vim/vimwiki/vimwiki/work_clients_high_touch_enertech_capture.wiki b/.vim/vimwiki/vimwiki/work_clients_high_touch_enertech_capture.wiki index 4b8edcf..1c2633a 100644 --- a/.vim/vimwiki/vimwiki/work_clients_high_touch_enertech_capture.wiki +++ b/.vim/vimwiki/vimwiki/work_clients_high_touch_enertech_capture.wiki @@ -16,3 +16,20 @@ Currently all the instances are running on the same server using different datab The original source is attached. He can take a look at the server by SSHing or SFTPing into 104.131.164.134 using u: root p: enertech! Feel free to send this on to any other developers you talk to as well, but be careful not to send the password to anyone you don't trust. + +===== More Notes ===== +[[http://blog.nodejitsu.com/keep-a-nodejs-server-up-with-forever/|Forever]] +forever list +forever start +forever stop [num from list] + +===== Used Ports ===== +* 8000 capture (DO) +* 8001 piedmont (DO) +* 8002 sscgp (DO) +* 8003 bhe (DO) +* 8004 enbridge (DO) +* 8005 alabama811 (LW) +* 8006 eog (LW) + +Need to grant permissions for 'enertech' to databases diff --git a/.vim/vimwiki/vimwiki_html/Linux_Slackware.html b/.vim/vimwiki/vimwiki_html/Linux_Slackware.html index 520f0e6..9b95ad7 100644 --- a/.vim/vimwiki/vimwiki_html/Linux_Slackware.html +++ b/.vim/vimwiki/vimwiki_html/Linux_Slackware.html @@ -21,5 +21,9 @@ Parallels

+

+EncFS +

+ diff --git a/.vim/vimwiki/vimwiki_html/Notes.html b/.vim/vimwiki/vimwiki_html/Notes.html index 86ad79b..308ab93 100644 --- a/.vim/vimwiki/vimwiki_html/Notes.html +++ b/.vim/vimwiki/vimwiki_html/Notes.html @@ -13,5 +13,24 @@ Rick Baker 990-4512

+

+Taxes Homework +

+ + diff --git a/.vim/vimwiki/vimwiki_html/Other.html b/.vim/vimwiki/vimwiki_html/Other.html index bd78d5c..70db7d6 100644 --- a/.vim/vimwiki/vimwiki_html/Other.html +++ b/.vim/vimwiki/vimwiki_html/Other.html @@ -7,15 +7,28 @@ - +

+?* ADD Ars Magica 2 +

+ diff --git a/.vim/vimwiki/vimwiki_html/Slackware_FullSystemUpgrade.html b/.vim/vimwiki/vimwiki_html/Slackware_FullSystemUpgrade.html index edfe32d..d2debb1 100644 --- a/.vim/vimwiki/vimwiki_html/Slackware_FullSystemUpgrade.html +++ b/.vim/vimwiki/vimwiki_html/Slackware_FullSystemUpgrade.html @@ -18,5 +18,18 @@ To perform a full system upgrade, do this (as root): # slackpkg clean-system +
+To upgrade from previous versions of slackware this works
+
+1. Edit slackpkg.mirrors to point at mirror of version to upgrade
+2. Run "slackpkg update" "slackpkg upgrade tgz" "slackpkg install tgz"
+3. Edit you slackpkg.mirrors again and slackpkg.blacklist to allow updating of aaa_elflibs
+4. slackpkg install-new
+5. slackpkg upgrade-all
+6. Depending on version upgrading from may need to edit /etc/fstab to reflect the change 
+      in naming of ide drives from hda to sda if you have ide drives.
+7. rerun liloconfig
+
+ diff --git a/.vim/vimwiki/vimwiki_html/Slackware_Parallels.html b/.vim/vimwiki/vimwiki_html/Slackware_Parallels.html index e23dccb..1f25809 100644 --- a/.vim/vimwiki/vimwiki_html/Slackware_Parallels.html +++ b/.vim/vimwiki/vimwiki_html/Slackware_Parallels.html @@ -14,5 +14,12 @@ before installing: export def_sysconfdir=/etc/rc.d

+

Cloning a Slackware VM

+

+After cloning, remove line from +/etc/udev/rules.d/70-persistent-net.rules +to get networking working again +

+ diff --git a/.vim/vimwiki/vimwiki_html/Slackware_PostInstallation.html b/.vim/vimwiki/vimwiki_html/Slackware_PostInstallation.html index 8b588e9..37d2493 100644 --- a/.vim/vimwiki/vimwiki_html/Slackware_PostInstallation.html +++ b/.vim/vimwiki/vimwiki_html/Slackware_PostInstallation.html @@ -11,6 +11,13 @@

Other >> Slackware

+ + +

Enabling multilib support on Slackware64

 # SLACKVER=14.1 # Obviously, change this per the version
diff --git a/.vim/vimwiki/vimwiki_html/Starbound.html b/.vim/vimwiki/vimwiki_html/Starbound.html
index 66adaff..01d1216 100644
--- a/.vim/vimwiki/vimwiki_html/Starbound.html
+++ b/.vim/vimwiki/vimwiki_html/Starbound.html
@@ -15,15 +15,34 @@
 Dungeons
 

-

External Sources

-/r/StarboundPlanets (Mac Search) +Home Island Planet +*-50, -33: Delta Beta Ara 86 I +

+ +

+Good Planets

  • -Butterfly Boost? +-57, -34: Beta Evival 18 II a + +
      +
    • +Several Dungeons
    +
  • +-60, -39: Delta Erebus 530 IV + +
      +
    • +Magma Oceans, mining + +
    +
+ +

External Sources

Starbounder

diff --git a/.vim/vimwiki/vimwiki_html/Work.html b/.vim/vimwiki/vimwiki_html/Work.html index 1950592..001184f 100644 --- a/.vim/vimwiki/vimwiki_html/Work.html +++ b/.vim/vimwiki/vimwiki_html/Work.html @@ -32,7 +32,6 @@ Work Notes -

Other Notes

  • diff --git a/.vim/vimwiki/vimwiki_html/bible_topics_identity.html b/.vim/vimwiki/vimwiki_html/bible_topics_identity.html index cee57d5..74b4abe 100644 --- a/.vim/vimwiki/vimwiki_html/bible_topics_identity.html +++ b/.vim/vimwiki/vimwiki_html/bible_topics_identity.html @@ -13,6 +13,9 @@
  • Mark 7:14-23 +
  • +Galations 5:13-14 +
diff --git a/.vim/vimwiki/vimwiki_html/work_clients_high_touch_enertech_capture.html b/.vim/vimwiki/vimwiki_html/work_clients_high_touch_enertech_capture.html index 6ea5fe6..2fb7fcb 100644 --- a/.vim/vimwiki/vimwiki_html/work_clients_high_touch_enertech_capture.html +++ b/.vim/vimwiki/vimwiki_html/work_clients_high_touch_enertech_capture.html @@ -40,5 +40,42 @@ The original source is attached. He can take a look at the server by SSHing or S Feel free to send this on to any other developers you talk to as well, but be careful not to send the password to anyone you don't trust.

+
More Notes
+

+Forever +forever list +forever start <index.js> +forever stop [num from list] +

+ +
Used Ports
+
    +
  • +8000 capture (DO) + +
  • +8001 piedmont (DO) + +
  • +8002 sscgp (DO) + +
  • +8003 bhe (DO) + +
  • +8004 enbridge (DO) + +
  • +8005 alabama811 (LW) + +
  • +8006 eog (LW) + +
+ +

+Need to grant permissions for 'enertech' to databases +

+ From 62cd9e29c70be5d95ebbf26cfc4cfa576062b7cf Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Thu, 19 Mar 2015 07:12:04 -0500 Subject: [PATCH 2/2] Adding some more stuff --- .vim/bundle/webapi-vim | 1 + .vim/vimwiki/vimwiki/D_and_D.wiki | 7 ++ .../vimwiki/vimwiki/Linux_Slackware_Wifi.wiki | 2 + .vim/vimwiki/vimwiki/Mac_EFI_Jailbreak.wiki | 39 ++++++++ .vim/vimwiki/vimwiki/Server_Admin_MySQL.wiki | 6 ++ .vim/vimwiki/vimwiki/Server_Admin_Rsync.wiki | 29 ++++++ .vim/vimwiki/vimwiki/Slackware_EncFS.wiki | 6 ++ .../vimwiki/bible_esv_galations_5.13-14.wiki | 3 + .vim/vimwiki/vimwiki_html/D_and_D.html | 21 ++++ .../vimwiki_html/Linux_Slackware_Wifi.html | 16 ++++ .../vimwiki_html/Mac_EFI_Jailbreak.html | 95 +++++++++++++++++++ .../vimwiki_html/Server_Admin_MySQL.html | 21 ++++ .../vimwiki_html/Server_Admin_Rsync.html | 49 ++++++++++ .../vimwiki/vimwiki_html/Slackware_EncFS.html | 21 ++++ .../bible_esv_galations_5.13-14.html | 17 ++++ 15 files changed, 333 insertions(+) create mode 160000 .vim/bundle/webapi-vim create mode 100644 .vim/vimwiki/vimwiki/D_and_D.wiki create mode 100644 .vim/vimwiki/vimwiki/Linux_Slackware_Wifi.wiki create mode 100644 .vim/vimwiki/vimwiki/Mac_EFI_Jailbreak.wiki create mode 100644 .vim/vimwiki/vimwiki/Server_Admin_MySQL.wiki create mode 100644 .vim/vimwiki/vimwiki/Server_Admin_Rsync.wiki create mode 100644 .vim/vimwiki/vimwiki/Slackware_EncFS.wiki create mode 100644 .vim/vimwiki/vimwiki/bible_esv_galations_5.13-14.wiki create mode 100644 .vim/vimwiki/vimwiki_html/D_and_D.html create mode 100644 .vim/vimwiki/vimwiki_html/Linux_Slackware_Wifi.html create mode 100644 .vim/vimwiki/vimwiki_html/Mac_EFI_Jailbreak.html create mode 100644 .vim/vimwiki/vimwiki_html/Server_Admin_MySQL.html create mode 100644 .vim/vimwiki/vimwiki_html/Server_Admin_Rsync.html create mode 100644 .vim/vimwiki/vimwiki_html/Slackware_EncFS.html create mode 100644 .vim/vimwiki/vimwiki_html/bible_esv_galations_5.13-14.html diff --git a/.vim/bundle/webapi-vim b/.vim/bundle/webapi-vim new file mode 160000 index 0000000..a7789ab --- /dev/null +++ b/.vim/bundle/webapi-vim @@ -0,0 +1 @@ +Subproject commit a7789abffe936db56e3152e23733847f94755753 diff --git a/.vim/vimwiki/vimwiki/D_and_D.wiki b/.vim/vimwiki/vimwiki/D_and_D.wiki new file mode 100644 index 0000000..7159c4d --- /dev/null +++ b/.vim/vimwiki/vimwiki/D_and_D.wiki @@ -0,0 +1,7 @@ + +Loots from 3/2/2015 +800 SP +150 GP +4 Goblets with Moonstones +Misty Step Scroll +Lightning Bolt Scroll diff --git a/.vim/vimwiki/vimwiki/Linux_Slackware_Wifi.wiki b/.vim/vimwiki/vimwiki/Linux_Slackware_Wifi.wiki new file mode 100644 index 0000000..e39fe0a --- /dev/null +++ b/.vim/vimwiki/vimwiki/Linux_Slackware_Wifi.wiki @@ -0,0 +1,2 @@ +==== Slackware Wifi (wicd) ==== +Install wicd package from the `extras` folder of the cd diff --git a/.vim/vimwiki/vimwiki/Mac_EFI_Jailbreak.wiki b/.vim/vimwiki/vimwiki/Mac_EFI_Jailbreak.wiki new file mode 100644 index 0000000..d2b3ddf --- /dev/null +++ b/.vim/vimwiki/vimwiki/Mac_EFI_Jailbreak.wiki @@ -0,0 +1,39 @@ +==="Jailbreaking" a Mac=== + +/EFI/boot/refind_ia32.efi ?> /EFI/boot/bootia32.efi +==== Steps ==== +* Boot into a live CD +* Install rEFInd +* Setup system like normal + +====Requirements==== +* [[http://www.mediafire.com/?dpgorsfdkf6nn2c | ISO2USB EFI Booter for Mac]] +* A Live CD with loopback support + * xubuntu works well + +====Installation==== +* Ensure the ISO file will fit on your USB flash drive. Backup important content from your drive — it will be erased. +* Make one large partition on your USB flash drive, using e.g. `(g)parted`, `(c)gdisk`, or `(c)fdisk`. + You can use either a GUID partition table (GPT — unless you’re using (c)fdisk) or an MSDOS/MBR partition table, both will work. Use “Microsoft basic data” (code 0700) as the partition type. +* Format the partition with FAT32. (g)parted can do this. Alternatively, you can type + `mkfs.vfat -F 32 /dev/sdX1` from the command line (after replacing the “X” with the correct letter for your USB drive). + Formatting with HFS+, as some sources indicate, didn’t work for me. +* Mount your drive and cd into it (as root: `# mkdir /mnt/usb && mount /dev/sdX1 /mnt/usb && cd /mnt/usb`). +* Create the directory `efi/boot/` in the current directory (`# mkdir -p efi/boot/`) — + (i.e., the full path of this directory is `/mnt/usb/efi/boot/` if your USB drive is mounted in `/mnt/usb/`). +* Copy either `bootIA32.efi` or `bootX64.efi` to the new directory (depending on whether you have a 32 or 64-bit system), + and rename the file to boot.efi. + * Old White Macbook needs `bootIA32.efi` +* Copy the downloaded LiveCD image to the new directory, and rename it to `boot.iso`. + +That’s all. The USB drive now contains two directories and two files, and should boot. +Make sure you used the file and directory names as provided here. For clarity, all that is +now on your USB drive is (relative to the root directory of that drive): +`/efi/boot/boot.iso` +`/efi/boot/boot.efi` + +In order to install Linux, I booted Kubuntu using the method described above, installed rEFInd +from there, which then allowed me to boot from a normal Live USB flash drive. I ended up installing +Arch Linux. The details and non-trivialities of the Linux installation will be described in a future +post. I didn’t manage to install Linux without installing rEFInd though, so in retrospect I might as +well have installed rEFInd on my new disc, mounted as an external disc to my other Linux computer. diff --git a/.vim/vimwiki/vimwiki/Server_Admin_MySQL.wiki b/.vim/vimwiki/vimwiki/Server_Admin_MySQL.wiki new file mode 100644 index 0000000..ab9db5b --- /dev/null +++ b/.vim/vimwiki/vimwiki/Server_Admin_MySQL.wiki @@ -0,0 +1,6 @@ +=== Grant User Privileges === +`GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON database. TO ''@'';` + +=== View User Privileges === +`SHOW GRANTS FOR ''@'';` + diff --git a/.vim/vimwiki/vimwiki/Server_Admin_Rsync.wiki b/.vim/vimwiki/vimwiki/Server_Admin_Rsync.wiki new file mode 100644 index 0000000..58d6f5a --- /dev/null +++ b/.vim/vimwiki/vimwiki/Server_Admin_Rsync.wiki @@ -0,0 +1,29 @@ +==== RSync ==== +Basic Rsync Backup +`rsync -av source/ destination/` +To/From Remote +`rsync -av -e ssh source/ username@remotemachine:/path/to/destination/` + +=====Trailing Slashes _Do_ matter... Sometimes===== +Rsync cares about trailing slashes on the *source* argument. +For example, let `a` and `b` be two directories with the file `foo` initially in `a`: +`rsync -a a b` +produces `b/a/foo` whereas +`rsync -a a/ b` +produces `b/foo`. A trailing slash on the destination has no effect. + +=====Incremental Backups using Rsync===== +Needs rsync v.2.5.7 or later +{{{ +rm -rf backup_folder.1 +mv backup_folder.0 backup_folder.1 # Obviously, can have as many backups copies as you want +rsync -a --delete --link-dest=../backup_folder.1 source_directory/ backup_folder.0/ +}}} +If running an older rsync: +{{{ +mv backup_folder.1 backup_folder.tmp +mv backup_folder.0 backup_folder.1 +mv backup_folder.tmp backup_folder.0 +cp -al backup_folder.1/. backup_folder.0 +rsync -a --delete source_directory/ backup_folder.0/ +}}} diff --git a/.vim/vimwiki/vimwiki/Slackware_EncFS.wiki b/.vim/vimwiki/vimwiki/Slackware_EncFS.wiki new file mode 100644 index 0000000..293a4a4 --- /dev/null +++ b/.vim/vimwiki/vimwiki/Slackware_EncFS.wiki @@ -0,0 +1,6 @@ +Mount: +encfs + +Unmount: +fusermount -u + diff --git a/.vim/vimwiki/vimwiki/bible_esv_galations_5.13-14.wiki b/.vim/vimwiki/vimwiki/bible_esv_galations_5.13-14.wiki new file mode 100644 index 0000000..d4a6360 --- /dev/null +++ b/.vim/vimwiki/vimwiki/bible_esv_galations_5.13-14.wiki @@ -0,0 +1,3 @@ +13 For you were called to freedom, brothers. Only do not use your freedom as an opportunity for the flesh, but through love serve one another. +14 For the whole law s fulfilled in one word: "You shall love your neighbor as yourself." +15 But if you bite and devour one another, watch out that you are not consumed by one another. diff --git a/.vim/vimwiki/vimwiki_html/D_and_D.html b/.vim/vimwiki/vimwiki_html/D_and_D.html new file mode 100644 index 0000000..667b50f --- /dev/null +++ b/.vim/vimwiki/vimwiki_html/D_and_D.html @@ -0,0 +1,21 @@ + + + + +D_and_D + + + + + +

+Loots from 3/2/2015 +800 SP +150 GP +4 Goblets with Moonstones +Misty Step Scroll +Lightning Bolt Scroll +

+ + + diff --git a/.vim/vimwiki/vimwiki_html/Linux_Slackware_Wifi.html b/.vim/vimwiki/vimwiki_html/Linux_Slackware_Wifi.html new file mode 100644 index 0000000..857ae38 --- /dev/null +++ b/.vim/vimwiki/vimwiki_html/Linux_Slackware_Wifi.html @@ -0,0 +1,16 @@ + + + + +Linux_Slackware_Wifi + + + + +

Slackware Wifi (wicd)

+

+Install wicd package from the extras folder of the cd +

+ + + diff --git a/.vim/vimwiki/vimwiki_html/Mac_EFI_Jailbreak.html b/.vim/vimwiki/vimwiki_html/Mac_EFI_Jailbreak.html new file mode 100644 index 0000000..80a91f9 --- /dev/null +++ b/.vim/vimwiki/vimwiki_html/Mac_EFI_Jailbreak.html @@ -0,0 +1,95 @@ + + + + +Mac_EFI_Jailbreak + + + + +

"Jailbreaking" a Mac

+ +

+/EFI/boot/refind_ia32.efi ?> /EFI/boot/bootia32.efi +

+

Steps

+
    +
  • +Boot into a live CD + +
  • +Install rEFInd + +
  • +Setup system like normal + +
+ +

Requirements

+ + +

Installation

+
    +
  • +Ensure the ISO file will fit on your USB flash drive. Backup important content from your drive — it will be erased. + +
  • +Make one large partition on your USB flash drive, using e.g. (g)parted, (c)gdisk, or (c)fdisk. + You can use either a GUID partition table (GPT — unless you’re using (c)fdisk) or an MSDOS/MBR partition table, both will work. Use “Microsoft basic data” (code 0700) as the partition type. + +
  • +Format the partition with FAT32. (g)parted can do this. Alternatively, you can type + mkfs.vfat -F 32 /dev/sdX1 from the command line (after replacing the “X” with the correct letter for your USB drive). + Formatting with HFS+, as some sources indicate, didn’t work for me. + +
  • +Mount your drive and cd into it (as root: # mkdir /mnt/usb && mount /dev/sdX1 /mnt/usb && cd /mnt/usb). + +
  • +Create the directory efi/boot/ in the current directory (# mkdir -p efi/boot/) — + (i.e., the full path of this directory is /mnt/usb/efi/boot/ if your USB drive is mounted in /mnt/usb/). + +
  • +Copy either bootIA32.efi or bootX64.efi to the new directory (depending on whether you have a 32 or 64-bit system), + and rename the file to boot.efi. + +
      +
    • +Old White Macbook needs bootIA32.efi + +
    +
  • +Copy the downloaded LiveCD image to the new directory, and rename it to boot.iso. + +
+ +

+That’s all. The USB drive now contains two directories and two files, and should boot. +Make sure you used the file and directory names as provided here. For clarity, all that is +now on your USB drive is (relative to the root directory of that drive): +/efi/boot/boot.iso +/efi/boot/boot.efi +

+ +

+In order to install Linux, I booted Kubuntu using the method described above, installed rEFInd +from there, which then allowed me to boot from a normal Live USB flash drive. I ended up installing +Arch Linux. The details and non-trivialities of the Linux installation will be described in a future +post. I didn’t manage to install Linux without installing rEFInd though, so in retrospect I might as +well have installed rEFInd on my new disc, mounted as an external disc to my other Linux computer. +

+ + + diff --git a/.vim/vimwiki/vimwiki_html/Server_Admin_MySQL.html b/.vim/vimwiki/vimwiki_html/Server_Admin_MySQL.html new file mode 100644 index 0000000..5ac7830 --- /dev/null +++ b/.vim/vimwiki/vimwiki_html/Server_Admin_MySQL.html @@ -0,0 +1,21 @@ + + + + +Server_Admin_MySQL + + + + +

Grant User Privileges

+

+GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON database.<table|*> TO '<user>'@'<localhost|domain>'; +

+ +

View User Privileges

+

+SHOW GRANTS FOR '<user>'@'<localhost|domain>'; +

+ + + diff --git a/.vim/vimwiki/vimwiki_html/Server_Admin_Rsync.html b/.vim/vimwiki/vimwiki_html/Server_Admin_Rsync.html new file mode 100644 index 0000000..5c6d5cf --- /dev/null +++ b/.vim/vimwiki/vimwiki_html/Server_Admin_Rsync.html @@ -0,0 +1,49 @@ + + + + +Server_Admin_Rsync + + + + +

RSync

+

+Basic Rsync Backup +rsync -av source/ destination/ +To/From Remote +rsync -av -e ssh source/ username@remotemachine:/path/to/destination/ +

+ +
Trailing Slashes Do matter... Sometimes
+

+Rsync cares about trailing slashes on the source argument. +For example, let a and b be two directories with the file foo initially in a: +rsync -a a b +produces b/a/foo whereas +rsync -a a/ b +produces b/foo. A trailing slash on the destination has no effect. +

+ +
Incremental Backups using Rsync
+

+Needs rsync v.2.5.7 or later +

+
+rm -rf backup_folder.1
+mv backup_folder.0 backup_folder.1 # Obviously, can have as many backups copies as you want
+rsync -a --delete --link-dest=../backup_folder.1 source_directory/ backup_folder.0/
+
+

+If running an older rsync: +

+
+mv backup_folder.1 backup_folder.tmp
+mv backup_folder.0 backup_folder.1
+mv backup_folder.tmp backup_folder.0
+cp -al backup_folder.1/. backup_folder.0
+rsync -a --delete source_directory/ backup_folder.0/
+
+ + + diff --git a/.vim/vimwiki/vimwiki_html/Slackware_EncFS.html b/.vim/vimwiki/vimwiki_html/Slackware_EncFS.html new file mode 100644 index 0000000..ce84773 --- /dev/null +++ b/.vim/vimwiki/vimwiki_html/Slackware_EncFS.html @@ -0,0 +1,21 @@ + + + + +Slackware_EncFS + + + + +

+Mount: +encfs <encoded-dir> <mount-pount> +

+ +

+Unmount: +fusermount -u <mount-point> +

+ + + diff --git a/.vim/vimwiki/vimwiki_html/bible_esv_galations_5.13-14.html b/.vim/vimwiki/vimwiki_html/bible_esv_galations_5.13-14.html new file mode 100644 index 0000000..2f96d6d --- /dev/null +++ b/.vim/vimwiki/vimwiki_html/bible_esv_galations_5.13-14.html @@ -0,0 +1,17 @@ + + + + +bible_esv_galations_5.13-14 + + + + +

+13 For you were called to freedom, brothers. Only do not use your freedom as an opportunity for the flesh, but through love serve one another. +14 For the whole law s fulfilled in one word: "You shall love your neighbor as yourself." +15 But if you bite and devour one another, watch out that you are not consumed by one another. +

+ + +