Skip to main content


Showing posts from 2018

CKEditor Step Out of Element Keyboard Shortcut

Inserting a new paragraph outside of a wrapping elementCKEditor provides templating functionality that allows for insertion of HTML snippets. This is very handy, however for complex markup a problem arises where pressing 'Enter' creates a new paragraph but within the wrapping elements.Searching for how to 'step out of the element' returned nothing helpful and that is the reason why I'm posting a solution. Keyboard shortcuts to force a new paragraph outside the wrapping element are:Shift+Ctrl+3 – Enables entering content (by adding a new paragraph) before a problematic element.Shift+Ctrl+4 – Enables entering content (by adding a new paragraph) after a problematic element.On a side note, the above is provided through the built in Magic Line plugin which is supposed to show a red line insert new paragraph widget but that does not always work. If this has helped you, be legendary and do social share this and do follow me on twitter @danielsokolows.

Light Straightforward CSS Grid

Skeleton vanilla CSS gridWhen you have been at it for a while you realize most of the time less is more, and so in that spirit below is a skeleton grid. It was created without any pre-processor in vanilla CSS, and has been field tested on enterprise level projects.Source code here: If this has helped you, be legendary and do social share this and do follow me on twitter @danielsokolows. /* Light Column Grid v2018-Dev-05 ############################## See: TODO,Jun-13: possibly rather then negative margins use calc and space-between to avoid issues with horizontal scroll on small devices, see: Example: ``` <div class="columnWrapper"> <div class="column width-4/12"> ... </div> <div…

Updated IDE Fork

My improved IDE forkI would argue it is rare that re-inventing the wheel is the better choice compared to just improving an existing solution - I'm looking at you Salesforce Extensions for VS Code - and so since Salesforce opened sourced their IDE I have been updating it to suit my needs, mostly to speedup development: WSDL version 42Ability to 'Disable 'Save to Server' dirty resource check'Ability to 'Disable 'Save to Server' synchronize check'Ability to 'Disable 'Save to Server' user confirmation check'Update Site and Public RepoToday a co-worker needed to get setup with SF development and so I have officially created a public repo and an update site for my version, just add the the below URL to your 'Help > Install New Software...' to get your copy. Pull requests welcomed:…

Windows 10, 8, 7 Night Mode

A universal night mode for Eclipse, Sublime, Atom, VSCode, Chrome, ... <ANYTHING> I do code for a living, lots of it, and night mode experience has always been subpar.You may set your development IDE to a night theme but everything else would still be regular and hence ultimately would create more eye strain, but I have found the perfect solution: NegativeScreenThais fantastic utility that you can download here is a blanket solution. It inverts your whole desktop using a smart conversion metric to keep colors still same, i.e. red is still red, images of course look funny but for text (i.e. programming) it is fantastic. I find it soo useful that I have donated, you should too :) My Tweaked MatrixNegativeScreen comes with a companion tool ColorMatrix Viewer that allows you to visually create your own night mode conversion matrix, below is mine which is based on 'Smart Inversion Alt 2b' but the blacks are lightened which I find helps with overall text readability. # '…

Lucida Console with `0` crossed

Lucida Console, best programing font improvedI like this font for programming, compared to other it allows most lines to fit on the screen and overall characters are taller. However it's 0 and O are too similar for my liking. So using FontForge I have fixed that. You can download the .tff file at the BitBucket repository here.Be legendary and do social like this post as that helps me immensely and do follow me on twitter: @danielsokolows.

Minimial Freeswtich Install on Debian 9

Reduced Freeswitch Dependencies ListPerhaps I missed something obvious but installing Freeswtich on Debian using instruction from official site here results in the install wanting to pull a ridiculous 1.1 gigs of dependencies. To avoid that I choose to built directly from source and only install whatever was missing whenever the ./configure or make would fail. Below is bare minimum needed to complete the build process based on default modules.conf, install these first then follow Compiling Latest Master (for testing) section from the official Debian 9 Stretch instructions. apt install build-essential apt install libtool-bin apt install zlib1g-dev apt install libjpeg-dev apt install pkg-config apt install libsqlite3-dev apt install libcurl4-openssl-dev apt install libpcre3-dev apt install libspeex-dev apt install libspeexdsp-dev apt install libldns-dev apt install libedit-dev apt install libtiff5-dev apt install yasm apt install libopus-dev apt install libsndfile-dev Be legendary and d…

A letter to City of Kingston regarding "Residential Rental Licensing"

I am a landlord that your proposal would impact and I am truly disappointed, angry, and strongly against the 'Residential Rental Licensing' program proposal. Considering it only targets properties of three units or less I see this as nothing more than a money grab. You failing to include 4 plus unit property owners conveniently excludes large corporations like Homestead. I find this discriminatory and I haphazardly conclude you choose to do so to avoid the lobbying against it you would receive from someone of bigger pockets. Also, given the fact that as of April 30, 2018 we are required to provide a standardized lease, I see the goals of this licensing program made obsolete and redundant. The 14 page long lease document, in particular section 'J - Maintenance and Repairs' outlines and educates the tenant as to the landlord's responsibilities and if these are not met to seek assistance through Landlord and Tenant Board (LTB). Your goal to prevent substandard …

MetaTrader is Utter Garbage

Zero confidence in its Strategy TesterI have over a year of experience programing in the MQL4/MQL5 languages, I have worked through many quirks and gotchas and amassed a considerable local code repository - so I am qualified to make such a bold statement.Today I am just throwing in a towel. My lack of confidence in its ability to simulate trades is now absolute ZERO and casts serious doubts onto previous results.I have reported this in the forums and also through a support tickets but that went on nowhere.The picture below is of a custom symbol, left is the data Strategy Tester, right is normal chart history, both of them have a signal attached. You can clearly see the Strategy Tester chart is different and missing bars and so of course the signal activates differently. I've discovered this issue when I tested my multi symbol expert on Symbol A and then on Symbol B and found the sum net profit and orders placed to be different than when I tested the same expert on Symbol A and Sym…

Nantucket World Sailing Map

Fresh Game Sailing Reference MapPlaying the enjoyable Nantucket sailing game set in a world of Moby Dick, however it has one flaw: while you are in a port dock you can not see the sailing world map, there is no keyboard shortcut for it as far as I can tell. To me this is an issue, for example when you are trying to reference locations of job quests.To solve this I have crated an image of the world just at the start of a new game which I have loaded on my second monitor.Right click the above image and choose 'Open Image in new tab' or 'Save image as'. Be legendary and do social like this post as that helps me immensely and do follow me on twitter: @danielsokolows.

No remote audio when connecting to Windows 2008 Server

Error: Windows Media Player cannot play the file because there is a problem with your sound deviceThe Internet was not helpful in regards to this; this post did not work for me. But after further digging myself I was able to determine that the issue is due to a 'Allow audio and video playback redirection' default policy being disabled on a server environment, the fix is to enable it. Open start menu and search for 'Edit group policy' and navigate to 'Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resources' and enable 'Allow audio and video playback redirection'. Be legendary and do social like this post as that helps me immensely and do follow me on twitter: @danielsokolows.