In my last post I have been talked about how productiv your dotfiles can be, if you have proper configured. Another topic was, that it make sense to track changes on your dotfiles in a git repository.
If you host this repository on github it make also sense to include a so called slipstream or install script which can help you to fasten up your dotfile installation. My personal recomendation would be also allways to construct your slipstream script in a way that can help you to fullfill all prequesites for installing this dotfiles.
As an example: if you work on a macOS machine you will not have native access to git without installing it. Sounds great? Not real in my opinion, of course you will git already installed if you use, but what is if you have a brand new Mac in your hands? You see the problem?
For situations like this there is also an solution: slipstream direct from github! It’s real simple and you can use curl and a shell of your choice (my will be bash) a simple one-liner that you can execute in your terminal and which will call a script that everything will prepare for you, like installing git if needed. This magic one-liner will look like:
/bin/bash "$(curl -fsSL https://raw.githubusercontent.com/user/repo-name/master/bootstrap.sh)" </dev/null
What happens in this line?
- fetch a raw version of the script from github
- call a new bash shell and execute the script in this scell
That’s all. – Depending what your script will do, you get the perfekt prequesites to install your dotfiles
Veröffentlicht in Allgemein
I know, I know – one of our beloved themes, when writing on a techblog: your dotfiles. (Hopefully you know what I mean with the term: „dotfiles“ – if not, in short: dotfiles are all the files on *nix machine which store your preferences. Short enough?)
Depending on your installations dotfile-repos can be massive huge. I have seen repos with hundreds of files and very customised machines. Before you hope, that I will share with you my dotfiles – sorry this is not planned at the moment, but I will talk a little bit about it.
First of all I have a few core tools that I use heavily for doing my work:
- bash (yes, I know zsh is nice)
- packer / vagrant
As you can see, all of them have extensive support for customising their behaviour and all use plaintext or plist files which can perfectly versioned with git, if you wish.
For me I actually work in a different way to keep my dotfiles in sync between machines, then actually I use only macOS machine – best solution for me: mackup! My tests show me that I works great and it’s simple to extend. Which means I can extend the application catalog in a few minutes with a plaintext file. If you don’t know anything about mackup – you should give them a look and maybe a try.
In a future post I will talk a little bit how I manage my setups with the help of bash, git and ansible, so you can install and customise your workstation on a tap in a few minutes. (Does I every told, that I am absolut ansible addicted?)
Veröffentlicht in Allgemein
Goood moooorning! Grab your cup and coffee and let’s start in a new week. To help you a little bit I’ve collected some interesting articles and news over the last week. Give it a try and find maybe something helpful for you.
- First of all some news about zapier. Some of you may know that I am a big fan of „glue“ services like IFTTT or zapier. The second of the both services announced some updates to the following APIs: Trello, ProdPad, Fieldbook, QuickMail.io. There also added four new services: Salesmsg, Handwrytten, SurvelFunnel, ConnectWise Manage. Do you use zapier or one of the services? Let me know in the comments below.
- In October 17th & 18th there will be the yearly DockerCon Europe. You can’t participate? No worry there exists live streams: on both days from 9am (UTC+2). You can register on this site to participate.
- The webanalytics suite piwik released version 3.2.0
- Locky is dead – nRansomeware lifes! Ok not really, but PandaLabs reports that there is a new kind of ransomware wich is similar to Locky – one of the big differences: Attackers don’t want your money, they want your nudity pictures. PandaLabs also describes in their blogpost that nRansomware is not state of the art malware cause it’s only locks the screen and doesn’t encrypt file systems.
- Do you have trouble with the latest macOS upgrade to HighSierra? The folks from OS X Daily compiled a troubleshooting guide for you.
That’s is it for today. Grab another cup of coffee relax a little bit and the start in a good week.
Tagged with: macOS
Veröffentlicht in News
Hi everybody, for those of you that uses MS Office 2011 on their macOS device (yep – this kind of persons exists still) your probably noticed that sometime you get in trouble with fonts. It seems that Office can forget them! But no worry there is a simple solution.
Read more ›
Tagged with: macOS
Veröffentlicht in HowTo
Good morning everybody it’s Mobday morning and a good time to grab a cup of warm brew of your choice and check updates / new tech articles. For helping you a little bit you can check out the following list:
This is only a very short list for the new week.
Tagged with: MondayRoundup
Veröffentlicht in News
today I will talk a little bit about one of the summer projects here at my workplace. In the last days before I was going to vacation and had married I migrated our unmanaged WiFi with three SSIDs to a central managed system with a WiFi controller.
Before I was hired, my company bought a bigger amount of Lancom L-54ag WiFi Accesspoints and an Lancom WLC 4025+ WiFi controller. Unfortunately there was nobody in house, who whad experience with WiFi controllers and so there build ad hoc a semi-managed (by hand) WiFi network. I know, not real professional. The WLC was unused mounted in one of the network racks. Every L-54ag span three SSIDs with two VLANs and two disjunct routing instructions. Ok, this was not bad and it… works, but „fancy“ things like band- and client steering wasn’t implemented and an automatic adjustment of broadcast channel and signal strength also. As you can see – it worked, but performant is another thing.
My first intention in researching about migrating was to look, if it is possible to export the configuration of one of the L-54ag and import this configuration with some mods in the WLC 4025+ If you plan the same – no, there is absolute no way to doing this without frustration, trust me. You can only do one thing, rebuild the whole system new on the WLC. Yes this is not real convenient, but its ok and the work is faster done as you think. Primary you must one configure two bigger points and this is all – configure physical profiles on the controller and logical profiles. Logical profiles will contain every single SSID with parameters and would be associated to one physical profile. the physical profiles contains informations about client steering and some other more physical options.
After you configured the profiles, allow your WLC to accept new accesspoints and reset every accesspoint to his factory defaults. (By default all Lancom accesspoints are in managed mode and waiting for the configuration). Thats all – in theory it’s quite real simple and easy.
Do you have any questions or additions? Please feel free to comment and we can discuss this.
Tagged with: Hardware
Veröffentlicht in english
Hey guys, in the last days I work on a little problem in your school (for everybody who doesn’t know: so work as a sysop at a private school). Based on various points we mount our fileshares over SMB on our OS X machines.
Everything works fine except one thing: searching on files! The point is, that Apple’s Spotlight search can’t indexing SMB protocol v. 1. After some research I know why – Spotlight make a heavy use of extended file attributes, which are implemented in HFS+ and can be distributed over the Andrew File Protocol. Unfortunately I can’t upgrade the SMB transmission protocol to version two. If this would be possible, I can write a protocol extension for extended file attributes and everything will work fine in the future.
You can see the problem? To solve this little nasty problem I evaluate some replacements for file search
My first try was Alfred.app which I real like as an alternative launcher, but unfortunately Alfred.app uses the Spotlight index – same problem as described above. Another Option would be ExtremeZ-IP, but in my opinion this is little dirty solution in our case – absolutely impractical. The third option on my roadmap is DEVONSphere Express as a local solution on our OS X clients which offers besides a lot of other features indexing of network shares. After installing yesterday and long indexing times (I activated mail indexing also with about 60k archived mails in one of my account) I will give this tool a try. Maybe this can be a solution for our problem.