Monthly Archives: July 2014
Ok Latex fans! (I am one too)
$ sudo apt-get install texlive-xetex
than Enjoy zitɛk 🙂
Initially developed for Mac OS X only, it is now available for all major platforms.
Latex is most beautiful and XeTex is most beautiful++ (Looking forward more more fun with this.)
Yes it was only great back than but it is Great GD Now. 😀
I really liked all people IT+Civil who attended and tolerate me for a looooooong while 😀
And some after presentation also clapped to tell me it was really not that bad. 😛 😀
Haan ikk cheez jaroor hai kuch chall nahi riha c,, chalna kithon c,,”AA civil aale kamm saukhe thodi hunde aa 😀 😀 ” BAND bajj janda dimaag da,,,, But baad ch jado samaj auda vi accha ki cheez aa eh fer bass ikk gall e kehan nu dil karda.. Great…..!!!!
I think that’s why the name of our group is Great developer. (seems something is cracked here 😉 )
At last I loved that evening that spend with GD people. Hatts off…!!! 🙂
jeonde raho,,,Rabh Rakha…!!
Still Hungry for BIM…….!!
OK first of all if you have no idea what is BIM,IFC,BIMserver than you should be go for some Google and come again. I am writing a guide to setup BIMserver on Ubuntu.
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk
$ sudo apt-get install openjdk-7-jre
Set the “JAVA_HOME” environment variable (If you do not know you can Google it or ask in the comments)
Again come to terminal:
$ mkdir BIMserver
$ cp bimserver-1.3.0-FINAL-2014-04-25.jar BIMserver
$ cd BIMserver
$ java -jar bimserver-1.3.0-FINAL-2014-04-25.jar
This will extract the content of the jar file and create two subfolders, i.e. home and bimserver-[version]. Now an application window will open. You have to click on “start server”
Bingo..!! I have not tested it. Let me know(in comments) if you got any problem. Good luck with BIMing. 😉
$ sudo dpkg –configure -a
$ sudo apt-get –fix-missing
$ sudo apt-get -f install
$ sudo apt-get autoclean
$ sudo apt-get autoremove
$ sudo apt-get update
$ sudo apt-get upgrade
Ok first of all when we think about OOPS we think about class.
#Object for class
#Access variable of class using object
#One more object
myandmy = Honey();
#assign new value to variable using object
myandmy.name = “yackity”;
For using function just use object with function name. like meandme.functionname(). so I think we can also use other stuff too in Python class. That’s All
python sikhni hai
Not sure Why writing this post, Don’t even need to because there is not solution at all. 😛 Pagalpanti vi jaroori hoti hai. 😀
http://pycron.sourceforge.net/ (For Windows)
Still no IDEA what is all above about and what it really means. Do I really need to that kind of approach? Actually I want just some Python code that will do all job scheduling or event scheduling? AHHH..!! what is the difference between event and job. Is there something else that also comes under this category? 😛
So simply a python code without external libraries to schedule jobs or whatever(just need to run my Python Script) ….!!!
jai mata di mitroo(SEO :D)
THIS ARTICLE IS FICTIONS ON LINUX AND THE RISE OF BODHI LINUX, PLEASE DON’T TAKE IT SERIOUSLY AT ANY COST 😉
There are millions or may be billions pages are available about Linux, Which you can find on the Google who also use Linux. Google has also promoted Linux very well to get great and stable services. Like Android which is also a fork of Linux. IMHO Linux is just not an operating system it is a thinking and when we use Linux we don’t use it we do Linux-ism. 😀
So that was all I wanted to say about Linux.
Now let us go to bodhi linux which is now one of my favorite Linux distro ever.
First: Who is Bodhi Linux
Bodhi Linux is the minimalist. Well it depends on how bodhi linux stuck in my mind. This is just the linux distro I ever wanted. That is Bodhi Linux. while tlking about Bodhi linux there are many other concepts those comes in our mind about Linux distros.
What actually all Linux user want from linux?
Light weight and fastest, Yes true. We want Light weight and fastest Linux distro because that is the actual standard of Linux but Linux with Gnome3,XFCE,ABC,XYZ, there are also good distros of Linux but not as good as Bodhi Linux. So we want fastest and Light weight linux.(Men’s style) But as we know there are lots of girls are taking lots of interests in the Linux so they want their Linux little bit dashy,sparky and styliey (I don’t know actual meaning of these words I just Listen from some of the girls :D). Due to this lots of graphical Linux developments has been started like Bodhi Linux. I am sure creator must be Indian because from the name of bodhi Linux we can see the Indian name Bodhi.
It is not Just enough that Bodhi is only a class of people or a clothes brand in bodhi, Bodhi is also a scared tree of India we also call it Bohad in Punjab. You can search the Images of Bodhi tree on Google by just typing the keywords “bodhi tree” or “bodhi india” or “india bodhi”(I just try to did some SEO trick for bodhi and linux here 😉 ) You can also see in the following Link.
Now you got how cool Bodhi and Linux are. Either the come together bodhi Linux or just separated bodhi and linux.
Now lets talk about features of bohdi linux.
Bodhi Linux is fastest Linux. When I say that about bodhi Linux you must have a question about Why it is fastest Linux? Number one about bodhi linux is that: Bodhi linux uses one of the light weight Linux desktop environment which is Enlightenment. You can find more about Bodhi Linux and enlightment in the following Linux related to Bodhi Linux and enlightenment.
Nuber two is ease of use of Enlightenment: Which is one of the biggest reason for bodhi linux to be one of the fastest Linux. It is common fact that how easy something will be to operate we will operate it fast. Just like hand pump is easy to operate than throwing a basket in the well. Using the handpump we can do much work with less time and less effort. (ahh handpump wali example tan siraa e c 😀 ) so using Bodhi linux due to ease of use we can do more work with bodhi in lesser time. Third point is smart design of bodhi and enlightenment. As I have already told you about hand pump in the bodhi Linux example, Ease of use comes from the smart design same as Hand pump is smart design than basket pull method so we can do easily and get maximum output same is due to smart design of enlightenment on Bodhi Linux. Graphics design, Application minimize, Software installation from browser in Linux, Reliability of Ubuntu Linux, Style of Debian Linux and Power of simple Linux are the best key features of Bodhi Linux.
There are lots of good reviews about Bodhi linux those you can see just type the keywords “bodhi linux” and you will get the lots of good stuff about bodhi linux. 😀 (apne wallon tan poora jor laya dekho ki banda 😀 )
E17 or Enlightenment is one Linux desktop Environment. E17 is just “beauty at your fingertips” seriously? Don’t trust me I am little bit out sometimes due to power cuts and slow Desktop environments like Unity,KDE,Gnome3,XFCE and all A,B,C. Yes i love E17 or Enlightenment desktop environment.
You can install Enlightenment on your system also. I have not tried it but you can and let me know. 😉
This script will help you install enlightenment17 on your system (from SVN).
The first obvious question is: why the hell another script to install enlightenment when we just have Easy_17.sh?
Now lets talk about combinations of E17 with Debian. E17 and Debian wow. Means stability and beauty. Just like Makki di roti with sarso da saag. :D(It is my blog I will write whatever I want to write 😀 either it is technical or not )
Debian(https://www.debian.org/) is known as the universal operating system. Debian is flexible and very much cool towards Enlightenment.(still don’t believe in me?:P )
Search for the keywords “Enlightenment” “Debian” or “E17” “Debian” or “Debian” “Enlightenment” on Google. Someone has done pretty good SEO here. ;). Now the calls ask what I want to say. There are lots available options which can give you both Debain and Enlightenment. Someone has explained it with lot of details here(http://jeffhoogland.blogspot.in/2010/12/ten-linux-distros-that-use.html). You can trust him. I do. 😀
Basically in the above link he has explained the Linux distributions those use Enlightenment or E17 but he missed Snowlinux. He told bout Elive OS which is Debian based using Enlightenment. Elive is live only I mean you have to pay if you want to install on hard disk. Not sure either someone is doing Evil or Business. 😀
Snowlinux is one Debian based Enlightenment(E17) known as Snowlinux E17.
So finally E17 on Debain. It is that thing like potato+punjabi.
Sparky Linux is one more option. It uses Enlightenment and Debian together. there is one more plus point that it uses E18 instead of E17.
As I always do believe that “Inovations travel beyond the borders even with passport and visa :D”
It is also Debian and Enlightenment. Makulu linux is using Debian and running E17 on it. So again the combination of Enlightenment and Debian or Debian and Enlightenment.
That was all I know about Debian and Enlightenment or E17 and E18. 😉
There must be some more flavors of Enlightenment over Debian. You/readers can help to dig those out. You can also test those Debian and Enlightenment combinations those I have talked about and let me know.
Rsync=Local backup, Rsync over ssh=server backup. Take XXX.XXX.XXX.XXX as your IP address(local or remote).
First download Rsnapshot and install. I am using Bodhi Linux and used apt package.
Prepare you server for password-less entry. Create keys and send to your server.(Optional if you are curious and Super Geek 😉 )
$ sudo ssh-keygen -t dsa
Now go to .ssh directory.
$ cd .ssh
$ sudo ssh-copy-id -i id_dsa.pub root@XXX.XXX.XXX.XXX
Now chek if you are successfully able to run the command below
$ sudo ssh root@XXX.XXX.XXX.XXX
now Edit /etc/rsnapshot.conf.
Check your rsnapshot root
Un-comment the following Line
Read carefully the file. It uses <tab> rather than space. Move down and down and read the file you will find some settings like Intervals for backup and remote commands. You can read and give try if you want.
Now if you are backing up Local go under #localhost for remote go under # EXAMPLE.COM
I am doing server backup here so I add following under #EXAMPLE.COM
backup email@example.com:/etc/ myserver-etc/ (remember <tab> here. This line is like backup<tab>firstname.lastname@example.org:/etc/<tab>myserver-etc/)
So in the above line we are instructing Rsnapshot to bakup /etc folder on server to /myserver-etc on local computer. /myserver-etc will be created automatically under rsnapshot root(locally).
Save & Exit.
$ sudo rsnapshot configtest
if you did everything OK you will be get output: Syntax OK
$ sudo rsnapshot hourly
It will start Rsnapshot on hourly basis for backup. It will take some time to complete the command. After the completion you can move to rsanpshot root and check for backed-up files like hourly.0 or hourly.1
To stop use:
$ sudo rsnapshot -q hourly
I followed the tutorial from: https://www.youtube.com/watch?v=Pf2uC9izWtI&list=PL46CECC9242712613
PS:It is difficult to do read all and follow steps. 😛 NEED SCRIPTING….!!! 😀