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! 🙂
Installing Skype on Fedora 18 / 19 / 20
Here’s a list of command line steps to install Skype on Fedora 19:-
Step 1: Open up the terminal and switch to super user:
$su –
Step 2: Install the dependencies:
yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 qtwebkit.i686 zlib.i686
Step 3: Download Skype 4.2 Dynamic package for Fedora into /tmp:
cd /tmp
wget –trust-server-names http://www.skype.com/go/getskype-linux-dynamic
Step 4: Extract the Skype 4.2 package to /opt:
mkdir /opt/skype
tar xvf skype-4.2* -C /opt/skype –strip-components=1
Step 5: Create Launcher, Link icons, language and sounds:
ln -s /opt/skype/skype.desktop /usr/share/applications/skype.desktop
ln -s /opt/skype/icons/SkypeBlue_48x48.png /usr/share/icons/skype.png
ln -s /opt/skype/icons/SkypeBlue_48x48.png /usr/share/pixmaps/skype.pngtouch /usr/bin/skype
chmod 755 /usr/bin/skype
Open /usr/bin/skype with text editor and add following content:
#!/bin/sh
export SKYPE_HOME=”/opt/skype”$SKYPE_HOME/skype –resources=$SKYPE_HOME $*
Step 6: Congratulate yourself! You have successfully installed a non-free proprietary software on top of free Open Source software and bent down to corporate needs. Now go ahead and configure Skype according to your needs!
Sigh!