Are you over 18 and want to see adult content?
More Annotations
![A complete backup of https://geo-reisecommunity.de](https://www.archivebay.com/archive6/images/17a8f340-7b2a-4071-8974-85c942b54b9a.png)
A complete backup of https://geo-reisecommunity.de
Are you over 18 and want to see adult content?
![A complete backup of https://orionadvisor.com](https://www.archivebay.com/archive6/images/456105a8-ae0f-4b7b-9165-2067cf11a280.png)
A complete backup of https://orionadvisor.com
Are you over 18 and want to see adult content?
![A complete backup of https://inpolitics.ro](https://www.archivebay.com/archive6/images/8db315a3-19ad-493d-a4ac-ac71179f7b03.png)
A complete backup of https://inpolitics.ro
Are you over 18 and want to see adult content?
![A complete backup of https://77professional.ru](https://www.archivebay.com/archive6/images/f5842ed3-43fa-4fda-92e7-eee7812f0041.png)
A complete backup of https://77professional.ru
Are you over 18 and want to see adult content?
![A complete backup of https://cn-zhongming.com](https://www.archivebay.com/archive6/images/3de76728-52ec-4d1a-a323-af1287d98001.png)
A complete backup of https://cn-zhongming.com
Are you over 18 and want to see adult content?
![A complete backup of https://debragga.com](https://www.archivebay.com/archive6/images/b1ba3b9c-00a2-4519-9b99-01c02d48cb03.png)
A complete backup of https://debragga.com
Are you over 18 and want to see adult content?
![A complete backup of https://voetbalcentraal.nl](https://www.archivebay.com/archive6/images/78a9063a-25bf-4b28-9482-cebe7a79df94.png)
A complete backup of https://voetbalcentraal.nl
Are you over 18 and want to see adult content?
![A complete backup of https://minbzk.nl](https://www.archivebay.com/archive6/images/4e4ee1b5-f68a-420f-a2b5-16ec70614dc0.png)
A complete backup of https://minbzk.nl
Are you over 18 and want to see adult content?
![A complete backup of https://amnesty.cz](https://www.archivebay.com/archive6/images/cdda8399-e0fc-4b33-96f5-f39616b54a31.png)
A complete backup of https://amnesty.cz
Are you over 18 and want to see adult content?
![A complete backup of https://thecurtis.com](https://www.archivebay.com/archive6/images/10a9273a-2075-4ba5-90f8-507d4554e213.png)
A complete backup of https://thecurtis.com
Are you over 18 and want to see adult content?
![A complete backup of https://telecharge.com](https://www.archivebay.com/archive6/images/b0e43d26-6b4b-43dc-9979-a35b270d3721.png)
A complete backup of https://telecharge.com
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of pics2remember.com](https://www.archivebay.com/archive2/753c5643-49aa-4a34-b973-9d6a76973f29.png)
A complete backup of pics2remember.com
Are you over 18 and want to see adult content?
![A complete backup of productrapid.com](https://www.archivebay.com/archive2/e063c9e5-3480-403c-bc4f-488aed22f8f9.png)
A complete backup of productrapid.com
Are you over 18 and want to see adult content?
![A complete backup of indoorclimbing.com](https://www.archivebay.com/archive2/5a5f7af9-e608-4fee-8744-108239bd6df5.png)
A complete backup of indoorclimbing.com
Are you over 18 and want to see adult content?
![A complete backup of barlamanalnsaa.com](https://www.archivebay.com/archive2/526a2053-f768-46dc-9351-2a4bb3160c53.png)
A complete backup of barlamanalnsaa.com
Are you over 18 and want to see adult content?
Text
PAGES
* Home
* Guest Post
* About us
THURSDAY, 30 JULY 2015 HOW TO CREATE A PROXY FOR FREE USING GOOGLE 2015Hey folks,
After long time started blogging again :) HOW TO CREATE A PROXY FOR FREE USING GOOGLE?LETS BEGIN,
1. Download and install python from here ( preferably ~2.7 version) 2. Download and install GOOGLE APP ENGINE FOR PYTHON from here.
3. Open GOOGLE APP ENGINE you just installed, you should configure it 3.1. Set the pythonw.exe path 3.2 Select the folder in which google app engine is installed 3.3 Select notepad.exe from your program files or any othereditor.
3.4 Leave last blank as empty and save settingsLike this
4. Go to console.developers.google.com/project (login if you have not) 5. Click on Select project - create project 6. Give any name and save it, wait for some time page will reload and you will find project id: *****.Like this
7. Now Download this proxy code hereand extract
it
8. Goto google app engine software you configured in step 3, click file -> add existing application and select folder you downloaded and extracted in step 7 and click ok. 9. now that applcation will be added so select edit option and you can find application identifier field paste the project id: **** value which you got in step 6, save the file. 10. In google app engine software click deploy wait till it shows deployment successfull, uploading indexes and now you can close thewindow.
Hurray! Thats it you created a proxy using google for free, now you can use project id.appspot.com/ any-web-url to hide your self. Ex: wetechies-1022.appspot.com/techworldspeakers.in Posted by Unknown at11:44
3 comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: CREATE A PROXY FOR FREE USING GOOGLE - 2015 updated WEDNESDAY, 8 APRIL 2015 GETTING STARTED WITH ANDROID STUDIO With over 1 billion Android devices already activated, Android represents an incredible opportunity for developers. The skills you learn in this course will help you build awesome apps for smartphones and tablets today, and propel you towards exciting opportunities in Android's future. Before start exploring Android Studio, you'll first need to downloadand install
it.
Note that you need to have JDK 6 or higher installed and have the environment variables set as shown below. JAVA ENVIRONMENT SET UP 1)GO TO MY COMPUTER PROPERTIES 2)CLICK ON ADVANCED TAB 3)CLICK ON ENVIRONMENT VARIABLES 4)CLICK ON NEW TAB OF USER VARIABLES 5)WRITE PATH IN VARIABLE NAME 6)COPY THE PATH OF BIN FOLDER 7)PASTE PATH OF BIN FOLDER IN VARIABLE VALUE 8)CLICK ON OK BUTTON 9)CLICK ON OK BUTTON Now your java environment is set.You can now execute any program of java from any drive. ANDROID STUDIO SET UP If you're on Windows, launch the.EXE file and follow the steps of the setup wizard. If you're running OS X, mount the disk image by double-clicking it and drag Android Studio to your APPLICATIONS folder. If you've successfully completed the above steps, then your development environment should be set up correctly. You're now ready to create your first Android application using Android Studio. When you launch Android Studio for the first time, you should be presented with a welcome screen, offering you a number of choices to get youstarted.
In this tutorial, we're going to choose the NEW PROJECT option. However, you can choose IMPORT PROJECT if you'd like to import a project from, for example, Eclipse, into Android Studio. Android Studio will convert the Eclipse project to an Android Studio project, adding the necessary configuration files for you. If you select OPEN PROJECT from the list of options, you can open projects created with either Android Studio or IntelliJ IDEA. By choosing CHECK OUT FROM VERSION CONTROL, you can check out a copy of a project that's under version control. This is a great way to quickly get up to speed with an existing project. To get us started, choose NEW PROJECT from the list of options. This will show you a list of options to configure your new project. In this tutorial, we're going to create a simple application to show you some of Android Studio's most important features. I'm sure you agree that there's no better name for our project than HELLOWORLD. As you can see in the above screenshot, I've named my application HELLOWORLD and set the module name to HELLOWORLD. If you're unfamiliar with IntelliJ IDEA, you may be wondering what a module is. A module is a discrete unit of functionality that can be compiled, run, tested, and debugged independently. Modules contain source code, build scripts, and everything else required for theirspecific task.
When creating a new project, you can also set the package name of the project. By default, Android Studio sets the last element of the project's package name to the name of the module, but you can change it to whatever you want. The other settings are the project's location on your machine, the minimum and target SDK, the SDK your project will be compiled with, and the project's theme. You can also tell Android Studio to create an Activity class and a custom launch icon for you, and whether the project supports GridLayout, Fragments, a Navigation Drawer, or an Action Bar. We won't create a custom icon for this application so you can uncheck the checkbox labeled CREATE CUSTOM LAUNCH ICON. Click NEXT to continue setting up your project. Because we checked the checkbox CREATE ACTIVITY in the previous step, you are asked to configure the Activity class Android Studio will create for you. Since we'll be starting with a blank Activity class, you can click NEXT to proceed to the next step in the setup process in which you're asked to name the Activity class, the main layout, and the fragment layout. You can also set the navigation type, which we'll leave at NONE for this project. Take a look at the next screenshot to see what your settings should look like. After clicking FINISH, you'll be presented with Android Studio's user interface with the project explorer on the left and the workspace on the right. With your project set up in Android Studio, it's time to explore some of the key features of Android Studio. 2. ANDROID VIRTUAL DEVICES An Android Virtual Device or AVD is an emulator configuration, allowing you to model an Android device. This makes running and testing applications on a wide range of devices much easier. With an Android Virtual Device, you can specify the hardware and software the ANDROID EMULATOR needs to emulate. The preferred way to create an Android Virtual Device is through the AVD MANAGER, which you can access in Android Studio by selecting ANDROID > AVD MANAGER from the TOOLS menu. If you're development environment is set up correctly, the Android Virtual Device Manager should look similar to the screenshot below. To create a new AVD, click NEW... on the right, give the AVD a name, and configure the virtual device as shown below. Click OK to create your first AVD. To use your newly created AVD, select it from the list in the AVD manager, and click START... on the right. If your AVD is set up correctly, the Android Emulator should launch as shown in thescreenshot below.
With the Android Emulator up and running, it's time to launch your application by selecting RUN 'HELLOWORLD' from the RUN menu. That's how easy it is to run an application in the Android Emulator.CONCLUSION
In this tutorial, we've taken a brief look at some of the key features of Android Studio. It is very similar to IntelliJ IDEA, but it contains a number of important enhancements that make Android development easier, faster, and more enjoyable. Posted by Unknown at10:50
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: 32 bit java
, 64bit
java ,
android adt bundle
,
android studio
,
checking java is installed or not SUNDAY, 18 AUGUST 2013 DISPLAYING BATTERY STATUS IN ANDROIDHi,
Lets have some FUN IN ANDROID! HAVE YOU EVER THOUGHT OF DISPLAYING BATTERY STATUS IN % WHEN EVER THE BATTERY STATUS CHANGES? DISPLAYING ALERT WHEN BATTERY LEVEL REACHES BELOW CERTAIN LEVEL? Yes!!! Lets do it in this post right now ;) The approach for doing this is, Yes USING BROADCASTRECEIVER Register it to ask android to notify you for every % of battery changes. Use this function to accomplish it. private void batteryLevel() { BroadcastReceiver batteryLevelReceiver = new BroadcastReceiver() { public void onReceive(Context context, Intentintent) {
context.unregisterReceiver(this);int rawlevel =
intent.getIntExtra("level", -1); int scale = intent.getIntExtra("scale",-1);
int level = -1;
if (rawlevel >= 0 && scale > 0) { level = (rawlevel * 100) /scale;
}
batterLevel.setText("Battery Level Remaining: " + level + "%");if(level<30)
Toast.makeText(getBaseContext(), "your battery is very low", Toast.LENGTH_LONG).show();else
Toast.makeText(getBaseContext(), "your battery is fine", Toast.LENGTH_LONG).show();}
};
IntentFilter batteryLevelFilter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED); registerReceiver(batteryLevelReceiver, batteryLevelFilter);}
Call this function and it will register receiver and it will be triggered when every battery level changes. When battery level changes this receiver will be called and onRecieve() is the default method that gets executed and this functionmust be overridden.
We unregistered Broadcastreceiver to make sure the function is not interrupted while executing and then at end of the function we register it again. I have displayed low when battery level reaches below 30% and fine when it is above that. Probably you can implement it in your custom way. It doesn't require any changes in Manifest file. The output will be like this Have a doubt please comment. You can download complete source code from herePosted by Unknown at
08:49
1 comment:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: android application,
battery alert in android,
Broadcast receiver usage,
display battery status in android,
show battery status in percentage WEDNESDAY, 14 AUGUST 2013 C PROGRAM TO PRINT INDIA MAP Happy independence day !!!!!!!!!!! C program to print INDIA MAP#include
void main()
{
int a,b,c;
for (b=c=10;a="- FIGURE?, UMKC,XYZHello Folks,\ TFy!QJu ROo TNn(ROo)SLq SLq ULo+\ UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\ NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\ HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\ T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\Hq!WFs XDt!" ; ) {
for(; a-- > 64 ; )
{
putchar ( ++c=='Z' ? c = c/ 9:33^b&1);}
}
}
Here is the output of the above program Posted by Unknown at19:54
5 comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
MONDAY, 5 AUGUST 2013 CREATING CAPTCHA USING PHPWhat is CAPTCHA?
CAPTCHA STANDS FOR COMPUTER AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART They are used for providing security in various applications like login forms , registration , password recovery etc . Now lets Create our own CAPTCHA APPLICATION .Here goes the html
code for the application . The file is named as Captcha.htmlHere goes the PHP
code for image creation. The file is named as captcha_validation.php.Here goes the PHP
for image creation.
The file is named as image_creation.php. Here is the output screen Just download the files from hereand enjoy
:-)
All the best :-)
Leave your doubts and suggestions in the comments section :-) Posted by Unknown at08:26
1 comment:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: captcha
, PHP
, security
, verifiation
TUESDAY, 30 JULY 2013 HOW TO BUILD CROSS PLATFORM MOBILE APPLICATIONS HOW TO BUILD SINGLE APPLICATION WHICH WORKS ON ALL MOBILEPLATFORMS?
Although ANDROID has occupied good market share and blooming, still there are many mobile platforms like BLACKBERRY, WINDOWS, SYMBION, IOS. For each of this you need to setup a environment and learn each. DO YOU KNOW YOU CAN JUST CREATE A MOBILE APPLICATION ON DIFFERENT PLATFORMS JUST USING HTML, CSS,XML FILE?
Then just build it into any platform you want. Thats cool!! Want to see how? let me start quickly You need following things to start 1. SETUP JAVA ON YOUR SYSTEM - Windowsor linux
2. DOWNLOAD AND INSTALL NODE.JS from here for windows and Linux users install using sudocommand.
3. DOWNLOAD ANT from here Extract and Add path to the ant\bin to your PATH variable. Ex: I have extracted to APACHEANT folder so am adding this tomy path variable
; C:\APACHEANT\APACHE-ANT-1.9.2\BIN Now you have ANT CONFIGURED. After you configure above properly check typing javac --version, Ant and npm to make sure you have configured it properly. when typed above commands it should not output "'**** IS NOT RECOGNIZED AS AN INTERNAL OR EXTERNAL COMMAND,OPERABLE PROGRAM ORBATCH FILE".
NOW INSTALL CORDOVA by typing SUDO NPM INSTALL -GCORDOVA
NOTE: WINDOWS USERS TYPE WITH OUT SUDO KEYWORD. This will install cordova. WHAT IS CORDOVA?? That's a obvious question. Cordova is API by apache previously called PHONEGAP, which contains many libraries or api functions to program easily with out usingspecific sdk.
It also has build on cloud option, using this we can build application targeting any platform with out downloading any sdk of any platform. So now you got some idea right !!! Once you INSTALL CORDOVA as shown above, CREATE A CORDOVA APP CREATE CORDOVA WETECHIES COM.EXAMPLE.CORDOVA HELLOWETECHIES where HELLOWETECHIES is display text and COM.EXAMPLE.CORDOVA is domain name or package name and WETECHIES is a folder name which will contain HTML, css files platforms etc. Now two things can be done 1. DEVELOPING THE APPLICATION BY EDITING HTML AND CSS FILES AND BUILDING REMOTELY FOR ANY PLATFORM AND DOWNLOADING APK OR PLATFORM SPECIFIC FILE THEN CHECK ON YOUR PHONE 2. DOWNLOAD SDK OF PLATFORM WHICH YOU WANT TO TARGET IMPORTING PROJECT INTO ECLIPSE AND DEVELOPING WHERE YOU CAN USE EMULATOR TO CHECK YOU APPLICATION. In this post am going to show how to use first method :) So after creating a project, you have to change directory (go insidethe directory)
CD WETECHIES
Compress the wetechies folder in zip format ( currently rar is notaccepted)
Now go to this URL phone gap buildand register
yourself.
Now after signing in click on +NEW APP and click on private tab. Click on upload .zip file and select you compressed file and upload. After uploading is compeleted you can see that app in apps sections and click on Ready to build. Click on the platform you need to target For demo purpose I selected Android, second from left As I selected ANDROID AS MY PLATFORM, It has build for android and also for windows,hp,i. You can click on specific platform extension like for android on APK file to download and test it onyour phone.
As you have got error for ios and others, you can click and fix it, you will be guided to fix it as BUILDING IOS APPLICATIONS is quite different from rest. Once you install and run on your phone, you can see the DEMO APPLICATION CREATED BY PHONEGAP you can edit and further proceed by following there api documentation at phonegap.com.happy blogging :)
Ask us if you have any doubts or stuck with anything :) Posted by Unknown at01:14
2 comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: android development using phonegap,
cross platform mobile application,
Mobile Application development using cordova,
what is phonegap and cordova SUNDAY, 28 JULY 2013 CREATING YOUR OWN LIBRARY USING GNU'S ARCHIVE (AN INTERESTING EXAMPLEFOR THE AR COMMAND)
Hi ,
Follow this post
if you want to start up with some basic information regarding Clibrary .
In this post you will be CREATING YOUR OWN LIBRARY and also be using it in your own program , the post will also demonstrate the use of the ar(archive) command. Lets start CREATING AND USING OUR LIBRARY STEP 1 :- Lets create two files for demonstration .File 1 } myadd.c
#include
int myadd(int a , int b) {
int res;
res = a + b;
return res;
}
File 2 } mysub.c
#include
int mysub(int a , int b) {
int res;
res = a - b;
return res;
}
STEP 2 :- Lets create object codes of the above two c codesGCC -C MYADD.C
GCC -C MYSUB.C
Follow this post
to get some more information about the above command. STEP 3 :- Lets create our HEADER FILE having the prototypes of the myadd() and mysub() functions.myheader.h
#include
int myadd(int a , int b); int mysub(int a , int b); STEP 4 :- Lets create the library file using the AR COMMAND . We specify the name of the library file and the object codes to be grouped together as a library as the arguments to the ar command . AR CR MYLIB.A MYADD.O MYSUB.O THE GNU AR PROGRAM CREATES, MODIFIES, AND EXTRACTS FROM ARCHIVES. AN ARCHIVE IS A SINGLE FILE HOLDING A COLLECTION OF OTHER FILES IN A STRUCTURE THAT MAKES IT POSSIBLE TO RETRIEVE THE ORIGINAL INDIVIDUAL FILES (CALLED MEMBERS OF THE ARCHIVE). THE OPTION C CREATES THE ARCHIVE AND THE OPTION R INSERTS THE FILES INTO THE ARCHIVE BY REPLACING ANY PREVIOULY EXISTING MEMBERS OF THE ARCHIVE . To view to contents of the mylib.a file we can use the following command
AR T MYLIB.A
STEP 5 :- Congrats you have created your LIBRARY , Now lets write our own program with the library we created. my_program_with_myheader.c #include"myheader.h"int main()
{
int res;
res = myadd(10 , 20); res = mysub(50 , 20); printf("The result after addition is %d\n",res); printf("The result after subtraction is %d\n",res);}
You can see the myheader.h file created by you being used in theprogram .
Lets COMPILE the above file gcc my_program_with_myheader.c mylib.a -o my_output Now execute the output file to get the required output./MY_OUTPUT
The below figure shows the whole processThats it !!!
Leave your comments and suggestions and doubts in the commentssections
Posted by Unknown at08:50
4 comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: ar , archive, executable
, gnu
, header
, library
, linux library
, shared
library
, static
library
SATURDAY, 27 JULY 2013 AN INTRODUCTION TO LIBRARY FILESWHAT IS A LIBRARY ?
In simple terms - a library is obtained by grouping multiple compiled object code files . Libraries are also know as shared components orarchive libraries .
WHEN TO CREATE/USE LIBRARY? A library can be created when ever you have some functions or any piece of code that will be used by many applications . Instead of rewriting that piece of code in every application repeatedly , you can just include the library in a single statement . Seems to be useful??? read furtherTYPES OF LIBRARIES
In linux there are 2 c/c++ library types 1 } STATIC LIBRARY - These are files that have the .a extension ( .lib in windows ) . The static library is linked into the executable during the link time . All the codes related to the library will be in this file . A program that makes use of the static library file will take all the codes that uses from the static library and will make it as a part of the program itself. 2 } SHARED/DYNAMIC LIBRARY - These are files that have the .so extension ( .dll in windows ) .This can be used in 2 ways . a } Dynamically linked at run time . The shared objects will not included to the executable component but it will be tied to the execution . b } Can be loaded and unloaded during execution using the dynamic linking loader system functions . Posted by Unknown at22:08
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: dynamic library,
executable file
,
library , object
code ,
shared library
, static
, static library
WEDNESDAY, 24 JULY 2013 CREATING EXECUTABLE FILE BY LINKING OBJECT FILES IN LINUX Hello here is a simple but interesting and useful topic . Do you want to know HOW TO CREATE OBJECT FILES AND LINK THEM TOGETHER TO CREATE AN EXECUTABLE FILES?? Well , your in the right place !!!!! In this post we will be making use of the GCC COMPILER . We will create two files 1 } wetechies.c - does not contain the main function but has the implementation of the add function . 2 } wetechiesmain.c - has the main function and calls the add function present in the wetechies.c file . Here is the wetechies.c file#include
int add(int c , int d) {
int result;
result = c + d;
printf("\n\nwetechies.c file has been called\n"); printf("\n\nThe result after addition is %d\n",result);return result;
}
And here is the wetechiesmain.c file#include
int main()
{
int a , b ;
printf("\n\nwetechiesmain.c file has been called\n\n\n"); printf("Enter the two numbers to be added\n"); scanf("%d %d",&a,&b);add(a,b);
}
Now we need to CONVERT THE ABOVE C FILES INTO OBJECT FILES . We do this by using the GCC COMPILER USING THE -C OPTION WHICH COMPILES OR ASSEMBLES THE SOURCE FILES, BUT DOES NOT LINK THEM. THE LINKING STAGE SIMPLY IS NOT DONE. THE ULTIMATE OUTPUT IS IN THE FORM OF AN OBJECT FILE FOR EACH SOURCE FILE. Now lets see the steps to create the OBJECT FILES and link them to create the final EXECUTABLE FILE> . Step 1 : We create the object file (wetechies.o) file using thefollowing command
GCC -C WETECHIES.C
The above command will create the wetechies.o object file . The ls command can be used to check the contents of a directory . Step 2 : We create the object file (wetechiesmain.o) file using thefollowing command .
GCC -C WETECHIESMAIN.C The above command will create the wetechiesmain.o object file . Step 3 : In this step we will link the two object files that we created in the above two steps in order to create the final executablefile .
This is done by using the following command . GCC -O WETECHIES_EXECUTABLE WETECHIES.O WETECHIESMAIN.O THE -O OPTION USED ALONG WITH THE GCC COMMAND WILL PLACE OUTPUT IN FILE WETECHIES_EXECUTABLE . THIS APPLIES REGARDLESS TO WHATEVER SORT OF OUTPUT IS BEING PRODUCED, WHETHER IT BE AN EXECUTABLE FILE,AN OBJECT FILE, AN ASSEMBLER FILE OR PREPROCESSED C CODE. WHEN YOU LINK A .O FILE, ITS CONTENTS ARE COPIED INTO THE PROGRAM, WHETHER YOU CALL THE ROUTINES IN IT OR NOT. The above command will create an EXECUTABLE FILE with the name wetechies_executable . We execute the executable file as below ./WETECHIES_EXECUTABLE The below figure shows the whole procedure . Congrats you have obtained the correct output even though you have called the function in one file and got the implementation of it in another file !!!!!!! It all happened because you created the EXECUTABLE FILE BY LINKING TWOOBJECTS FILES .
Thats it !!!!
Leave your doubts and suggestions in the comments section . Posted by Unknown at08:56
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: .o , assemble, c
, executable file
, gcc
, gcc -c
, gcc -o
, linking
, object file
,
preprocess
SATURDAY, 13 JULY 2013 HOW TO SENT MAIL IN PHP USING GMAIL SMTPHi,
HAVE YOU EVER THOUGHT HOW TO SEND MAIL IN PHP WITH OUT USINGMAIL() ?
I know you would have used MAIL() IN PHP, then you should also know limitations of it. Setting/configuring your OUTLOOK,MERCURY,THUNDERBIRD to use mail() is an hurdle and it doesn't provide much flexibiity too. Do you know there are many libraries to send mail? indeed powerfull libraries like
phpmailer, swiftmailer. These classes or libraries have been written to make sending mail using PHP easier and SEND MAIL WITH MORE FLEXIBILITY AND FEATURES. In this demo am going to use PHPMAILER class as swiftmailer is also good but I prefer and recommend phpmailer because swiftmailer class has not been updated recently and where PHPMAILER HAS GOOD DOCUMENTATION AND NEW RELEASES ARE ALWAYS ONTHE WAY.
Lets start now :)
First download phpmailer from here.
Extract it to your local host directory (ex: htdocs in windowsxampp).
Now you have a directory called phpmailer in your webdirectory.
Now write a php script, first INCLUDE PHPMAILER CLASS. require_once './phpmailer/class.phpmailer.php'; Now INSTANTIATE THE PHPMAILER CLASS. $mail = new PHPMailer(true); Now $mail contains instance of PHPMailer class now you can configure all the propertiesof it.
$mail->CharSet = 'utf-8'; //sets character set $to = 'wetechies.2013@gmail.com'; //from whom the mail should be sent $mail->IsSMTP(); //To inform that we are using SMTP $mail->SMTPDebug = 2; //Shows long message set to 1 to avoid it $mail->Host = "smtp.gmail.com"; // As we are using gmail SMTP $mail->Port = "465"; // smtp port number $mail->SMTPSecure = "ssl"; //gmail requires authentication through sslor tls
$mail->SMTPAuth = true; // your account details for authentication provide correct user nameand password
$mail->Username = "wetechies.2013@gmail.com"; $mail->Password = "mypassword"; $mail->AddReplyTo("wetechies.2013@gmail.com", "nag"); $mail->From = "wetechies.2013@gmail.com"; $mail->FromName = "wetechies blog "; $mail->AddAddress("wetechies.2013@gmail.com", "nagashayan"); $mail->Subject = "hi (PHPMailer test using SMTP)"; $body="SENDING MAIL BY USING WETECHIES POST ON HOW TO USE GMAIL SMTPTO SEND MAIL \n";
$mail->WordWrap = 80; $mail->MsgHTML($body, dirname(__FILE__), true); //Create message bodies and embed images //you can also add attachments to your mail but change file path //$mail->AddAttachment('images/phpmailer_mini.gif', 'phpmailer_mini.gif'); // optional name //$mail->AddAttachment('images/phpmailer.png', 'phpmailer.png'); //optional name
//call send() to send mail$mail->Send();
PS: The above example sends mail from wetechies.2013@gmail.com to wetechies.2013@gmail.com itself. To send to other change $mail->to =" to_whom_you have tosend";
If you don't want to take hurdle of writing script don't worry phpmailer helps you in that too. What? Yes! it generates code for you!!! Amazing right Once you download phpmailer class go to phpmailer/examples/ check for codegenerator.phps Change .phps extension to .php run that file, fill out all the details Now fill up your google account detailsSMTP Port - 465
SMTP Server - smtp.gmail.comSMTP Security - ssl
SMTP Authentication check yes Provide your username and password of google and click submit. that's it!!! you are done it gives you the PHP script if authentication is successfull. you can just run that code and send send the mail. the generated script just include that in your PHP file :) You are done, Now send mail to anyone with n no of attachments happily:)
Please leave your doubts or comments below :) Posted by Unknown at00:06
8 comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: mail() of PHP,
phpmailer class
, send
mail in php
,
send mail using external libraries,
swift mailer disadvantages,
using gmail smtp in php THURSDAY, 11 JULY 2013 CREATING PDF FILES USING PHP CREATE PDF FILES USING YOUR OWN PHP CODEWelcome ,
I'm sure you would have struggled to CONVERT YOUR DOCUMENT(DOC) FILE INTO PORTABLE DOCUMENT FILE(PDF) by searching for a converter softwareand other mean.
Why don't you CREATE A PDF FILE by your own . YES you can do it using PHP , want to try ??? Its very simple!!!!!!
For this purpose we make use of FPDF --->FPDF is a PHP CLASS using which you can GENERATE PDF FILES with pure PHP, that is without using the PDFlib library where F stands for Free FPDF has a lot of advantages and excellent features . You can download the FPDF files and from here.
To get some more idea about the functions below , you can referthis manual
Here goes the code !!!!!! PDF CREATION USING PHP /********************************************************************/require('fpdf.php'); class wetechiesPDF extends FPDF { function Header() {
$this->SetFont('Times','B',18); //prototype of the setFont function is SetFont(string family ) $this->SetY(0.5);// Moves the current abscissa back to the left margin and sets the ordinate. If the passed value is negative, it is relative to the bottom of the page. $this->Cell(0, .25, "wetechies ".$this->PageNo(), 'T', 2, "R");
//reset Y
$this->SetY(1);
}
function Footer() {
//This is the footer; it's repeated on each page. $this->Image("wetechies.jpg", (8.5/2)-1.5, 9.8, 3, 1, "JPG", "http://wetechies.blogspot.in");//prototype --> Image(string file ) }
}
//class instantiation $pdf=new wetechiesPDF("P","in","A4");//prototype--> //FPDF() here P -
portrait , //in - inches , A4 - size $pdf->SetMargins(1.5,1.5,1.5); $pdf->AddPage();
$pdf->SetFont('Times','I',16); $wetechies1="Group of techies have come together to share there experience in various domains."; $wetechies2="WETECHIES is a group of techies post about some technology/domain in which they are interested, any new thing they learn they will share here ,";
$wetechies3 ="its not related to single techi but any one can post here if you want to
share your knowledge and express yourself."; $pdf->SetFillColor(240, 100, 100); $pdf->SetFont('Times','BU',12); $pdf->Cell(0, .25, "wetechies", 1, 2, "C", 1); $pdf->SetFont('Times','B',12); //MultiCell(float width, float height, string txt ) $pdf->MultiCell(0, 0.25,$wetechies1, 1, "J"); $pdf->MultiCell(0, 0.25,$wetechies2, 1, "R"); $pdf->MultiCell(0, 0.25,$wetechies3, 1, "J"); $pdf->AddPage();
$pdf->Write(0.5, $wetechies1.$wetechies2.$wetechies3); $pdf->Output();
?>
/********************************************************************/ You can download the source code here Please leave your comments and doubts and suggestions in the comments section :-)
Posted by Unknown at 09:21
4 comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: AddPage()
, convert
doc file into pdf
,
Creating PDF files using PHP ,
FPDF , Image()
, MultiCell()
,
PageNo() ,
PDF , PHP
, SetFont()
, SetY()
WEDNESDAY, 10 JULY 2013 CREATING AND EXTRACTING ZIP FILES USING PHP Hi ,
Ever thought of writing your _OWN PHP CODE FOR COMPRESSING AND EXTRACTING YOUR FILES _ ??
Then your in the right place , by following this post you can _ZIP AND UNZIP YOUR FILES USING A PHP CODE _ . YOU CAN ALSO PERFORM OTHER OPERATIONS LIKE RENAMING THE FILES TO BE ZIPPED , GETTING THE INDEX OF THE FILE TO BE ZIPPED , EXTRACTING THE ZIPPED FILES TO THE FOLDER YOU WISH , GETTING THE NUMBER OF FILES ZIPPED AND THE NAME OF THE FILES BEING ZIPPED ETC :-) Excited ? well here it goes !!!!!!!!!! CREATE AND EXTRACT ZIP FILES USING YOUR OWN PHP PROGRAM $zip = new ZipArchive(); /*creating a variable of the zipArchive class*/
$filename = "./wetechies.zip"; /*name of the zip folder you want to create*/
Compress your files using PHP /***************Creates the zip folder if it doesn't exists , else it overwrites ***************/ if ($zip->open($filename, ZipArchive::CREATE)!==TRUE) { exit("cannot open <$filename>\n"); }
/****************** Lets add 2 files into the zip for demonstration********************/ $zip->addFromString("wetechies1.txt" . time(), "#1 welcome to wetechies blog.\n"); $zip->addFromString("wetechies2.txt" . time(), "#2 enjoy reading the blog.\n");
/***********************Just to print some archive details*****************************/ $zip = new ZipArchive(); $zip->open('wetechies.zip'); print_r($zip);
var_dump($zip);
echo "Number of files : " . $zip->numFiles . "\n"; echo "Execution status : " . $zip->status . "\n"; echo "statusSys : " . $zip->statusSys . "\n"; echo "filename : " . $zip->filename . "\n"; echo "comment : " . $zip->comment . "\n"; for ($i=0; $i<$zip->numFiles;$i++) { echo "index : $i\n"; print_r($zip->statIndex($i)); }
/**************************To print some more additional information**************/ $zip = zip_open("wetechies.zip"); if ($zip) {
while ($zip_entry = zip_read($zip)) { echo "Name of the zip file : " . zip_entry_name($zip_entry) . "\n"; echo "Actual Filesize : " . zip_entry_filesize($zip_entry) . "\n"; echo "Compressed Size : " . zip_entry_compressedsize($zip_entry) . "\n"; echo "Compression Method used : " . zip_entry_compressionmethod($zip_entry) . "\n"; if (zip_entry_open($zip, $zip_entry, "r")) { echo "The File Contents are :\n"; $buffer = zip_entry_read($zip_entry, zip_entry_filesize($zip_entry)); echo "$buffer\n"; zip_entry_close($zip_entry); }
echo "\n"; }
zip_close($zip); }
Extract your files to the folder you wish using PHP /***************Renaming and extracting the file to the folder you wish******************/ echo $zip->locateName('send.php') . "\n"; $zip->renameIndex(1,'newwetechies.txt'); $zip->extractTo("wetechiesextracted"); $zip->close();
?>
/****************************************************************************************************/ Thats it !!!!
You can download the source code from here ANY DOUBTS? OR SUGGESTION PLEASE FEEL FREE TO COMMENT :-) Posted by Unknown at 22:10
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: archive
, compress
, create
, extract
, extracting
zipped file
,
index of zipped file ,
PHP , php code for
compressing and extracting file ,
rename , renaming
the file to be zipped ,
unzip , zip
, ZipArchive
FRIDAY, 5 JULY 2013
WHAT IS A HEREDOC IN PHP? WANT TO KNOW READ THIS POST I know many will be curious to know WHAT IS HEREDOC?
Although I'm expert in PHP I don't know HEREDOC? When we learn a new language we will leave some good concepts in that by mistake..
Don't worry here is a short post for you about this Heredoc was introduced to store large or long text in a variable. We could do that with a ordinary variable also? ADVANTAGE WITH HEREDOC is we can freely use single or double quotes, where ever you need with out a need to remove its special meaning using black slash.
Just use a delimiter which ever you like to specify start and end of the text.
Ex:
_ $myheredoc=<<Impressing right?
Any doubts? or suggestion please feel free to comment :) Posted by Unknown at 08:28
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: here doc in php ,
heredoc , long
text in php
,
PHP , store large and long text
,
storing large text with quotes in php ,
tricky concept in php ,
what is heredoc in php ,
why to use here doc in php TUESDAY, 2 JULY 2013 CREATING A SITE IN 2 MINUTES USING YES IT IS (YII) PHP FRAMEWORK HOW TO CREATE A SIMPLE SITE USING PHP FRAMEWORK YII WHAT IS YII?
YES IT IS!!! THE NEW PHP FRAMEWORK which is very fast than all the existing frameworks :) The best MVC FRAMEWORK now.. LETS SEE HOW TO CREATE A SIMPLE SITE USING YII I always use Netbeans and Dreamweaver for editing _PHP files_. When it comes to using Framework I prefer Netbeans, very simple to use Frameworks.
For using _YII_ FRAMEWORK download YII from here Now in Netbeans
_goto Tools -> plugins -> Downloaded -> Add plugin _
Select the downloaded zip file and click install. You are done with installing YII FRAMEWORK plugin in netbeans Now to _create a site_, _ click File -> New Project -> PHP -> PHP APPLICATION_
Then select your localhost folder then click next untill you are prompted to select PHP Frameworks Select YII FRAMEWORK !! Thats it :) You have created a new site yourself feel happy :) Now a BASIC INTRODUCTION TO STRUCTURE OF YII, As it is MVC PATTERN FRAMEWORK
All site control (Actions,Sql commands) will be in controller files - Protected/Controllers All logic (access controls,restrictions, validations) will in model files - Protected/models All files which the user can see (login page, registration page,home page) will be called view files -Protected/views
This makes things clean and safe and powerfull YII LIBRARY makes life easier :)
Next thing is when you developed your site and want to host it, make sure you have changed this line _ yii='E:\yii-1.1.13.e9e4a0\framework\yii.php';_ to point to your current framework location in protected/config/main page :)
Thats all folks :) Now you too a WEB DEVELOPER !!! leave your doubts or suggestions in comments section.. Posted by Unknown at 09:52
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: developing a site in 2 minutes ,
error in using yii
,
hosting yii framework site ,
mvc framework basics ,
NetBeans , PHP
, PHP framework
, using
yii framework
,
yii library
CREATING SIMPLE CLOUD BASED APPLICATION Hi
Having been obtained a fair enough knowledge about cloud from the previous post
.
I am sure you would want to experience the power of cloud by exploring yourself to the cloud . Here you will learn the basics required to_ CREATE YOUR OWN CLOUD BASED APPLICATION_ . You may create a commercial app/ game app/ educational app etc , the basic set up that is to be done is more or less the same just with slight changes depending on your requirement . Here you will be setting up your development environment in the salesforce.com which is one of the cloud service provider , you can choose some other provider like the amazon / vmware / openstack / cloudstack etc
Here it goes !!!!!
Step 1 : Yes its obviously the registration process . Get yourself registered from here .
Step 2 : Congrats you have actually completed the set up required . Now to start using your account in an useful way , read step 3. Step 3 : Once you have logged in using your account , you can use your _CLOUD ENVIRONMENT_ in three perspective 1 } Administrator 2 } Developer 3 } Monitor As an administrator you can perform a wide range of critical/interesting operations like
Manage Users
Manage Apps
Company
Profile
Security
Controls
Communication
Templates
Translation
Workbench
Data
Management
Mobile
Administration
Desktop
Administration
Email
Administration Google Apps Being a developer you have options to _CREATE YOUR OWN CLOUD APPLICATION_ and customize it as you wish for your purpose . In the perspective of a monitor you have the following options
System Overview Imports Case Escalations Mass Emails Step 4 : What else... _CUSTOMIZING YOUR CLOUD ENVIRONMENT_ for your application .
Creating the Objects To create the objects go to _Your user Name,_ located in the upper-right corner of the Main page. Select Setup from the list. Click on _CREATE_ and click on _OBJECTS_ and click next and fill in the necessary details in the next page . Step 5 : Similarly you can create your own _CUSTOMIZED TABS_ and _INVOICE OBJECTS_ and expand the power of your application to a wide range of areas .
Please feel free to leave your comments or doubts..... Posted by Unknown at 01:16
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: cloud ,
cloud based Application ,
cloud environment
,
cloud serveice provider ,
cloudstack ,
commercial application ,
educational application ,
game application
,
openstack ,
salesforce
Older Posts
Home
Subscribe to: Posts (Atom) * Models
* Download
* Download and install * Reverse Directory
* Losing weight quickly * Tutorial
* Code Source
CONTRIBUTORS
* Amrutha
* PriyankaKaranth
* Unknown
* Unknown
* Unknown
* Unknown
* Unknown
* harsha
BLOG ARCHIVE
* ▼ 2015 (2)
* ▼ July (1)
* HOW TO CREATE A PROXY FOR FREE USING GOOGLE 2015 * ► April (1)
* ► 2013 (33)
* ► August (3)
* ► July (11)
* ► June (6)
* ► May (13)
AMAZON
Amazon.com Widgets
SUBSCRIBE
Wetechies blog. Awesome Inc. theme. Powered by Blogger .
Health Services
Find Local Health Services in your area. Button (3)
www.LocalHomeTown.com Infolinks Embraces Emerging Publishers Provides advertising income to emerging websites Button (3)
www.adotas.com
class*/
$filename = "./wetechies.zip"; /*name of the zip folder you want tocreate*/
Compress your files using PHP /***************Creates the zip folder if it doesn't exists , else it overwrites ***************/ if ($zip->open($filename, ZipArchive::CREATE)!==TRUE) { exit("cannot open <$filename>\n");}
/****************** Lets add 2 files into the zip for demonstration********************/ $zip->addFromString("wetechies1.txt" . time(), "#1 welcome to wetechies blog.\n"); $zip->addFromString("wetechies2.txt" . time(), "#2 enjoy reading theblog.\n");
/***********************Just to print some archive details*****************************/ $zip = new ZipArchive(); $zip->open('wetechies.zip');print_r($zip);
var_dump($zip);
echo "Number of files : " . $zip->numFiles . "\n"; echo "Execution status : " . $zip->status . "\n"; echo "statusSys : " . $zip->statusSys . "\n"; echo "filename : " . $zip->filename . "\n"; echo "comment : " . $zip->comment . "\n"; for ($i=0; $i<$zip->numFiles;$i++) { echo "index : $i\n"; print_r($zip->statIndex($i));}
/**************************To print some more additional information**************/ $zip = zip_open("wetechies.zip");if ($zip) {
while ($zip_entry = zip_read($zip)) { echo "Name of the zip file : " . zip_entry_name($zip_entry) . "\n"; echo "Actual Filesize : " . zip_entry_filesize($zip_entry) . "\n"; echo "Compressed Size : " . zip_entry_compressedsize($zip_entry) . "\n"; echo "Compression Method used : " . zip_entry_compressionmethod($zip_entry) . "\n"; if (zip_entry_open($zip, $zip_entry, "r")) { echo "The File Contents are :\n"; $buffer = zip_entry_read($zip_entry, zip_entry_filesize($zip_entry)); echo "$buffer\n"; zip_entry_close($zip_entry);}
echo "\n";}
zip_close($zip);}
Extract your files to the folder you wish using PHP /***************Renaming and extracting the file to the folder you wish******************/ echo $zip->locateName('send.php') . "\n"; $zip->renameIndex(1,'newwetechies.txt'); $zip->extractTo("wetechiesextracted");$zip->close();
?>
/****************************************************************************************************/Thats it !!!!
You can download the source code from here ANY DOUBTS? OR SUGGESTION PLEASE FEEL FREE TO COMMENT :-) Posted by Unknown at22:10
No comments:
Email This
BlogThis!
Share
to Twitter
Share
to Facebook
Share
to Pinterest
Links to this post
Labels: archive
, compress
, create
, extract
, extracting
zipped file
,
index of zipped file,
PHP , php code for
compressing and extracting file,
rename , renaming
the file to be zipped,
unzip , zip
, ZipArchive
FRIDAY, 5 JULY 2013
WHAT IS A HEREDOC IN PHP? WANT TO KNOW READ THIS POST I know many will be curious to knowWHAT IS HEREDOC?
Although I'm expert in PHP I don't know HEREDOC? When we learn a new language we will leave some good concepts in thatby mistake..
Don't worry here is a short post for you about this Heredoc was introduced to store large or long text in a variable. We could do that with a ordinary variable also? ADVANTAGE WITH HEREDOC is we can freely use single or double quotes, where ever you need with out a need to remove its special meaningusing black slash.
Just use a delimiter which ever you like to specify start and end ofthe text.
Ex:
_ $myheredoc=<<Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0