How to bulk delete all messages in Slack

By | April 5, 2019

The quickest way to delete all messages in a slack channel is to use slack-cleaner. You’ll need an API token first so log into slack and then open up this link: https://api.slack.com/custom-integrations/legacy-tokens Scroll down to “token legacy generator” and you should see some green buttons. With this token in hand, install slack-cleaner. On mac it is:… Read More »

Lite server Couldn’t open browser

By | February 9, 2019

If you are trying lite server and want to open up another browser using the bs-config.json file and you get the following error: “Couldn’t open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)” you are probably using a config file of: { “port”:… Read More »

WTF is UTF?

By | December 27, 2018

UTF stands for Unicode Transformation Format. The most popular version is UTF-8 which represents 8 bits or 8 one’s or zero’s. (11111111 -> 00000000). The secret though is that it uses up to 4 bytes. We know that 1 byte = 8 bits so 4 bytes gives us 32 bits. 8 bits can represent 255… Read More »

What does > /dev/null 2>&1 mean?

By | December 15, 2018

Here is a great write up explain what the cryptic symbols mean. https://medium.com/@codenameyau/step-by-step-breakdown-of-dev-null-a0f516f53158 Combine this with command -v to bypass “normal function lookup” from https://askubuntu.com/questions/512770/what-is-use-of-command-command we can use this to check if certain applications exist.

How to install Ubuntu Guest Mode on Virtual Box on OSX

By | November 9, 2018

If you are running Ubuntu on Virtual Box you will want to make sure you can copy and paste between the to environments. Simply turning on Bidirectional won’t work using a normal Ubuntu ISO. You need to upgrade to Guess Addition. Guest Additions provide additional capability to a guest virtual machine, including file sharing and… Read More »

pretty json format in Sublime in 60 seconds

By | October 9, 2018

If you are working with json and want to view it in a pretty format within Sublime, you can install an extension very quickly. The long way on a Mac is to navigate to ~/Library/Application Support/Sublime Text 3/Packages and run this command from a terminal: git clone https://github.com/dzhibas/SublimePrettyJson.git Restart Sublime and the open up some unformatted json… Read More »

Where did h1. in Confluence go?

By | September 12, 2018

If you love Confluence shortcuts and use h1. My heading as a shortcut and discovered it no longer works, you are not the only one. It took a bit of searching to find out if “h1 in confluence still work?” The actual search term would be “Confluence Wiki Markup for Headings doesn’t work”. The docs… Read More »

Sapiens – Yuval Noah Harari

By | August 12, 2018

An easy and fascinating read of a brief history to human kind. Definitely worth a read. There are four main periods highlighted in the book: The Cognitive Revolution (c. 70,000 BC, when Sapiens evolved imagination). The Agricultural Revolution (c. 10,000 BC, the development of agriculture). The unification of humankind (the gradual consolidation of human political organisations towards one global empire). The Scientific… Read More »

OSX Eclipse installer does not contain the JNI_CreateJavaVM symbol error

By | June 16, 2018

If you are trying to install Eclipse and you get the following error: The JVM shared library “/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib” does not contain the JNI_CreateJavaVM symbol. You want to: Right click the installer file and select ‘show package contents’ Go to Contents and open Info.plist At the bottom of this file, you’ll see a commented section… Read More »