6 june 2013

Leave a comment

Today I learned how to make library, it is very simple I had added  add and subtract function  to my library for creating library we basically need to have 3 files :

1) header file : Where the class and the constructor is declared

2).cpp file: In this file constructors are defined

3)main.cpp: In this file you can use the function added in the library

Steps to make shared library:

1) g++ -c -Wall -Werror -fpic add.cpp
2)g++ -shared -o libarithm.so add.o
3)g++ /home/manmeet/Desktop/ma
manmeet.html~  math _lib/
4)g++ -L/home/manmeet/Desktop/math\ _lib/ -Wall -o prog main.cpp -larithm
5)export LD_LIBRARY_PATH=/home/manmeet/Desktop/math\ _lib/:$LD_LIBRARY_PATH
6)./prog

4 june 2013

Leave a comment

Our task is to enter the arc entity in library, for adding arc entity we need point(x, y coordinate) , radius , starting angle and end angle. So I was told by my mentor what steps I need to follow to add arc entity. I made changes in following files:

1. dxf_2D.h

2.dxf_dxf.cpp

3.makefile

4. created dxf_arc.cpp

2 june 2013

Leave a comment

oday we studied Akaur library and learned how to use that library, it’s very simple to use and download . Steps to install Akaur library:

INSTALLATION:
————-
1) Open the terminal and type

$ git clone git://github.com/Akaur/testing.git

2) Go to this directory

$ cd testing

3) Run make

$ make

1 june 2013

Leave a comment

sir assigned us a project on Akaur/testing library, this library is made by avneet kaur, my senior. Akaur defines functions for drawing line, point, rectangle, circle and also provides hashing function in Librecad it makes dxf format file used by librecad.

Steps to install librecad. 

  • sudo apt-get install librecad

to run librecad

  • press ctrl+alt+t
  • cd
  • librecad

 

30 June 2013

Leave a comment

steps to install Inkspace

Inkscape is an open source drawing tool for creating and editing SVG graphics.

                        “sudo apt-get install inkscape”

Errors of pain in wordpress

Leave a comment

 

 

Blank screen when you go to http://localhost/wordpress/

Sol:
This error usually occurs due to some faulty syntax or some irregularities with your file.
In the wp-config.php file, find the code
define(‘WP_DEBUG’, false);
set it to
define(‘WP_DEBUG’, true);
Now your browser will show the errors that could result in Blank Page Error.

Plugins in wordpress

Leave a comment

select plugins

  • go to Plugins
  • go to installed plugins
  • There will be the list of your installed plugins; select the plugins by just clicking the activate button below the dis

To install wordpress plugins

  • go to wordpress.org/plugins/
  • There will be list of themes. you can download the choice just by clicking on : Download option
  • there will be .Zip file in your download directory
  • Extract that file in /var/www/wordpress/wp-content/wp-plugins
  • now your plugins is installed

now you can select your installed plugins by using first group of steps

Themes in wordpress

Leave a comment

start coding now:

log in to your  account non wordpress and

select theme

  • go to Appearance
  • go to Themes
  • There will be the thumbnail of your installed themes; select the theme by just clicking the activate button below the picture

To install wordpress theme

  • go to wordpress.org/themes/
  • There will be list of themes. you can download the choice just by clicking on : Download option
  • there will be .Zip file in your download directory
  • Extract that file in /var/www/wordpress/wp-content/wp-themes
  • now your theme is installed

now you can select your installed themes by using first group of steps

Languages to efficient use of wordpress

Leave a comment

learn Html

learn css

learn javascript

learn php

guidelines for making website

Leave a comment

  • choose your layout –keep it as simple as possible
  • choose your colors –choose classic colors rather than funky
  • decide your contents
  • decide the no of pages
  • decide theme
  • decide the functionality
  • make it responsive
  • dont use moving contetnt

Take a pen and copy and write all the points that are in ypur mind about your website

remember:  it is very difficult to make a website if you start codding without any definite structure in your mind.

Older Entries