Category Archives: How-to Guides
Installing EditorConfig on Sublime Text
- Go the Preferences tab -> Package Control.
- Select Install Package from the drop down menu.
- Wait for the list to load, once it loads it will show you a list of packages.
- Now, type in EditorConfig and select the highlighted option.
To confirm that Editor Config is installed correctly on your Sublime Text instance you can go to Preferences -> Browse Packages. If installed correctly you should be able to see an EditorConfig directory present in the Packages directory.
That’s it! Enjoy! 🙂
Installing Sublime Text 3 on RHEL / Fedora
Here’s another three step guide to installing Sublime Text 3 on RHEL 6,7 / Fedora 18, 19, 20:-
- Download the installation script from the following gist.
https://gist.github.com/sayak-sarkar/11b039f398ddcae88139
- Extract it to your home directory [or anywhere you like].
$tar -xvf gist11b039f398ddcae88139-e339084ef22e956ea6ef8d04f8279ca70772f534.tar.gz
- Open your terminal (preferably as super user), navigate to your home directory and execute the shell script.
#./sublime-text-3.sh
Voila!! You now have Sublime Text 3 installed on your machine. You may run it from the terminal or via the alt+f2 shortcut by simply typing in “sublime”.
Based upon my previous post on How to install Sublime Text 3 on Fedora. 😉
Enjoy!! 🙂
Creating scrollable Charts using Angular-Kendo
Creating Scrollable Charts:
Horizontal scrolling of Charts is not supported out of the box in Kendo UI, however it can be achieved using a bit of custom styling.
Basic steps:
- Set
overflow: auto
of the<div class="chart-wrapper">;
- Set width of the aforementioned div;
- Set width of the
<div id="chart">
to a value higher than it’s parent div width size.
Example piece of code:
Template:
<div class="parent-container">
<div kendo-chart k-options="line" class="chart-container">
</div>
</div>
CSS:
.parent-container {
overflow-y: scroll;
width: 1000px;
}
.chart-container {
overflow: auto;
width: 2000px;
}
Installing Firefox Nightly with Australis on Fedora 18 / 19 / 20
Are you a Fedora user who wants to check out the new Australis Theme for Firefox scheduled for release with Firefox 28? However, you are a bit apprehensive of letting go that stable release of Firefox in bundled within your Fedora installation by default, just in case something goes wrong with the nightly beta release.
If this is what defines your current dilemma, fear not. You can have both the stable as well as the nightly beta versions installed simultaneously in your computer in a few simple steps without any trouble at all! Here’s how to do it in case of Firefox Nightly version 28 [the latest release at the time of writing this post]:-
Step 1: Login as Super User:-
$su
Step 2: Get the nightly package:-
Go to http://nightly.mozilla.org to get the latest available nightly build for your system.
Alternatively, you can use the command line tool wget to directly download it via the command line as follows:-
Step 3: Extract the contents of the tar ball as follows:-
#tar -xvf firefox-28.0a1.en-US.linux-x86_64.tar.bz2
Step 4: Rename the extracted directory to “nightly”:-
#mv firefox nightly
Step 4: Create an installation directory:-
#mkdir /opt/firefox
Step 5: Move the contents of the “nightly” directory to the installation directory:-
#mv /nightly /opt/firefox/nightly
Step 6: Create a Symbolic link for the Nightly installation:-
#ln -s /opt/firefox/nightly/firefox /usr/local/bin/nightly
Step 7:Run Firefox Nightly by typing the following within the command line or the alt+f2 launcher:-
For command line: $nightly
For alt+f2: nightly
Step 8: Relax and enjoy the Australis awesomeness! 🙂