Main Page: Difference between revisions

From Stormsail
Jump to navigation Jump to search
Admin (talk | contribs)
No edit summary
Admin (talk | contribs)
No edit summary
 
(213 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Setting up a VPN proxy server]]
https://www.proxmox.com/en/proxmox-ve
 
OpenWrt Notes:
 
<nowiki>
root@openwrtac1:/etc# cat smcroute.conf
phyint br-lan enable mrdisc
phyint wlan0 enable mrdisc
 
mgroup from wlan0 group 239.255.255.250
mgroup from br-lan group 239.255.255.250
 
mroute from wlan0 group 239.255.255.250 to br-lan
mroute from br-lan group 239.255.255.250 to wlan0</nowiki>
 
== Proxmox ==
https://tteck.github.io/Proxmox/
https://forum.proxmox.com/threads/proxmox-6-0-renames-network-card-and-can-not-use-it.56690/
 
== OpenSense ==
https://nguvu.org/pfsense/pfsense-baseline-setup/
https://medium.com/@CircuitGuy/home-network-virtualized-pfsense-install-f9f3279db446
https://netosec.com/protect-home-network/
https://homenetworkguy.com/how-to/configure-vlans-opnsense/#:~:text=To%20configure%20VLANs%2C%20you%20must,where%20the%20VLAN%20should%20reside.
https://openwrt.org/docs/guide-user/network/wifi/dumbap
https://sahlitech.com/opnsense-setup-unbound-dns/
 
== Security ==
https://www.kiddle.co/kidssafesearch.php
http://blog.dushin.net/2019/08/installing-elk-on-freenas-jail/
https://blog.barclayhowe.com/your-home-network-is-under-attack-5000-times-a-day/
https://balagetech.com/monitor-network-traffic-openwrt-syslog-ng/
https://chris.scutcher.uk/tips-and-hints-for-setting-up-nfsv4-with-kerberos-with-freeipa-and-freenas.html
https://hakin9.org/dsiem-security-event-correlation-engine-for-elk-stack/
 
== Minecraft ==
http://www.9minecraft.net/jurassic-world-map/
 
== Coding ==
https://codewithchris.com/tools/
 
== ELK ==
https://fritshoogland.wordpress.com/2017/01/21/auditing-oracle-database-stopping-and-starting-using-the-elk-stack/
http://carlgira.blogspot.com/2017/09/logstash-configuration-for-weblogic.html
https://www.haptik.ai/tech/audit-user-activity/
https://www.scaleway.com/en/docs/setup-elastic-stack-on-scaleway/
 
== Drums ==
https://www.songsterr.com/a/wsa/faith-no-more-midlife-crisis-drum-tab-s7457t5
https://www.youtube.com/watch?v=iBbueVjUpJA&list=PLM7Pc_vFBYAkHrtA0o_aE3eH-pqEyBQM3&index=50
https://drumbit.app/
https://www.onlinedrummer.com/drum-lessons/fun-cool-beginner-to-intermediate-drum-beats/
https://www.youtube.com/watch?v=Xeu2qn66v8M
https://www.youtube.com/channel/UC1YNypukkwTKUwugN1Pxpjg
https://www.youtube.com/watch?v=UxaTRLfgsAI
https://www.onlinedrummer.com/shop/rockin-linear-triplet-fills/
https://www.youtube.com/watch?v=NIcBZqsfQfI&feature=emb_rel_pause
https://www.jellynote.com/en/sheet-music/faith-no-more/midlife-crisis
https://www.vdrums.com/forum/advanced/v-expressions-custom-kits/1183446-td-25-your-custom-made-kit/page3
https://www.michaelschackmusic.com/shop.html#!/products/michael-schacks-td-25-artist-kits
 
WAV file
Sampling frequency 44.1 kHz
Bit rate 8, 16, 24 bits
 
MP3 file
Sampling frequency 44.1 kHz
Bit rate 64 kbps - –320 kbps
 
afconvert -d LEI16 -f 'WAVE' file.mp3
 
ffmpeg -i file.mp3 -ar 44100 file.wav
 
for i in *.mp3; do baseFilename=`basename "${i}" .mp3` && afconvert -f WAVE -d LEI16@44100 "${i}" "${baseFilename}.wav"; don
 
https://github.com/ritiek/spotify-downloader
== Networking ==
https://www.opendns.com/setupguide/#familyshield
https://openwrt.org/toh/bt/homehub_v5a
https://forum.archive.openwrt.org/viewtopic.php?id=64511
https://spotlightcybersecurity.com/disable-ipv6-on-openwrt.html
https://www.kali.org/docs/base-images/kali-linux-network-pxe-install/
https://openwrt.org/docs/guide-user/services/nas/nfs_configuration
https://forum.openwrt.org/t/pxe-legacy-efi-co-existence/23856/2
https://docs.openvz.org/openvz_installation_using_pxe_guide.webhelp/_kickstart_file_example_for_installing_on_efi_based_systems.html
https://wiki.xdroop.com/space/RedHat/kickstart/Automatic+Drive+Handling
https://musteresel.github.io/posts/2018/04/install-windows-over-pxe-with-dnsmasq-pxelinux-winpe.html
https://www.centlinux.com/2018/11/configure-centos-7-pxe-server-install-windows-10.html
 
== Monitoring ==
https://blog.christophersmart.com/2019/09/09/monitoring-openwrt-with-collectd-influxdb-and-grafana/
https://www.linode.com/docs/uptime/monitoring/install-graphite-and-grafana/
https://medium.com/@cristianpb/system-monitoring-with-grafana-influxdb-et-collectd-7827969e1fe
https://github.com/justlaputa/collectd-influxdb-grafana-docker
https://blog.laputa.io/try-influxdb-and-grafana-by-docker-6b4d50c6a446
 
== RAID PCI Card ==
https://www.ibm.com/support/pages/critical-update-serveraid-br10i-sas-controller-bios-and-firmware-v275-microsoft-windows-ibm-system-x
https://www.ibm.com/support/pages/node/811854
https://www.ibm.com/support/pages/node/830752
https://www.broadcom.com/support/download-search?pg=Legacy+Products&pf=Legacy+Host+Bus+Adapters&pn=LSI+SAS+3081E-R&pa=&po=&dk=&pl=
 
== PfSense Thin Client ==
https://forum.netgate.com/topic/122623/video-corruption-during-or-after-install-of-2-4-x-try-this
 
== Christmas Lights Stuff ==
http://doityourselfchristmas.com/forums/showthread.php?45735-How-to-install-GLEDIATOR&s=2f043ed3dd8c1b25d7c4291685e50d68&goto=nextnewest
http://www.doityourselfchristmas.com/wiki/index.php?title=Vixen_How-To%27s
http://www.live-leds.de/user-jinxscripts/
https://create.arduino.cc/projecthub/nenitoshouse/how-to-configure-neopixels-using-vixen-lights-and-arduino-527631
https://github.com/pixelmatix/aurora/wiki/Streaming
https://www.youtube.com/watch?v=nUQ-WkglyE0
http://livinglightshows.com/product/pixel-megaflake-34-snowflake/
 
== Docker ==
https://rzymek.github.io/post/docker-prune/
https://www.techrepublic.com/article/5-tips-for-securing-your-docker-containers/
https://hub.docker.com/r/pihole/pihole/
https://github.com/nextcloud/docker
https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
https://opendistro.github.io/for-elasticsearch/downloads.html
https://opendistro.github.io/for-elasticsearch-docs/docs/install/docker/
 
https://hub.docker.com/r/linuxserver/smokeping/
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
https://github.com/evertramos/docker-nextcloud-letsencrypt
https://github.com/kmbulebu/docker-ssh-bastion
https://hub.docker.com/r/chentm/bastion
https://hub.docker.com/r/rastasheep/ubuntu-sshd
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
 
== Let's Encrypt ==
https://skarlso.github.io/2017/02/15/how-to-https-with-hugo-letsencrypt-haproxy/
https://www.digitalocean.com/community/tutorials/how-to-secure-haproxy-with-let-s-encrypt-on-ubuntu-14-04
https://certbot.eff.org/lets-encrypt/ubuntubionic-haproxy
https://docs.ramsdenj.com/operatingsystems/bsd/freenas/iocageservicejails/letsencrypt.html
 
== Abel Homework ==
https://scratch.mit.edu/projects/editor/?tutorial=getStarted
https://www.mymaths.co.uk/


[[Compiling applications on Solaris]]
== Ubuntu thin clients ==


search MediaWiki:Sidebar
https://olsonetworks.wordpress.com/2017/01/12/ltsp-setup-ubuntu-16-04-64bit-desktop/
http://www.havetheknowhow.com/Configure-the-server/Install-LTSP.html


http://www.nettiesexpressions.com/2012/06/02/walk-a-little-slower-daddy-free-printable/
https://plone.lucidsolutions.co.nz/storage/network/freenas/zfs-freenas-migration-of-data-to-a-new-zpool


http://www.iflicksapp.com
http://willhaley.com/blog/default-foreign-soft-subtitle-support-in-plex-using-handbrake/


Dataguard -> http://www.oracle-base.com/articles/11g/data-guard-setup-11gr2.php#standby_server_setup_man
https://www.flickr.com/photos/theperfectmoment/21949146485/in/dateposted/
https://tunnelblick.net/index.htmlhttps://www.tuin.co.uk/Irja-Log-Cabin-with-Gazebo.html
https://www.tuin.co.uk/flow-log-cabin.html
http://greatburrowcottage.co.uk/?utm_source=sawdays_special-places&utm_medium=referral&utm_campaign=sawdays_special_places
http://www.humblebynature.com/stay-on-the-farm
https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=uk+mattress+sizes&*


http://confoundedtech.blogspot.co.uk/2012/06/logitech-squeezebox-touch-ubuntu-1204.html
https://firecore.com/forum/topic/12849
http://www.sodnpoo.com/posts.xml/zoneminder_export_to_directory.xml
http://www.securitycameraking.com/securityinfo/how-to-configure-and-connect-an-onvif-ip-security-camera-our-tp-series/
https://forums.zoneminder.com/viewtopic.php?t=23861
http://androidforums.com/threads/players-wont-find-music-on-sd-card.719655/page-3


http://www.seatweavingsupplies.co.uk/other%20seating%20cords%20price%20list.htm
== Raspberry Pi ==


http://www.imdb.com/media/rm3474831104/nm0648164
https://www.instructables.com/id/Add-Aux-to-Sonos-Using-Raspberry-Pi/
https://www.raspberrypi.org/forums/viewtopic.php?t=43421


http://lachlanmiskin.com/blog/2012/06/25/zoneminder-foscam-fi8918w-war-corrupt-jpeg-data-extraneous-bytes-before-marker-0xd9/
https://www.makeuseof.com/tag/weekend-project-build-giant-led-pixel-display/


Flashing DVD drives
http://qlcplus.org/use_case.html
https://www.doityourselfchristmas.com/wiki/index.php?title=Things_You_Will_Need_To_Get_Started_With_Pixels
http://www.penguintutor.com/worksheets/raspberrypi-neopixels.pdf


http://xvi.rpc1.org
https://www.raspberrypi.org/forums/viewtopic.php?t=171540
http://forum.rpc1.org/viewtopic.php?f=2&t=46137
https://tutorials-raspberrypi.com/how-to-control-a-raspberry-pi-ws2801-rgb-led-strip/
http://forum.rpc1.org/viewtopic.php?f=12&t=48624


[[Setting up Collectd Collection3 on Ubuntu Lucid 10.04]]
https://www.raspberrypi.org/forums/viewtopic.php?t=27346
https://forum.openframeworks.cc/t/raspberry-pi-3-interactive-led-strip-wall/23241


[[Setting up iscsi on MacOSX]]
https://cdn-learn.adafruit.com/downloads/pdf/neopixels-on-raspberry-pi.pdf
http://www.instructables.com/id/Disco-pi/
https://learn.adafruit.com/adafruit-neopixel-uberguide/best-practices#


[[Installing HandBrakeCLI on ubuntu 12.04]]
== MacosX ==
https://github.com/essandess/macOS-clamAV
http://dosdude1.com/catalina/
https://github.com/iscsi-osx/iSCSIInitiator


[[Setting up zoneminder on Ubuntu 12.04]]
== FreeNAS ==
https://jira.ixsystems.com/browse/NAS-105301
https://www.ixsystems.com/community/threads/why-can-i-not-upgrade-my-plex-jail-using-iocage-upgrade-command.82207/#post-570090


[[SunRay Setup Instructions]]
https://www.reddit.com/r/freenas/comments/8gposa/ubuntu_in_vm_cannot_see_ping_mountnfs_freenas/


https://forums.freenas.org/index.php?threads/virtualbox-jail-not-running-after-virtualbox-ose-kmod-updated.48619/page-5


== Photography ==
== Photography ==
http://petapixel.com/2014/07/09/simple-tip-getting-tack-sharp-focus-landscape-photos-every-time/#disqus_thread
== Misc ==
https://www.davd.eu/byecloud-syncing-photos-with-nextcloud/
https://discussions.apple.com/thread/7022306?page=2
https://all-about-apple.com/import-folders-macos-photos/
http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html
http://tonylawrence.com/2012/08/11/fixing-corrupted-time-machine-backups/
https://github.com/emcrisostomo/Time-Machine-Cleanup
https://www.digitalocean.com/community/tutorials/additional-recommended-steps-for-new-ubuntu-14-04-servers
http://www.dangtrinh.com/2015/05/install-openvas-8-in-ubuntu-1404-using.html
https://hackertarget.com/install-openvas-7-ubuntu/
http://thegreyblog.blogspot.co.uk/2014/03/shrink-your-time-machine-backups-and.html
http://www.apmelton.com/
https://github.com/hopsoft/docker-graphite-statsd
http://xmodulo.com/transparent-https-filtering-proxy-centos.html
https://www.howtoforge.com/tiny-content-filtering-and-web-acceleration-appliance-ubuntu-squid-apache-vmware
==Karate==
http://hurstbournepriorskarate.co.uk/
https://www.youtube.com/my_videos?o=U
http://cambridgekarateclub.org/dai-and-sho
== nZEDb ==
https://github.com/nZEDb/nZEDb
== Zoneminder Stuff ==
http://www.potato-people.com/code/zoneminder/zm_arc2video.phps
== Wordpress ==
https://www.designwall.com/blog/how-to-create-a-regular-static-website-using-wordpress-with-optional-blog/
== Abel / Noah Projects ==
http://www.instructables.com/id/Thomas-Train-Bed/
== Lego ==
http://www.brickowl.com/catalog/lego-ultimate-collector-s-millennium-falcon-set-10179
https://rebrickable.com/home
http://lego.brickinstructions.com/
== Log Cabins ==
http://www.logcabins.co.uk/how-to.asp
http://www.cabinliving.co.uk/garden-offices.asp?action=getoptions&cabin=Berwick%20%E2%84%A2&ident=141&range=&cabinoptions=141
http://crusoedesignandbuild.co.uk/crusoe_gardens.php
== Active Projects ==
https://www.digitalocean.com/community/tutorials/how-to-configure-statsd-to-collect-arbitrary-stats-for-graphite-on-ubuntu-14-04
http://docs.grafana.org/installation/debian/
http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html
https://github.com/chase-miller/time-machine-sparce-bundle-fix
http://community.spiceworks.com/how_to/110712-install-fail2ban-on-64-bit-ubuntu-14-04-lts
http://www.wordpress.lonbil.co.uk/2013/08/installing-dnsmasq-on-freenas-9-1/
== New Freenas Server
Supermicro X9SCL-F -> http://www.supermicro.co.uk/products/motherboard/Xeon/C202_C204/X9SCL-F.cfm
Intel Xeon E3-1240 3.30GHz 8M Socket LGA1155 SR00K Quad Core CPU
DDR3-10600, PC3-1333MHz CL9 240pin ECC unbuffered -> http://www.mrmemory.co.uk/all-products/8gb-240-pin-ddr3-pc3-10600-1333mhz-ecc-unbuffered
== VMware ==
http://ipxe.org/howto/vmware
== Linux ==
https://www.facebook.com/notes/linux-only/make-a-custom-centos-7-or-rhel-7-cd-with-kicktart-file/1142994982390559
https://oracle-base.com/articles/linux/kickstart
https://www.hiroom2.com/2018/04/30/ubuntu-1804-serial-console-en/
https://forums.freenas.org/index.php?threads/howto-how-to-boot-linux-vms-using-uefi.54039/
https://aaron-kelley.net/blog/2011/12/migrating-an-ubuntu-installation-from-bios-to-uefi/
tesseract-ocr
http://blog.jdpfu.com/2012/09/14/solution-for-slow-ubuntu-in-virtualbox
https://www.digitalocean.com/community/tutorials/how-to-install-puppet-to-manage-your-server-infrastructure#install-puppet-agent
https://www.digitalocean.com/community/tutorials/how-to-use-foreman-to-manage-puppet-nodes-on-ubuntu-14-04
http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.28.0_the_easy_way
http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_14.10_64-bit_server_with_Zoneminder_to_use_systemd
http://www.potato-people.com/code/zoneminder/zm_arc2video.phps
== VPN ==
https://www.vpnvip.com/setup-l2tp-vpn-in-windows-7.html
https://torguard.net/blog/how-to-configure-vpn-ubuntu/
== Schools ==
http://locrating.com/
== Freenas Stuff ==
=== Freenas 10 ===
https://github.com/freenas/vm-templates
=== How to Setup TimeMachine on Freenas ===
http://trac.biostr.washington.edu/trac/wiki/TimeMachine
http://www.notquitemainstream.com/tech/2014/03/25/how-to-set-up-time-machine-for-multiple-macs-on-freenas-9-2-1-3
http://www.jamesbadger.ca/2013/04/01/time-machine-auto-mount-2013/
http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html
https://github.com/chase-miller/time-machine-sparce-bundle-fix
https://dekoder.wordpress.com/2014/10/08/fixing-freenas-currently-unreadable-pending-sectors-error/
https://forums.freenas.org/index.php?threads/is-this-a-bad-sign-smartd-1-currently-unreadable-pending-sectors.9824/
http://bogdan.org.ua/2015/02/26/how-to-fix-offline-uncorrectable-sector-outside-of-a-partition.html


http://www.dofmaster.com/dofjs.html
Useful commands -> http://doc.freenas.org/index.php/Useful_Command_Line_Utilities


http://gigapan.com/
http://joepaetzel.com/2014/03/09/freenas-getting-hacks-to-survive-part-2/


http://www.red-door.co.uk/pages/productpages/GigaPan-EPIC-Pro-for-DLSR-Cameras.html
=== Howto setup an iscsi lun with Solaris ===


http://www.subliminalmp3s.com/subliminal-genius-potential
bash-3.2#  iscsiadm modify discovery --static enable
bash-3.2#  iscsiadm list discovery
Discovery:
        Static: enabled
        Send Targets: disabled
        iSNS: disabled
bash-3.2# iscsiadm add discovery-address 192.168.214.200:3260
bash-3.2# iscsiadm list discovery-address -v;
Discovery Address: 192.168.214.200:3260
        Target name: iqn.2011-03.example.org.istgt:freenas
                Target address: 192.168.214.200:3260, 1
bash-3.2# iscsiadm add static-config iqn.2011-03.example.org.istgt:freenas,192.168.214.200:3260
bash-3.2# format


=== Workaround for [[https://bugs.freenas.org/issues/4987][Bug #4987]] ===


Dishwasher E-Nr: SGS5362GB/01
add 149.255.37.14  cdn.freenas.org in /etc/hosts
mount -uw /
add to /base/conf/etc/hosts (otherwise it'll disappear on reboot


http://www.ukwhitegoods.co.uk/
=== VirtualBox in FreeNAS (now included in 9.2.1.6)


[[Installing daapd on Ubuntu 12.04]]
http://forums.freenas.org/index.php?threads/virtualbox-in-a-jail-in-freenas.20185/
 
VirtualBox autostart -> http://daemon-notes.com/articles/other/virtualbox/scripts
 
http://forums.freenas.org/index.php?threads/autostart-virtualbox-vm.22116/
 
http://lists.freebsd.org/pipermail/freebsd-fs/2011-July/011982.html
http://lists.freebsd.org/pipermail/freebsd-current/2011-October/028232.html
 
If the gui dies then restart
 
service django start
 
http://blog.brianmoses.net/2014/01/diy-nas-2014-edition.html
http://doc.freenas.org/index.php/Apple_(AFP)_Shares#Using_Time_Machine
 
Adding a new disk requires partitioning before it can be attached to an existing mirror


Creating audio from mkv:
# gpart create -s gpt /dev/ada0
# gpart add -a 4096 -i 1 -s 2g -t freebsd-swap /dev/ada0
# gpart add -a 4096 -i 2 -t freebsd-zfs /dev/ada0
# glabel status


First we need to create a WAV with mplayer.
=== Getting crashplan to work on freeness ===


mplayer -vc dummy -vo null -ao pcm:file=output.wav video.mkv
Enabled TCP Forwarding in SSH settings in FreeNAS
Enabled Forwarding in the sshd_config file in the jail
Enabled Root Login in the jail
Created a crashplan user inside the jail and added them to "wheel"
Restarted SEVERAL TIMES, finally getting all java working and expected results in sockstat -4, and netstat.
Created SSH Tunnel from port 4200 to 10.10.1.87:4243 (the jail IP) using Putty, then connected Putty to 10.10.1.87 (jail IP, not the freenas box IP)
Modified ui.properties file inside Crashplan conf folder so that servicePort=4200 and was uncommented(no # in front of it).
killed all crashplan processes and services, restarted the service (on my PC with the UI) and then restarted the desktop app.


If you find that mplayer is taking its sweet time in outputting the WAV you may have to append the fast option like so:
http://www.liquidstate.net/blog/technology/how-to-manage-your-crashplan-server-remotely/
https://forums.freenas.org/index.php?threads/crashplan-3-6-3.18416/#post-101205
https://forums.freenas.org/index.php?threads/crashplan-plugin-wont-start.24243/
https://forums.freenas.org/index.php?threads/crashplan-updated-to-4-3-0-now-will-not-connect.35269/


mplayer -vc dummy -vo null -ao pcm:file=output.wav,fast video.mkv
=== Enabling sshd in jail


Then we create an MP3 from the WAV.
/etc/rc.conf -> sshd_enable="YES"
service sshd start
enable root in /etc/ssh/sshd_config


lame -h -b128 output.wav output.mp3
=== Add SMART testing ===


http://forums.freenas.org/index.php?threads/scrub-and-smart-testing-schedules.20108/


https://help.ubuntu.com/community/AutofsLDAP


https://help.ubuntu.com/11.04/serverguide/openldap-server.html


=== Zoneminder ===


[[SunRay Setup Instructions]]
https://github.com/lbdc/zm-movie


=== Plex stuff ===


http://stormsail.com/cpanel
https://smyl.es/how-to-move-plex-metadata-and-index-data-to-new-driver-andor-directory-location/


http://paulgu.com/wiki/How_do_I_allow_only_authorized_users_to_edit_pages
https://support.plex.tv/hc/en-us/articles/201674343-Scanning-Disk-Image-Format-Media


http://www.apple.com/aperture/iphoto-to-aperture/how.html
=== Secure SSH ===


http://forums.freenas.org/index.php?threads/install-denyhosts-within-a-freenas-jail.15906/
http://forums.freenas.org/index.php?threads/install-and-setup-fail2ban-on-owncloud-portsjail.19216/


Woodworking
=== DR ===
Escape to loader (option 3)
set vfs.zfs.recover=1
boot -s


http://www.woodworkingcentreshop.co.uk/acatalog/Triton_Spares_Workcentre_Series_2000.html
start /bin/sh
sh /etc/rc.initdiskless


House


http://www.bricksandbrass.co.uk/diy_by_element/internal_wall/party_wall_act.php
zpool import -f -R /mnt poolname


http://idostuff.co.uk/blogs/
if that fails
http://roomuptop.blogspot.co.uk/


Plex
zpool import -f -o readonly=on -R /mnt poolname


http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/
zpool recovery (rewinds transactions)
zpool import -f -R /mnt -FX poolname


[[Henry]]
> You can try to experiment with zpool hidden flags. Look at this command:
>
> zpool import -N -o readonly=on -f -R /pool <pool>
>
> It will try to import pool in readonly mode so no data would be written
> on it. It also doesn't mount anything on import so if any fs is damaged
> you have less chances triggering a coredump. Also zpool import has a
> hidden -T switch that gives you ability to select transaction that you
> want to try to restore. You'll need a list of available transaction though:
>
> zdb -ul <vdev>
>
> This one when given a vdev lists all uberblocks with their respective
> transaction ids. You can take the highest one (it's not the last one)
> and try to mount pool with:
>
> zpool import -N -o readonly=on -f -R /pool -F -T <transaction_id> <pool>


I had good luck with ZFS recovery with the following approach:


Ubuntu 11.10 webserver - choose OpenSSH + LAMP and then install webalizer + awstats + phpmyadmin
1) Use zdb to identify a TXG for which the data structures are intact


http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p6
2) Select recovery mode by loading the ZFS KLD with "vfs.zfs.recover=1"
  set in /boot/loader.conf


http://www.howtoforge.com/the-perfect-media-server-ubuntu-11.10-sabnzbd-sickbeard-couch-potato-headphones-serviio-p3
3) Import the pool with the above -T option referring to a suitable TXG
  found with the help zdb.


http://ubuntuportal.com/how-to-get-an-canon-canoscan-lide-100-scanner-to-work-in-ubuntu-11-10linux-mint-12/
The zdb commands to use are:


http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/
# zdb -AAA -L -t <TXG> -bcdmu <POOL>


http://code.google.com/edu/languages/google-python-class/strings.html
(Both -AAA and -L reduce the amount of consistency checking performed.
A pool (at TXG) that needs these options to allow zdb to succeed is
damaged, but may still allow recovery of most or all files. Be sure
to only import that pool R/O, or your data will probably be lost!)


A list of TXGs to try can be retrieved with "zdb -hh <POOL>".


You may need to add "-e" to the list of zdb options, since the port is
exported / not currently mounted).


  * shower stuff -> http://www.showerdoc.co.uk/forum/phpBB3/
== Useful Links ==
  * extending wireless network -> http://www.unix.ms/netgear/
  * veggie box recipes -> http://www.vegbox-recipes.co.uk


Photography
https://agilebits.com/onepassword
https://bitnami.com/stacks
http://www.cv-library.co.uk/


Sigma 50-500 review -> http://www.bobatkins.com/photography/reviews/sigma_50-500_os_hsm_review.html
http://forums.freenas.org/index.php?threads/virtualbox-in-a-jail-in-freenas.20185/
http://doc.freenas.org/index.php/Jails_Configuration
https://www.zufallsheld.de/2013/11/22/freenas-transmission-couchpotato-sickbeard-dlna-server/


turning off macosx indexing
http://nalle.wordpress.com/using-gmail-as-a-spam-filter/


Example: to stop and prohibit indexing on a volume named Backup Drive you would issue one of the following commands:
search MediaWiki:Sidebar
sudo mdutil -i off /Volumes/Backup\ Drive
sudo mdutil -i off "/Volumes/Backup Drive"


http://paulgu.com/wiki/How_do_I_allow_only_authorized_users_to_edit_pages


Chilli oil recipe -> http://www.thechilliking.com/chilli-oil-recipe/
http://www.nettiesexpressions.com/2012/06/02/walk-a-little-slower-daddy-free-printable/


Living life to the full -> https://www.llttf.com/index.php?section=page&page_seq=12
http://www.iflicksapp.com


Mencoder command line stuff -> https://wiki.archlinux.org/index.php/MEncoder
Dataguard -> http://www.oracle-base.com/articles/11g/data-guard-setup-11gr2.php#standby_server_setup_man


Samsung warrant checker -> http://www.samsunghddvalue.com/WebRMA/WarrantyCheck/endUserWarrantychecker.aspx
http://confoundedtech.blogspot.co.uk/2012/06/logitech-squeezebox-touch-ubuntu-1204.html


http://blog.sudobits.com/2011/10/30/best-applications-and-tweaks-for-ubuntu-11-10/
http://www.seatweavingsupplies.co.uk/other%20seating%20cords%20price%20list.htm


https://trac.handbrake.fr/wiki/CLIGuide
http://www.imdb.com/media/rm3474831104/nm0648164


  * shower stuff -> http://www.showerdoc.co.uk/forum/phpBB3/
  * extending wireless network -> http://www.unix.ms/netgear/
  * veggie box recipes -> http://www.vegbox-recipes.co.uk


[[Setting up PLEX on Ubuntu]]
Chilli oil recipe -> http://www.thechilliking.com/chilli-oil-recipe/


To create and send snapshots via zfs use:
Living life to the full -> https://www.llttf.com/index.php?section=page&page_seq=12


zfs snapshot -r rpool@today
Mencoder command line stuff -> https://wiki.archlinux.org/index.php/MEncoder
zfs send -R rpool@today | zfs receive -F -d rpool2


Samsung warrant checker -> http://www.samsunghddvalue.com/WebRMA/WarrantyCheck/endUserWarrantychecker.aspx


   * http://jake-tm.co.uk/?page_id=259 - DGTeam Mirror
   * http://jake-tm.co.uk/?page_id=259 - DGTeam Mirror
Line 168: Line 525:
   * [[http://www.norfolk-greenhouses.co.uk/shop/shop-infopage.php?longref=82~0][Greenhouse we would like]]
   * [[http://www.norfolk-greenhouses.co.uk/shop/shop-infopage.php?longref=82~0][Greenhouse we would like]]


== Flashing DVD drives ==
http://xvi.rpc1.org
http://forum.rpc1.org/viewtopic.php?f=2&t=46137
http://forum.rpc1.org/viewtopic.php?f=12&t=48624
== Ubuntu Installation Instructions ==
Manually installing logitechmediaserver
wget http://downloads.slimdevices.com/LogitechMediaServer_v7.8.0/logitechmediaserver_7.8.0_all.deb
sudo dpkg --install logitechmediaserver_7.8.0_all.deb
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1


https://sites.google.com/site/easylinuxtipsproject/first#TOC-Install-gnome-session-flashback-and-consider-disabling-the-visual-effects


[[Setting up a VPN proxy server]]


To install linux guest additions on Ubuntu, you need to add:
[[Setting up Collectd Collection3 on Ubuntu Lucid 10.04]]
 
[[Setting up iscsi on MacOSX]]
 
[[Installing HandBrakeCLI on ubuntu 12.04]]
 
[[Setting up zoneminder on Ubuntu 12.04]]
 
[[Installing daapd on Ubuntu 12.04]]
 
[[Setting up PLEX on Ubuntu]]
 
[[Installating HandBrakeCLI on Ubuntu]]
 
Ubuntu 11.10 webserver - choose OpenSSH + LAMP and then install webalizer + awstats + phpmyadmin
 
http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p6
 
http://www.howtoforge.com/the-perfect-media-server-ubuntu-11.10-sabnzbd-sickbeard-couch-potato-headphones-serviio-p3
 
http://blog.sudobits.com/2011/10/30/best-applications-and-tweaks-for-ubuntu-11-10/
 
Creating audio from mkv:
 
First we need to create a WAV with mplayer.
 
mplayer -vc dummy -vo null -ao pcm:file=output.wav video.mkv
 
If you find that mplayer is taking its sweet time in outputting the WAV you may have to append the fast option like so:
 
mplayer -vc dummy -vo null -ao pcm:file=output.wav,fast video.mkv


sudo apt-get install dkms
Then we create an MP3 from the WAV.


to manually build the vb module:
lame -h -b128 output.wav output.mp3


/etc/init.d/vboxadd setup
https://help.ubuntu.com/community/AutofsLDAP


  * Getting plex server installed in ubuntu
https://help.ubuntu.com/11.04/serverguide/openldap-server.html


apt-get install ia32-libs
http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/
sudo apt-get install portmap nfs-common


  * HandBrakeCLI ubuntu
To install linux guest additions on Ubuntu, you need to add:


Install restricted software:
sudo apt-get install dkms


sudo apt-get install ubuntu-restricted-extras
to manually build the vb module:
sudo apt-get install libdvdread4
sudo /usr/share/doc/libdvdread4/install-css.sh
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:stebbins/handbrake-releases


https://edge.launchpad.net/~stebbins/+archive/handbrake-releases
/etc/init.d/vboxadd setup


* Joining multiple avis together
* Joining multiple avis together
Line 207: Line 611:
  # Write your default config options here!
  # Write your default config options here!
  vo=gl2
  vo=gl2
imapsyncing
hippy@ubuntu:~$ imapsync --host1 mail-emea.sun.com --user1 andharr --authmech1 LOGIN --passfile1 sun_pass --ssl1 --host2 stbeehive.oracle.com --user2 [email protected] --authmech2 
LOGIN --passfile2 oracle_pass --ssl2 --folder ZFS --sep2 / --prefix2 "" --useheader 'Message-ID' --skipsize --regexflag 's/NonJunk//g'
  * Force upgrade to next release -> sudo do-release-upgrade -d
  * fstab entry for vbox mount -> zoneminder /var/cache/zoneminder vboxsf auto,exec,rw,uid=33,gid=33 0 0
  * fix zoneminder -> http://francisfisher.me.uk/problem/2012/zoneminder-bareword-zm_path_logs-not-allowed-while-strict-subs-in-use/
  * zoneminder stuff -> http://cybt.com/linux/325-shared-memory-settings-for-zoneminder.html
== Solaris Installation Instructions ==
[[SunRay Setup Instructions]]
[[Compiling applications on Solaris]]
== Solaris Tips ==
Solaris 11 ipfilter -> http://kb.vorboss.net/display/kb/Enable+IPFilter+Firewalling+on+Solaris+11
http://blog.ls-al.com/solaris-11-firewall/
SMF autoscrub -> https://blogs.oracle.com/constantin/entry/new_opensolaris_zfs_auto_scrub
Creating rawdisk access to VBox guests
VBoxManage internalcommands createrawvmdk -filename /export/virtualbox/sol-11_2-40-vbox/c16t3d0.vmdk -rawdisk /dev/rdsk/c16t3d0s0
su - hippy -c "/usr/bin/screen -dmS newznab /usr/local/newznab/newznab_screen.sh"
To create and send snapshots via zfs use:
zfs snapshot -r rpool@today
zfs send -R rpool@today | zfs receive -F -d rpool2
Adding a zone
root@monkey:~# zonecfg -z dev
Use 'create' to begin configuring a new zone.
zonecfg:dev> create
create: Using system default template 'SYSdefault'
zonecfg:dev> set zonepath=/zones/dev
zonecfg:dev> set autoboot=true
zonecfg:dev> verify
zonecfg:dev> commit
root@monkey:~# zoneadm -z dev install
For fixing zones issues
chmod 666 /dev/ptmx
For Solaris zone webserver
pkg install amp
pkg install webalizer
/usr/mysql/5.1/bin/mysql_install_db
/usr/mysql/5.1/bin/mysqladmin -u root password 'new-password'
/usr/mysql/5.1/bin/mysqladmin -u root -h dev password 'new-password'
Adding a ZFS filesystem to a zone (no deligation)
# zonecfg -z zion
zonecfg:zion> add dataset
zonecfg:zion:dataset> set name=tank/volumes/vol1
zonecfg:zion:dataset> end
For deligation add
zonecfg:zion:dataset> set alias=tank
For hot plugging a drive
/usr/sbin/cfgadm -cunconfigure sata2/0
/usr/sbin/cfgadm -cconfigure sata2/0
Setting noexec on the fly
echo "noexec_user_stack/W 0x0" | mdb -kw
Correcting quarantined zfs files
hippy@monkey:~$ /usr/bin/ls -/ v  .bashrc
-rw-r--r--  1 hippy    staff      1064 May 10 09:25 .bashrc
                {archive,nohidden,noreadonly,nosystem,noappendonly,nonodump,noimmutable,av_modified,av_quarantined,nonounlink,nooffline,nosparse}
hippy@monkey:~$ pfexec /usr/bin/chmod S-a .bashrc
hippy@monkey:~$ /usr/bin/ls -/ v .bashrc
-rw-r--r--  1 hippy    staff      1064 May 10 09:25 .bashrc
                {noarchive,nohidden,noreadonly,nosystem,noappendonly,nonodump,noimmutable,noav_modified,noav_quarantined,nonounlink,nooffline,nosparse}
Autostarting Virtualbox Machines
sudo mkdir /etc/vbox
svccfg -s svc:/application/virtualbox/autostart:default setprop config/config=/etc/vbox/autostart.cfg
svcadm enable svc:/application/virtualbox/autostart:default
VBoxManage modifyvm <yourvirtualmachinename> --autostart-enabled on
#You can also set a delayed start for the vm using the command: VBoxManage modifyvm <yourvirtualmachinename> --autostart-delay <delayinseconds>
[--autostop-type disabled|savestate|poweroff|acpishutdown]
root@monkey:/etc/vbox# more autostart.cfg
default_policy = allow
vbox = {
        allow = true
        startup_delay = 10
}
* https://forums.virtualbox.org/viewtopic.php?f=11&t=33249
sphinx requires libinconv
pkg install libiconv
== Photography ==
https://iso.500px.com/amazing-macro-photos-shot-by-a-16-year-old-in-his-backyard/?utm_campaign=june182015digest&utm_content=TextLink_amazing-macro-photos-shot-by-a-16-year-old-in-his-backyard&utm_medium=email&utm_source=500px
http://digital-photography-school.com/reverse-lens-macro-close-up-photography-lesson-3/
http://www.joseramos.com/
http://www.digitalcameraworld.com/2014/07/25/24-of-our-most-popular-photography-cheat-sheets/
http://www.digitalcameraworld.com/tag/photography-cheat-sheet/
http://paintbylight.blogspot.co.uk/2012/04/how-to-setup-canon-7d-to-take-hdr-shots.html
http://www.photoventure.com/2014/04/15/7-daily-exercises-that-will-make-you-a-better-photographer/4/
http://digital-photography-school.com/how-to-control-multiple-flashes-wirelessly-with-a-canon-7d/
http://trickphotographybook.com/
http://www.digitalcameraworld.com/2013/04/27/blown-highlights-how-to-rescue-blown-skies-using-simple-photoshop-effects/
http://blog.photoshopcreative.co.uk/tutorials/how-to-transform-dull-sky-in-photoshop/
http://www.digitalcameraworld.com/2013/11/04/lightroom-tutorials-how-to-reveal-hidden-detail-in-skies-with-lightrooms-graduated-filter/
http://www.dofmaster.com/dofjs.html
http://shutterexperiments.com/
http://www.martinbaileyphotography.com/podcasts/
== House Stuff ==
http://www.cbpropertysearch.co.uk/
http://floorplanner.com/projects/31244485-new-floorplan/edit#assets
http://hoa.org.uk/advice/guides-for-homeowners/i-am-buying/how-do-i-know-im-not-paying-too-much/
[[Kitchen]]
http://www.brackenwood.com/ - replacement seals and handles?
http://www.secondsandco.co.uk/ - cheaper selex insulation
== Woodworking ==
http://www.woodworkingcentreshop.co.uk/acatalog/Triton_Spares_Workcentre_Series_2000.html
== MaxOSX Tips ==
https://github.com/iscsi-osx/iSCSIInitiator
turning off macosx indexing
Example: to stop and prohibit indexing on a volume named Backup Drive you would issue one of the following commands:
sudo mdutil -i off /Volumes/Backup\ Drive
sudo mdutil -i off "/Volumes/Backup Drive"
http://www.tonymacx86.com/yosemite-desktop-guides/143976-unibeast-install-os-x-yosemite-any-supported-intel-based-pc.html
== NZB server ==
http://www.tiag.me/how-to-backfill-newznab-safely-without-bloating-your-database/
http://forums.redflagdeals.com/newznab-personal-usenet-indexer-help-thread-1274939/
http://mikepugh.blogspot.co.uk/2012/12/definitive-guide-to-setup-newznab-plus.html
https://github.com/kevinlekiller/Newznab-Blacklist
<nowiki>select name from releases where name regexp '^[a-zA-Z0-9]{20}$';</nowiki>
<nowiki>delete from releases where name regexp '^[a-zA-Z0-9]{20}$';</nowiki>
http://blog.cone.be/2012/12/16/newznab/
binary logs getting too big
PURGE BINARY LOGS TO 'mysql-bin.00003';
http://t4nkw4rt.blogspot.co.uk/
http://f.redflagdeals.com/showthread.php?t=1274939&mobile_type=basic
http://sudobash.net/usenet-newznab-backfilling/
mysqldump -u root -p newznab | bzip2 > backup_newznab.sql.bz2
remote
mysqldump -u root -h newznab -p newznab | bzip2 > backup_newznab.sql.bz2
http://endpoint.co/technology/enable-remote-access-mysql
== Usenet ==
http://www.ngprovider.com/isp-newsservers.php#UK
http://usenetreviewz.com/best-usenet-providers/
tweaknews
== Windoze Stuff ==
https://www.centlinux.com/2018/11/configure-centos-7-pxe-server-install-windows-10.html
https://www.youtube.com/watch?v=R6XPff38iSc
https://www.cygwin.com/install.html
http://joegardiner.co.uk/cloning-a-hard-drive-in-windows-7/
== Mining ==
http://www.amazon.co.uk/gp/product/B00IJBV9UW/ref=s9_simh_gw_p147_d2_i5?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-3&pf_rd_r=14B980MQEC1BT6QMEXT2&pf_rd_t=101&pf_rd_p=455333147&pf_rd_i=468294
http://litecoinexchangerate.org/c/GBP/678
http://www.litecoinminingcalculator.com/index.php?khs=32000&diff=21219.9751975&cdiff=21219.9751975&fee=0
http://www.techspot.com/article/777-litecoin-mining-project/page4.html
http://www.bitcoinx.com/profit/
http://www.coindesk.com/information/how-to-set-up-a-miner/
http://www.coindesk.com/information/how-to-mine-litecoin/
https://litecoin.org/

Latest revision as of 08:25, 5 August 2022

https://www.proxmox.com/en/proxmox-ve

OpenWrt Notes:

root@openwrtac1:/etc# cat smcroute.conf phyint br-lan enable mrdisc phyint wlan0 enable mrdisc mgroup from wlan0 group 239.255.255.250 mgroup from br-lan group 239.255.255.250 mroute from wlan0 group 239.255.255.250 to br-lan mroute from br-lan group 239.255.255.250 to wlan0

Proxmox

https://tteck.github.io/Proxmox/
https://forum.proxmox.com/threads/proxmox-6-0-renames-network-card-and-can-not-use-it.56690/

OpenSense

https://nguvu.org/pfsense/pfsense-baseline-setup/
https://medium.com/@CircuitGuy/home-network-virtualized-pfsense-install-f9f3279db446
https://netosec.com/protect-home-network/
https://homenetworkguy.com/how-to/configure-vlans-opnsense/#:~:text=To%20configure%20VLANs%2C%20you%20must,where%20the%20VLAN%20should%20reside.
https://openwrt.org/docs/guide-user/network/wifi/dumbap
https://sahlitech.com/opnsense-setup-unbound-dns/

Security

https://www.kiddle.co/kidssafesearch.php
http://blog.dushin.net/2019/08/installing-elk-on-freenas-jail/
https://blog.barclayhowe.com/your-home-network-is-under-attack-5000-times-a-day/
https://balagetech.com/monitor-network-traffic-openwrt-syslog-ng/
https://chris.scutcher.uk/tips-and-hints-for-setting-up-nfsv4-with-kerberos-with-freeipa-and-freenas.html
https://hakin9.org/dsiem-security-event-correlation-engine-for-elk-stack/

Minecraft

http://www.9minecraft.net/jurassic-world-map/

Coding

https://codewithchris.com/tools/

ELK

https://fritshoogland.wordpress.com/2017/01/21/auditing-oracle-database-stopping-and-starting-using-the-elk-stack/
http://carlgira.blogspot.com/2017/09/logstash-configuration-for-weblogic.html
https://www.haptik.ai/tech/audit-user-activity/
https://www.scaleway.com/en/docs/setup-elastic-stack-on-scaleway/

Drums

https://www.songsterr.com/a/wsa/faith-no-more-midlife-crisis-drum-tab-s7457t5
https://www.youtube.com/watch?v=iBbueVjUpJA&list=PLM7Pc_vFBYAkHrtA0o_aE3eH-pqEyBQM3&index=50
https://drumbit.app/
https://www.onlinedrummer.com/drum-lessons/fun-cool-beginner-to-intermediate-drum-beats/
https://www.youtube.com/watch?v=Xeu2qn66v8M
https://www.youtube.com/channel/UC1YNypukkwTKUwugN1Pxpjg
https://www.youtube.com/watch?v=UxaTRLfgsAI
https://www.onlinedrummer.com/shop/rockin-linear-triplet-fills/
https://www.youtube.com/watch?v=NIcBZqsfQfI&feature=emb_rel_pause
https://www.jellynote.com/en/sheet-music/faith-no-more/midlife-crisis
https://www.vdrums.com/forum/advanced/v-expressions-custom-kits/1183446-td-25-your-custom-made-kit/page3
https://www.michaelschackmusic.com/shop.html#!/products/michael-schacks-td-25-artist-kits

WAV file Sampling frequency 44.1 kHz Bit rate 8, 16, 24 bits

MP3 file Sampling frequency 44.1 kHz Bit rate 64 kbps - –320 kbps

afconvert -d LEI16 -f 'WAVE' file.mp3

ffmpeg -i file.mp3 -ar 44100 file.wav

for i in *.mp3; do baseFilename=`basename "${i}" .mp3` && afconvert -f WAVE -d LEI16@44100 "${i}" "${baseFilename}.wav"; don

https://github.com/ritiek/spotify-downloader

Networking

https://www.opendns.com/setupguide/#familyshield
https://openwrt.org/toh/bt/homehub_v5a
https://forum.archive.openwrt.org/viewtopic.php?id=64511
https://spotlightcybersecurity.com/disable-ipv6-on-openwrt.html
https://www.kali.org/docs/base-images/kali-linux-network-pxe-install/
https://openwrt.org/docs/guide-user/services/nas/nfs_configuration
https://forum.openwrt.org/t/pxe-legacy-efi-co-existence/23856/2
https://docs.openvz.org/openvz_installation_using_pxe_guide.webhelp/_kickstart_file_example_for_installing_on_efi_based_systems.html
https://wiki.xdroop.com/space/RedHat/kickstart/Automatic+Drive+Handling
https://musteresel.github.io/posts/2018/04/install-windows-over-pxe-with-dnsmasq-pxelinux-winpe.html
https://www.centlinux.com/2018/11/configure-centos-7-pxe-server-install-windows-10.html

Monitoring

https://blog.christophersmart.com/2019/09/09/monitoring-openwrt-with-collectd-influxdb-and-grafana/
https://www.linode.com/docs/uptime/monitoring/install-graphite-and-grafana/
https://medium.com/@cristianpb/system-monitoring-with-grafana-influxdb-et-collectd-7827969e1fe
https://github.com/justlaputa/collectd-influxdb-grafana-docker
https://blog.laputa.io/try-influxdb-and-grafana-by-docker-6b4d50c6a446

RAID PCI Card

https://www.ibm.com/support/pages/critical-update-serveraid-br10i-sas-controller-bios-and-firmware-v275-microsoft-windows-ibm-system-x
https://www.ibm.com/support/pages/node/811854
https://www.ibm.com/support/pages/node/830752
https://www.broadcom.com/support/download-search?pg=Legacy+Products&pf=Legacy+Host+Bus+Adapters&pn=LSI+SAS+3081E-R&pa=&po=&dk=&pl= 

PfSense Thin Client

https://forum.netgate.com/topic/122623/video-corruption-during-or-after-install-of-2-4-x-try-this

Christmas Lights Stuff

http://doityourselfchristmas.com/forums/showthread.php?45735-How-to-install-GLEDIATOR&s=2f043ed3dd8c1b25d7c4291685e50d68&goto=nextnewest
http://www.doityourselfchristmas.com/wiki/index.php?title=Vixen_How-To%27s
http://www.live-leds.de/user-jinxscripts/
https://create.arduino.cc/projecthub/nenitoshouse/how-to-configure-neopixels-using-vixen-lights-and-arduino-527631
https://github.com/pixelmatix/aurora/wiki/Streaming
https://www.youtube.com/watch?v=nUQ-WkglyE0
http://livinglightshows.com/product/pixel-megaflake-34-snowflake/

Docker

https://rzymek.github.io/post/docker-prune/
https://www.techrepublic.com/article/5-tips-for-securing-your-docker-containers/
https://hub.docker.com/r/pihole/pihole/
https://github.com/nextcloud/docker
https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion

https://opendistro.github.io/for-elasticsearch/downloads.html
https://opendistro.github.io/for-elasticsearch-docs/docs/install/docker/
https://hub.docker.com/r/linuxserver/smokeping/
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
https://github.com/evertramos/docker-nextcloud-letsencrypt
https://github.com/kmbulebu/docker-ssh-bastion
https://hub.docker.com/r/chentm/bastion
https://hub.docker.com/r/rastasheep/ubuntu-sshd
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion

Let's Encrypt

https://skarlso.github.io/2017/02/15/how-to-https-with-hugo-letsencrypt-haproxy/
https://www.digitalocean.com/community/tutorials/how-to-secure-haproxy-with-let-s-encrypt-on-ubuntu-14-04
https://certbot.eff.org/lets-encrypt/ubuntubionic-haproxy

https://docs.ramsdenj.com/operatingsystems/bsd/freenas/iocageservicejails/letsencrypt.html

Abel Homework

https://scratch.mit.edu/projects/editor/?tutorial=getStarted
https://www.mymaths.co.uk/ 

Ubuntu thin clients

https://olsonetworks.wordpress.com/2017/01/12/ltsp-setup-ubuntu-16-04-64bit-desktop/
http://www.havetheknowhow.com/Configure-the-server/Install-LTSP.html
https://plone.lucidsolutions.co.nz/storage/network/freenas/zfs-freenas-migration-of-data-to-a-new-zpool
http://willhaley.com/blog/default-foreign-soft-subtitle-support-in-plex-using-handbrake/ 
https://www.flickr.com/photos/theperfectmoment/21949146485/in/dateposted/
https://tunnelblick.net/index.htmlhttps://www.tuin.co.uk/Irja-Log-Cabin-with-Gazebo.html
https://www.tuin.co.uk/flow-log-cabin.html
http://greatburrowcottage.co.uk/?utm_source=sawdays_special-places&utm_medium=referral&utm_campaign=sawdays_special_places
http://www.humblebynature.com/stay-on-the-farm
https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=uk+mattress+sizes&*
https://firecore.com/forum/topic/12849
http://www.sodnpoo.com/posts.xml/zoneminder_export_to_directory.xml
http://www.securitycameraking.com/securityinfo/how-to-configure-and-connect-an-onvif-ip-security-camera-our-tp-series/
https://forums.zoneminder.com/viewtopic.php?t=23861 
http://androidforums.com/threads/players-wont-find-music-on-sd-card.719655/page-3

Raspberry Pi

https://www.instructables.com/id/Add-Aux-to-Sonos-Using-Raspberry-Pi/
https://www.raspberrypi.org/forums/viewtopic.php?t=43421
https://www.makeuseof.com/tag/weekend-project-build-giant-led-pixel-display/
http://qlcplus.org/use_case.html
https://www.doityourselfchristmas.com/wiki/index.php?title=Things_You_Will_Need_To_Get_Started_With_Pixels
http://www.penguintutor.com/worksheets/raspberrypi-neopixels.pdf
https://www.raspberrypi.org/forums/viewtopic.php?t=171540
https://tutorials-raspberrypi.com/how-to-control-a-raspberry-pi-ws2801-rgb-led-strip/
https://www.raspberrypi.org/forums/viewtopic.php?t=27346
https://forum.openframeworks.cc/t/raspberry-pi-3-interactive-led-strip-wall/23241
https://cdn-learn.adafruit.com/downloads/pdf/neopixels-on-raspberry-pi.pdf
http://www.instructables.com/id/Disco-pi/
https://learn.adafruit.com/adafruit-neopixel-uberguide/best-practices#

MacosX

https://github.com/essandess/macOS-clamAV
http://dosdude1.com/catalina/
https://github.com/iscsi-osx/iSCSIInitiator

FreeNAS

https://jira.ixsystems.com/browse/NAS-105301
https://www.ixsystems.com/community/threads/why-can-i-not-upgrade-my-plex-jail-using-iocage-upgrade-command.82207/#post-570090
https://www.reddit.com/r/freenas/comments/8gposa/ubuntu_in_vm_cannot_see_ping_mountnfs_freenas/
https://forums.freenas.org/index.php?threads/virtualbox-jail-not-running-after-virtualbox-ose-kmod-updated.48619/page-5

Photography

http://petapixel.com/2014/07/09/simple-tip-getting-tack-sharp-focus-landscape-photos-every-time/#disqus_thread

Misc

https://www.davd.eu/byecloud-syncing-photos-with-nextcloud/
https://discussions.apple.com/thread/7022306?page=2
https://all-about-apple.com/import-folders-macos-photos/
http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html
http://tonylawrence.com/2012/08/11/fixing-corrupted-time-machine-backups/
https://github.com/emcrisostomo/Time-Machine-Cleanup
https://www.digitalocean.com/community/tutorials/additional-recommended-steps-for-new-ubuntu-14-04-servers
http://www.dangtrinh.com/2015/05/install-openvas-8-in-ubuntu-1404-using.html
https://hackertarget.com/install-openvas-7-ubuntu/
http://thegreyblog.blogspot.co.uk/2014/03/shrink-your-time-machine-backups-and.html
http://www.apmelton.com/
https://github.com/hopsoft/docker-graphite-statsd
http://xmodulo.com/transparent-https-filtering-proxy-centos.html
https://www.howtoforge.com/tiny-content-filtering-and-web-acceleration-appliance-ubuntu-squid-apache-vmware

Karate

http://hurstbournepriorskarate.co.uk/
https://www.youtube.com/my_videos?o=U
http://cambridgekarateclub.org/dai-and-sho

nZEDb

https://github.com/nZEDb/nZEDb

Zoneminder Stuff

http://www.potato-people.com/code/zoneminder/zm_arc2video.phps

Wordpress

https://www.designwall.com/blog/how-to-create-a-regular-static-website-using-wordpress-with-optional-blog/

Abel / Noah Projects

http://www.instructables.com/id/Thomas-Train-Bed/

Lego

http://www.brickowl.com/catalog/lego-ultimate-collector-s-millennium-falcon-set-10179
https://rebrickable.com/home
http://lego.brickinstructions.com/

Log Cabins

http://www.logcabins.co.uk/how-to.asp
http://www.cabinliving.co.uk/garden-offices.asp?action=getoptions&cabin=Berwick%20%E2%84%A2&ident=141&range=&cabinoptions=141
http://crusoedesignandbuild.co.uk/crusoe_gardens.php

Active Projects

https://www.digitalocean.com/community/tutorials/how-to-configure-statsd-to-collect-arbitrary-stats-for-graphite-on-ubuntu-14-04
http://docs.grafana.org/installation/debian/
http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html
https://github.com/chase-miller/time-machine-sparce-bundle-fix
http://community.spiceworks.com/how_to/110712-install-fail2ban-on-64-bit-ubuntu-14-04-lts
http://www.wordpress.lonbil.co.uk/2013/08/installing-dnsmasq-on-freenas-9-1/

== New Freenas Server

Supermicro X9SCL-F -> http://www.supermicro.co.uk/products/motherboard/Xeon/C202_C204/X9SCL-F.cfm
Intel Xeon E3-1240 3.30GHz 8M Socket LGA1155 SR00K Quad Core CPU
DDR3-10600, PC3-1333MHz CL9 240pin ECC unbuffered -> http://www.mrmemory.co.uk/all-products/8gb-240-pin-ddr3-pc3-10600-1333mhz-ecc-unbuffered

VMware

http://ipxe.org/howto/vmware

Linux

https://www.facebook.com/notes/linux-only/make-a-custom-centos-7-or-rhel-7-cd-with-kicktart-file/1142994982390559
https://oracle-base.com/articles/linux/kickstart
https://www.hiroom2.com/2018/04/30/ubuntu-1804-serial-console-en/
https://forums.freenas.org/index.php?threads/howto-how-to-boot-linux-vms-using-uefi.54039/
https://aaron-kelley.net/blog/2011/12/migrating-an-ubuntu-installation-from-bios-to-uefi/
tesseract-ocr
http://blog.jdpfu.com/2012/09/14/solution-for-slow-ubuntu-in-virtualbox

https://www.digitalocean.com/community/tutorials/how-to-install-puppet-to-manage-your-server-infrastructure#install-puppet-agent
https://www.digitalocean.com/community/tutorials/how-to-use-foreman-to-manage-puppet-nodes-on-ubuntu-14-04
http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.28.0_the_easy_way
http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_14.10_64-bit_server_with_Zoneminder_to_use_systemd
http://www.potato-people.com/code/zoneminder/zm_arc2video.phps

VPN

https://www.vpnvip.com/setup-l2tp-vpn-in-windows-7.html https://torguard.net/blog/how-to-configure-vpn-ubuntu/

Schools

http://locrating.com/

Freenas Stuff

Freenas 10

https://github.com/freenas/vm-templates

How to Setup TimeMachine on Freenas

http://trac.biostr.washington.edu/trac/wiki/TimeMachine
http://www.notquitemainstream.com/tech/2014/03/25/how-to-set-up-time-machine-for-multiple-macs-on-freenas-9-2-1-3
http://www.jamesbadger.ca/2013/04/01/time-machine-auto-mount-2013/
http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html
https://github.com/chase-miller/time-machine-sparce-bundle-fix
https://dekoder.wordpress.com/2014/10/08/fixing-freenas-currently-unreadable-pending-sectors-error/
https://forums.freenas.org/index.php?threads/is-this-a-bad-sign-smartd-1-currently-unreadable-pending-sectors.9824/
http://bogdan.org.ua/2015/02/26/how-to-fix-offline-uncorrectable-sector-outside-of-a-partition.html 

Useful commands -> http://doc.freenas.org/index.php/Useful_Command_Line_Utilities

http://joepaetzel.com/2014/03/09/freenas-getting-hacks-to-survive-part-2/

Howto setup an iscsi lun with Solaris

bash-3.2#  iscsiadm modify discovery --static enable
bash-3.2#  iscsiadm list discovery
Discovery:
       Static: enabled
       Send Targets: disabled
       iSNS: disabled
bash-3.2# iscsiadm add discovery-address 192.168.214.200:3260
bash-3.2# iscsiadm list discovery-address -v;
Discovery Address: 192.168.214.200:3260
       Target name: iqn.2011-03.example.org.istgt:freenas
               Target address: 192.168.214.200:3260, 1
bash-3.2# iscsiadm add static-config iqn.2011-03.example.org.istgt:freenas,192.168.214.200:3260
bash-3.2# format

Workaround for [[1][Bug #4987]]

add 149.255.37.14  cdn.freenas.org in /etc/hosts

mount -uw /
add to /base/conf/etc/hosts (otherwise it'll disappear on reboot

=== VirtualBox in FreeNAS (now included in 9.2.1.6)

http://forums.freenas.org/index.php?threads/virtualbox-in-a-jail-in-freenas.20185/
VirtualBox autostart -> http://daemon-notes.com/articles/other/virtualbox/scripts
http://forums.freenas.org/index.php?threads/autostart-virtualbox-vm.22116/
http://lists.freebsd.org/pipermail/freebsd-fs/2011-July/011982.html
http://lists.freebsd.org/pipermail/freebsd-current/2011-October/028232.html

If the gui dies then restart

service django start
http://blog.brianmoses.net/2014/01/diy-nas-2014-edition.html
http://doc.freenas.org/index.php/Apple_(AFP)_Shares#Using_Time_Machine

Adding a new disk requires partitioning before it can be attached to an existing mirror

  1. gpart create -s gpt /dev/ada0
  2. gpart add -a 4096 -i 1 -s 2g -t freebsd-swap /dev/ada0
  3. gpart add -a 4096 -i 2 -t freebsd-zfs /dev/ada0
  4. glabel status

Getting crashplan to work on freeness

Enabled TCP Forwarding in SSH settings in FreeNAS
Enabled Forwarding in the sshd_config file in the jail
Enabled Root Login in the jail
Created a crashplan user inside the jail and added them to "wheel"
Restarted SEVERAL TIMES, finally getting all java working and expected results in sockstat -4, and netstat.
Created SSH Tunnel from port 4200 to 10.10.1.87:4243 (the jail IP) using Putty, then connected Putty to 10.10.1.87 (jail IP, not the freenas box IP)
Modified ui.properties file inside Crashplan conf folder so that servicePort=4200 and was uncommented(no # in front of it).
killed all crashplan processes and services, restarted the service (on my PC with the UI) and then restarted the desktop app.
http://www.liquidstate.net/blog/technology/how-to-manage-your-crashplan-server-remotely/
https://forums.freenas.org/index.php?threads/crashplan-3-6-3.18416/#post-101205
https://forums.freenas.org/index.php?threads/crashplan-plugin-wont-start.24243/
https://forums.freenas.org/index.php?threads/crashplan-updated-to-4-3-0-now-will-not-connect.35269/

=== Enabling sshd in jail

/etc/rc.conf -> sshd_enable="YES"
service sshd start
enable root in /etc/ssh/sshd_config

Add SMART testing

http://forums.freenas.org/index.php?threads/scrub-and-smart-testing-schedules.20108/


Zoneminder

https://github.com/lbdc/zm-movie

Plex stuff

https://smyl.es/how-to-move-plex-metadata-and-index-data-to-new-driver-andor-directory-location/
https://support.plex.tv/hc/en-us/articles/201674343-Scanning-Disk-Image-Format-Media

Secure SSH

http://forums.freenas.org/index.php?threads/install-denyhosts-within-a-freenas-jail.15906/
http://forums.freenas.org/index.php?threads/install-and-setup-fail2ban-on-owncloud-portsjail.19216/

DR

Escape to loader (option 3)
set vfs.zfs.recover=1
boot -s
start /bin/sh
sh /etc/rc.initdiskless


zpool import -f -R /mnt poolname

if that fails

zpool import -f -o readonly=on -R /mnt poolname

zpool recovery (rewinds transactions)

zpool import -f -R /mnt -FX poolname

> You can try to experiment with zpool hidden flags. Look at this command: > > zpool import -N -o readonly=on -f -R /pool <pool> > > It will try to import pool in readonly mode so no data would be written > on it. It also doesn't mount anything on import so if any fs is damaged > you have less chances triggering a coredump. Also zpool import has a > hidden -T switch that gives you ability to select transaction that you > want to try to restore. You'll need a list of available transaction though: > > zdb -ul <vdev> > > This one when given a vdev lists all uberblocks with their respective > transaction ids. You can take the highest one (it's not the last one) > and try to mount pool with: > > zpool import -N -o readonly=on -f -R /pool -F -T <transaction_id> <pool>

I had good luck with ZFS recovery with the following approach:

1) Use zdb to identify a TXG for which the data structures are intact

2) Select recovery mode by loading the ZFS KLD with "vfs.zfs.recover=1"

  set in /boot/loader.conf

3) Import the pool with the above -T option referring to a suitable TXG

  found with the help zdb.

The zdb commands to use are:

  1. zdb -AAA -L -t <TXG> -bcdmu <POOL>

(Both -AAA and -L reduce the amount of consistency checking performed. A pool (at TXG) that needs these options to allow zdb to succeed is damaged, but may still allow recovery of most or all files. Be sure to only import that pool R/O, or your data will probably be lost!)

A list of TXGs to try can be retrieved with "zdb -hh <POOL>".

You may need to add "-e" to the list of zdb options, since the port is exported / not currently mounted).

Useful Links

https://agilebits.com/onepassword https://bitnami.com/stacks http://www.cv-library.co.uk/

http://forums.freenas.org/index.php?threads/virtualbox-in-a-jail-in-freenas.20185/ http://doc.freenas.org/index.php/Jails_Configuration https://www.zufallsheld.de/2013/11/22/freenas-transmission-couchpotato-sickbeard-dlna-server/

http://nalle.wordpress.com/using-gmail-as-a-spam-filter/

search MediaWiki:Sidebar

http://paulgu.com/wiki/How_do_I_allow_only_authorized_users_to_edit_pages

http://www.nettiesexpressions.com/2012/06/02/walk-a-little-slower-daddy-free-printable/

http://www.iflicksapp.com

Dataguard -> http://www.oracle-base.com/articles/11g/data-guard-setup-11gr2.php#standby_server_setup_man

http://confoundedtech.blogspot.co.uk/2012/06/logitech-squeezebox-touch-ubuntu-1204.html

http://www.seatweavingsupplies.co.uk/other%20seating%20cords%20price%20list.htm

http://www.imdb.com/media/rm3474831104/nm0648164

 * shower stuff -> http://www.showerdoc.co.uk/forum/phpBB3/
 * extending wireless network -> http://www.unix.ms/netgear/
 * veggie box recipes -> http://www.vegbox-recipes.co.uk

Chilli oil recipe -> http://www.thechilliking.com/chilli-oil-recipe/

Living life to the full -> https://www.llttf.com/index.php?section=page&page_seq=12

Mencoder command line stuff -> https://wiki.archlinux.org/index.php/MEncoder

Samsung warrant checker -> http://www.samsunghddvalue.com/WebRMA/WarrantyCheck/endUserWarrantychecker.aspx

  * http://jake-tm.co.uk/?page_id=259 - DGTeam Mirror
  * [[2][Righthook IPS repository (OWAN)]]
  * [[3][Exporting iTunes playlists to a non-itunes world]]
  * [[4][One iTunes/Slimserver playlist won't work]]
  * [[5][Setting up a DNS server]]
  * [[6][Extending the netgear wireless network]]
  * [[7][Kata Practice - 2011-05-10 ]]
  * [[8][Transparent Web Proxying Ubuntu DG834G]]
  * [[9][Community Sky DG834GT Updates]]
  * [[10][Netgear DG834GT Router Tweak]]
  * [[11][Netgear DG834GT & DG834 v4- Override Target SNR]]
  * [[12][Netgear Router Firmware Downloads]]
  * [[13][Implementing vscan service with ClamAV on ZFS]]
  * [[14][OpenSolaris 2008.11 ZFS with ‘on access’ virus scan]]
  * [[15][Phoenix Park Terrace Property for Sale]]
  * [[16][Greenhouse we would like]]

Flashing DVD drives

http://xvi.rpc1.org http://forum.rpc1.org/viewtopic.php?f=2&t=46137 http://forum.rpc1.org/viewtopic.php?f=12&t=48624

Ubuntu Installation Instructions

Manually installing logitechmediaserver

wget http://downloads.slimdevices.com/LogitechMediaServer_v7.8.0/logitechmediaserver_7.8.0_all.deb
sudo dpkg --install logitechmediaserver_7.8.0_all.deb
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1

https://sites.google.com/site/easylinuxtipsproject/first#TOC-Install-gnome-session-flashback-and-consider-disabling-the-visual-effects

Setting up a VPN proxy server

Setting up Collectd Collection3 on Ubuntu Lucid 10.04

Setting up iscsi on MacOSX

Installing HandBrakeCLI on ubuntu 12.04

Setting up zoneminder on Ubuntu 12.04

Installing daapd on Ubuntu 12.04

Setting up PLEX on Ubuntu

Installating HandBrakeCLI on Ubuntu

Ubuntu 11.10 webserver - choose OpenSSH + LAMP and then install webalizer + awstats + phpmyadmin

http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p6

http://www.howtoforge.com/the-perfect-media-server-ubuntu-11.10-sabnzbd-sickbeard-couch-potato-headphones-serviio-p3

http://blog.sudobits.com/2011/10/30/best-applications-and-tweaks-for-ubuntu-11-10/

Creating audio from mkv:

First we need to create a WAV with mplayer.

mplayer -vc dummy -vo null -ao pcm:file=output.wav video.mkv

If you find that mplayer is taking its sweet time in outputting the WAV you may have to append the fast option like so:

mplayer -vc dummy -vo null -ao pcm:file=output.wav,fast video.mkv

Then we create an MP3 from the WAV.

lame -h -b128 output.wav output.mp3

https://help.ubuntu.com/community/AutofsLDAP

https://help.ubuntu.com/11.04/serverguide/openldap-server.html

http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/

To install linux guest additions on Ubuntu, you need to add:

sudo apt-get install dkms

to manually build the vb module:

/etc/init.d/vboxadd setup
  • Joining multiple avis together
sudo apt-get install mencoder mplayer
cat b1.avi b2.avi b3.avi b4.avi b5.avi b6.avi b7.avi > bloodspell.avi
mencoder -forceidx -oac copy -ovc copy bloodspell.avi.avi -o bloodspell_final.avi

Mplayer doesn't like the default video out mode (I suspect due to my Nvidia card) but seems to work ok for -vo gl2. I've therefore added the following to my .mplayer/config:

hippy@monkey:~$ more .mplayer/config 
# Write your default config options here!
vo=gl2

imapsyncing

hippy@ubuntu:~$ imapsync --host1 mail-emea.sun.com --user1 andharr --authmech1 LOGIN --passfile1 sun_pass --ssl1 --host2 stbeehive.oracle.com --user2 [email protected] --authmech2  
LOGIN --passfile2 oracle_pass --ssl2 --folder ZFS --sep2 / --prefix2 "" --useheader 'Message-ID' --skipsize --regexflag 's/NonJunk//g'
  * Force upgrade to next release -> sudo do-release-upgrade -d
  * fstab entry for vbox mount -> zoneminder /var/cache/zoneminder vboxsf auto,exec,rw,uid=33,gid=33 0 0
  * fix zoneminder -> http://francisfisher.me.uk/problem/2012/zoneminder-bareword-zm_path_logs-not-allowed-while-strict-subs-in-use/
  * zoneminder stuff -> http://cybt.com/linux/325-shared-memory-settings-for-zoneminder.html

Solaris Installation Instructions

SunRay Setup Instructions

Compiling applications on Solaris

Solaris Tips

Solaris 11 ipfilter -> http://kb.vorboss.net/display/kb/Enable+IPFilter+Firewalling+on+Solaris+11 http://blog.ls-al.com/solaris-11-firewall/

SMF autoscrub -> https://blogs.oracle.com/constantin/entry/new_opensolaris_zfs_auto_scrub

Creating rawdisk access to VBox guests

VBoxManage internalcommands createrawvmdk -filename /export/virtualbox/sol-11_2-40-vbox/c16t3d0.vmdk -rawdisk /dev/rdsk/c16t3d0s0


su - hippy -c "/usr/bin/screen -dmS newznab /usr/local/newznab/newznab_screen.sh"

To create and send snapshots via zfs use:

zfs snapshot -r rpool@today
zfs send -R rpool@today | zfs receive -F -d rpool2

Adding a zone

root@monkey:~# zonecfg -z dev
Use 'create' to begin configuring a new zone.
zonecfg:dev> create
create: Using system default template 'SYSdefault'
zonecfg:dev> set zonepath=/zones/dev
zonecfg:dev> set autoboot=true
zonecfg:dev> verify
zonecfg:dev> commit
root@monkey:~# zoneadm -z dev install

For fixing zones issues

chmod 666 /dev/ptmx

For Solaris zone webserver

pkg install amp
pkg install webalizer
/usr/mysql/5.1/bin/mysql_install_db
/usr/mysql/5.1/bin/mysqladmin -u root password 'new-password'
/usr/mysql/5.1/bin/mysqladmin -u root -h dev password 'new-password'

Adding a ZFS filesystem to a zone (no deligation)

# zonecfg -z zion
zonecfg:zion> add dataset
zonecfg:zion:dataset> set name=tank/volumes/vol1
zonecfg:zion:dataset> end

For deligation add

zonecfg:zion:dataset> set alias=tank

For hot plugging a drive

/usr/sbin/cfgadm -cunconfigure sata2/0
/usr/sbin/cfgadm -cconfigure sata2/0

Setting noexec on the fly

echo "noexec_user_stack/W 0x0" | mdb -kw

Correcting quarantined zfs files

hippy@monkey:~$ /usr/bin/ls -/ v  .bashrc
-rw-r--r--   1 hippy    staff       1064 May 10 09:25 .bashrc
               {archive,nohidden,noreadonly,nosystem,noappendonly,nonodump,noimmutable,av_modified,av_quarantined,nonounlink,nooffline,nosparse}
hippy@monkey:~$ pfexec /usr/bin/chmod S-a .bashrc
hippy@monkey:~$ /usr/bin/ls -/ v .bashrc
-rw-r--r--   1 hippy    staff       1064 May 10 09:25 .bashrc
               {noarchive,nohidden,noreadonly,nosystem,noappendonly,nonodump,noimmutable,noav_modified,noav_quarantined,nonounlink,nooffline,nosparse}

Autostarting Virtualbox Machines

sudo mkdir /etc/vbox
svccfg -s svc:/application/virtualbox/autostart:default setprop config/config=/etc/vbox/autostart.cfg
svcadm enable svc:/application/virtualbox/autostart:default
VBoxManage modifyvm <yourvirtualmachinename> --autostart-enabled on
#You can also set a delayed start for the vm using the command: VBoxManage modifyvm <yourvirtualmachinename> --autostart-delay <delayinseconds>
[--autostop-type disabled|savestate|poweroff|acpishutdown]
root@monkey:/etc/vbox# more autostart.cfg

default_policy = allow

vbox = {

       allow = true
       startup_delay = 10

}

* https://forums.virtualbox.org/viewtopic.php?f=11&t=33249

sphinx requires libinconv

pkg install libiconv

Photography

https://iso.500px.com/amazing-macro-photos-shot-by-a-16-year-old-in-his-backyard/?utm_campaign=june182015digest&utm_content=TextLink_amazing-macro-photos-shot-by-a-16-year-old-in-his-backyard&utm_medium=email&utm_source=500px
http://digital-photography-school.com/reverse-lens-macro-close-up-photography-lesson-3/
http://www.joseramos.com/
http://www.digitalcameraworld.com/2014/07/25/24-of-our-most-popular-photography-cheat-sheets/
http://www.digitalcameraworld.com/tag/photography-cheat-sheet/
http://paintbylight.blogspot.co.uk/2012/04/how-to-setup-canon-7d-to-take-hdr-shots.html
http://www.photoventure.com/2014/04/15/7-daily-exercises-that-will-make-you-a-better-photographer/4/
http://digital-photography-school.com/how-to-control-multiple-flashes-wirelessly-with-a-canon-7d/
http://trickphotographybook.com/
http://www.digitalcameraworld.com/2013/04/27/blown-highlights-how-to-rescue-blown-skies-using-simple-photoshop-effects/
http://blog.photoshopcreative.co.uk/tutorials/how-to-transform-dull-sky-in-photoshop/

http://www.digitalcameraworld.com/2013/11/04/lightroom-tutorials-how-to-reveal-hidden-detail-in-skies-with-lightrooms-graduated-filter/
http://www.dofmaster.com/dofjs.html
http://shutterexperiments.com/
http://www.martinbaileyphotography.com/podcasts/

House Stuff

http://www.cbpropertysearch.co.uk/
http://floorplanner.com/projects/31244485-new-floorplan/edit#assets
http://hoa.org.uk/advice/guides-for-homeowners/i-am-buying/how-do-i-know-im-not-paying-too-much/

Kitchen

http://www.brackenwood.com/ - replacement seals and handles?
http://www.secondsandco.co.uk/ - cheaper selex insulation

Woodworking

http://www.woodworkingcentreshop.co.uk/acatalog/Triton_Spares_Workcentre_Series_2000.html

MaxOSX Tips

https://github.com/iscsi-osx/iSCSIInitiator

turning off macosx indexing

Example: to stop and prohibit indexing on a volume named Backup Drive you would issue one of the following commands:

sudo mdutil -i off /Volumes/Backup\ Drive
sudo mdutil -i off "/Volumes/Backup Drive"

http://www.tonymacx86.com/yosemite-desktop-guides/143976-unibeast-install-os-x-yosemite-any-supported-intel-based-pc.html

NZB server

http://www.tiag.me/how-to-backfill-newznab-safely-without-bloating-your-database/

http://forums.redflagdeals.com/newznab-personal-usenet-indexer-help-thread-1274939/

http://mikepugh.blogspot.co.uk/2012/12/definitive-guide-to-setup-newznab-plus.html

https://github.com/kevinlekiller/Newznab-Blacklist

select name from releases where name regexp '^[a-zA-Z0-9]{20}$';
delete from releases where name regexp '^[a-zA-Z0-9]{20}$';

http://blog.cone.be/2012/12/16/newznab/

binary logs getting too big

PURGE BINARY LOGS TO 'mysql-bin.00003';

http://t4nkw4rt.blogspot.co.uk/

http://f.redflagdeals.com/showthread.php?t=1274939&mobile_type=basic

http://sudobash.net/usenet-newznab-backfilling/

mysqldump -u root -p newznab | bzip2 > backup_newznab.sql.bz2

remote

mysqldump -u root -h newznab -p newznab | bzip2 > backup_newznab.sql.bz2

http://endpoint.co/technology/enable-remote-access-mysql

Usenet

http://www.ngprovider.com/isp-newsservers.php#UK

http://usenetreviewz.com/best-usenet-providers/

tweaknews

Windoze Stuff

https://www.centlinux.com/2018/11/configure-centos-7-pxe-server-install-windows-10.html
https://www.youtube.com/watch?v=R6XPff38iSc
https://www.cygwin.com/install.html
http://joegardiner.co.uk/cloning-a-hard-drive-in-windows-7/

Mining

http://www.amazon.co.uk/gp/product/B00IJBV9UW/ref=s9_simh_gw_p147_d2_i5?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-3&pf_rd_r=14B980MQEC1BT6QMEXT2&pf_rd_t=101&pf_rd_p=455333147&pf_rd_i=468294

http://litecoinexchangerate.org/c/GBP/678

http://www.litecoinminingcalculator.com/index.php?khs=32000&diff=21219.9751975&cdiff=21219.9751975&fee=0

http://www.techspot.com/article/777-litecoin-mining-project/page4.html

http://www.bitcoinx.com/profit/

http://www.coindesk.com/information/how-to-set-up-a-miner/

http://www.coindesk.com/information/how-to-mine-litecoin/

https://litecoin.org/