Skip to content

Instantly share code, notes, and snippets.


Vladimir Vukanac vukanac

Block or report user

Report or block vukanac

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
vukanac / xslx_to_csv.js
Created Jul 26, 2017
Read Excel file and save every worksheet as CSV file.
View xslx_to_csv.js
var filename = `${__dirname}/../server/data/sample.xlsx`;
// Read from a file give path to Excel/xlsx file.
var workbook = new Excel.Workbook();
.then(function() {
// Write to a file.
// use workbook
vukanac /
Created Mar 26, 2019 — forked from codeinthehole/
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
# Bootstrap script for setting up a new OSX machine
# This should be idempotent so it can be run multiple times.
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
# - Twitter (app store)
vukanac /
Created Aug 20, 2017
How to install php72 on Mac OS X with homebrew.

Skip this:

brew tap homebrew/dupes
brew tap homebrew/versions


Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
Warning: homebrew/versions was deprecated. This tap is now empty as all its formulae were migrated.
vukanac /
Last active Aug 31, 2018
How to install node8 on mac osx 2017-08-20.

How to install node8 on mac osx

At an absolute minimum, you need to go into the home directories (the ones that start with ~/) and make sure you are okay with deleting the contents of those directories. If you are unsure if this will delete anything important, you should stop now and find another alternative for re-installing Node.js, because this approach is pretty destructive.

View gist:190a339305313699cad9d3985cbbcf18
it('should refuse partial submissions', function(done) {
var browser = this.browser;
browser.fill('first_name', 'John');
browser.pressButton('Send').then(function() {
assert.equal(browser.text('h1'), 'Contact');
assert.equal(browser.text('div.alert'), 'Please fill in all the fields');
}).then(done, done);
View Improve cURL & API
    use phpFastCache\CacheManager;

    $cache = CacheManager::Memcached();

    // try to get from Cache first.
    $resultsItem = $cache->getItem("identity_keyword")

    if(!$resultsItem->isHit()) {
vukanac /
Created Sep 19, 2016 — forked from mikefrancis/
PSR-2 Build System using Sublime Text

PSR-2 Build System using Sublime Text


Open a new terminal and install Composer:

curl -sS | php
mv composer.phar /usr/local/bin/composer

Once that has finished installing and moved, install the PHP-CS-Fixer Composer package globally:

You can’t perform that action at this time.