I have a n/wing  pro and plzzzz if ne of u have solution 4 that plzzzz help

actualy i am doing a prjt on chatting and i am not able make contact b/w 2 pc on a n/w .s/w is working fine when i connect 2 pc on lan,mean with this s/w i can smoothly chat with client connected via server , here i am sending my server side prog and prog that i am using on client to make contact with other client via ser.
plz if ne of u guy know the solution of this pro plzzzzzz tell me and plzzzzzzzzz
server side pro
//import classes
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.util.*;
import javax.swing.Timer;
//Code for the AppServer class
public class AppServer implements Runnable
     ServerSocket server;
     Socket fromClient;
     Thread serverThread;
     public AppServer()
         System.out.print("FunChat server started..........");          
            try
               server = new ServerSocket(5431);
               serverThread = new Thread(this);
               serverThread.start();          
          catch(Exception e)
               System.out.println("Cannot start the thread: " + e);
     public static void main(String args[])
          new AppServer();
     public void run()
          try
               while(true)
                    //Listening to the clients request
                    fromClient = server.accept();
                     //Socket toServer = server.accept();
                    //Creating the connect object
                    Connect con = new Connect(fromClient);
          catch(Exception e)
                System.out.println("Cannot listen to the client" + e);
//Code for the connect class
class Connect
           ObjectOutputStream streamToClient;
     int ctr=0;
     BufferedReader streamFromClient;
        static Vector vector;
     static Vector vctrList;
     String message=" ";
     static String str=new String("UsrList");
         static
           vector=new Vector(1,1);
        vctrList=new Vector(1,1);
        vctrList.addElement((String)str);
     int verify(String mesg)
          try
          RandomAccessFile RS=new RandomAccessFile("UsrPwd.txt", "rw");
          int i=0;
          String str="";
          while((RS.getFilePointer())!=(RS.length()))
               str=RS.readLine();
               if(str.equals(mesg))
                    ctr=1;
                    break;
          RS.close();
          catch(Exception e)
          return ctr;
     }//end of verify()       
int checkFile(String mesg)
          int chk=1;
          try
          RandomAccessFile RS=new RandomAccessFile("UsrPwd.txt", "rw");
          int i=0;
          String str="";
          String colon=new String(":");
          int index=((String)mesg).lastIndexOf(colon);
          String userName=(String)mesg.substring(0,index);
          while((RS.getFilePointer())!=(int)(RS.length()))
               str=RS.readLine();
               int index1=((String)str).lastIndexOf(colon);
               String usrName=(String)str.substring(0,index1);
               if(usrName.equals(userName))
                    chk=0;
                    break;
          }//end of while
          RS.close();
          }//end of try
          catch(Exception e)
          return chk;
}//end of chkFile
public Connect(Socket inFromClient)
          //Retrieving the clients stream
          String msg="";
          String mesg="";
          try
               streamFromClient = new      BufferedReader(new InputStreamReader(inFromClient.getInputStream()));
                        streamToClient= new ObjectOutputStream(inFromClient.getOutputStream());
               msg=streamFromClient.readLine();
               //mesg=streamFromClient.readLine();
               if((msg.equals("From Timer")))
                    streamToClient.writeObject(vector);
                           streamToClient.writeObject(vctrList);
               else if(msg.equals("LoginInfo"))
                     msg=streamFromClient.readLine();
                    int ver=verify(msg);      
                    if(ver==1)
                         String colon=new String(":");
                         int index=((String)msg).lastIndexOf(colon);
                         String userName=(String)msg.substring(0,index);
                         if(!(vctrList.indexOf((String)userName)>0))
                              streamToClient.writeObject("Welcome");
                              vctrList.addElement((String)userName);
                    else
                         streamToClient.writeObject("Login denied");
               else if(msg.equals("RegisterInfo"))
                    msg=streamFromClient.readLine();
                    int ret=checkFile(msg);
                    if(ret==0)
                    streamToClient.writeObject("User Exists");
                    if(ret==1)
                         FileOutputStream out = new FileOutputStream("UsrPwd.txt",true);
                         PrintStream p = new PrintStream( out );
                         p.println();
                                  p.println(msg);
                         p.close();
                         streamToClient.writeObject("Registered");
               else if(msg.equals("User Logout"))
                    String remUser=streamFromClient.readLine();
                    boolean b=vctrList.removeElement((String)remUser);
               else
                    message=message+msg;
                    vector.addElement((String)message);
                       streamToClient.writeObject(vector);      
          }//end of try
             catch(Exception e)
               System.out.println("Cannot get the client stream connect" + e);
                finally
                     try
                            inFromClient.close();
                            catch(IOException e)
     }//end of connect     
}client side program
//import classes
import java.io.*;
import java.net.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.util.*;
import javax.swing.Timer;
public class Login extends JFrame implements ActionListener
//declare components
JLabel lblUserName;
JLabel lblUserPwd;
JTextField txtUsrName;
JPasswordField txtUsrPwd;
JButton btnLogin;
JButton btnCancel;
JButton btnRegister;
String UsrName;
char[] UsrPwd;
String strPwd;
Socket toServer;
ObjectInputStream streamFromServer;
PrintStream streamToServer;
public Login()
     this.setTitle("Login"); //set the title
        JPanel panel=new JPanel();
     panel.setLayout(new GridBagLayout());
     GridBagConstraints gbCons=new GridBagConstraints();
     //place the components on the frame     
     gbCons.gridx=0;
     gbCons.gridy=0;
     lblUserName=new JLabel("Enter Username ");
     panel.add(lblUserName, gbCons);
     gbCons.gridx=1;
     gbCons.gridy=0;
     txtUsrName=new JTextField(20);
     panel.add(txtUsrName, gbCons);
     gbCons.gridx=0;
     gbCons.gridy=1;
     lblUserPwd=new JLabel("Enter Password ");
     panel.add(lblUserPwd, gbCons);
     gbCons.gridx=1;
     gbCons.gridy=1;
     txtUsrPwd=new JPasswordField(20);
     panel.add(txtUsrPwd, gbCons);
     JPanel btnPanel=new JPanel();
     btnLogin=new JButton("Login");
     btnPanel.add(btnLogin);
     btnLogin.addActionListener(this); //add listener to the Login button
     btnRegister=new JButton("Register");
     btnPanel.add(btnRegister);
     btnRegister.addActionListener(this); //add listener to the Register button
     btnCancel=new JButton("Cancel");
     btnPanel.add(btnCancel);
     btnCancel.addActionListener(this); //add listener to the Cancel button
     gbCons.gridx=1;
     gbCons.gridy=3;
     gbCons.anchor=GridBagConstraints.EAST;
     panel.add(btnPanel, gbCons);
     getContentPane().add(panel);
     setVisible(true);
     setSize(450,200);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
//show the error message
void showdlg()
     JOptionPane.showMessageDialog(this,"Invalid Password or Login name", "Message", JOptionPane.ERROR_MESSAGE);
public void actionPerformed(ActionEvent e1)
     JButton button=(JButton)e1.getSource();
     if(button.equals(btnCancel))
          this.dispose(); //close the current frame
     else if(button.equals(btnRegister))
//          new Register(); //call Register program
          this.dispose();
     else
     try
          //create socket and input-output socket streams       
          toServer=new Socket("127.0.0.1",5431);
             streamFromServer=new ObjectInputStream(toServer.getInputStream());
             streamToServer=new PrintStream(toServer.getOutputStream());
          //send message to server for login     
          streamToServer.println("LoginInfo");
          UsrName=txtUsrName.getText();
          UsrPwd=txtUsrPwd.getPassword();
          strPwd=new String(UsrPwd);
             //send the user name and password to the server
          streamToServer.println(UsrName+":"+strPwd);
          //read the message from the server
          String frmServer=(String)streamFromServer.readObject();
          if(frmServer.equals("Welcome"))
               new clientInt(UsrName); //start the chat screen
               this.dispose();
          else
               showdlg();//show error message     
        }//end of try
     catch(Exception e)
          System.out.println("Exception Occured: "+e);
     }//end of if..else
}//end of actionPerformed
public static void main(String args[])
     new Login();
}//end of class LoginEdited by: srbh on Aug 1, 2008 12:04 AM

Becuase you use annoying non-words like "plzzz", "ne", etc., I refuse to even read your post.
Also, because you posted hugely, ridiculously, unessary wads of code, I refuse to even read your post.
Somebody else may be less of a butthole than I, but there are at least some here who share my views. It's in your own best interest to make your post appeal to the widest audience possible.
This public service announcement has been brought to you by CrankyJeff, Inc.
¶

Similar Messages

  • I downloaded Lion from the app store on to my iMac and did not save it to a thumb before installing.  Do I have to buy it again to install on my Macbook Pro and iPad or is there another way to do that?

    I downloaded Lion from the App Store on to my iMac and did not save it to a thumb before installing.  Do I have to buy it again to install  it on my Macbook Pro and iPad,  or is there another way to do that?
    All my electronics are about a year old.   iPad is Model MB293LL (4.2.1) only wi-fi - no phone.
    MacBook Pro is  OSX 10.6.8 Build 10K549.  Also have an AT&T iPhone that I basically use as a Palm, since I changed carriers.
    Thank you for your help. 
    ps: I got an error message and it looks like this did not get posted the first time.  2nd try.

    Open the Mac App Store on your MacBook Pro
    Hold the Option key and click on “Purchases”
    Hold the Option key and click on “OS X Lion” from the purchased app list
    “Installed’ should now say “Install” which allows you to download OS X Lion.
    This assumes you are using the same Apple ID on both computers.
    Lion does not get installed on an iPad. It runs iOS.

  • I have a POP Verizon e-mail address on my iMac and use Mac Mail v3.6. I recently purchased a MacBook Pro and would like to sync the e-mail so that they're the same on each machine. I've learned I must switch to IMAP...how is this done?

    I have a POP Verizon e-mail address on my iMac and use Mac Mail v3.6. I recently purchased a MacBook Pro and would like to sync the e-mail so that they're the same on each machine. I've learned I must switch to IMAP...how is this done? Please dumb it down as best you can. I have this great fear that I'll lose all my e-mails in the process.

    I have a POP Verizon e-mail address on my iMac and use Mac Mail v3.6. I recently purchased a MacBook Pro and would like to sync the e-mail so that they're the same on each machine. I've learned I must switch to IMAP...how is this done? Please dumb it down as best you can. I have this great fear that I'll lose all my e-mails in the process.

  • I have downloaded a trail version of adobe acrobat pro and when I try to use it, it says that it cannot be edited in acrobat, please use adobe livecycle designer to edit this form. I can't work out what I need to do?

    I have downloaded a trail version of adobe acrobat pro and when I try to use it, it says that it cannot be edited in acrobat, please use adobe livecycle designer to edit this form. I can't work out what I need to do?

    Acrobat XI is not distributed with Designer. Designer is now a separate product. You can create forms in Acrobat as an AcroForm or using Forms Central (an online forms program). You can print the form to a new PDF and then recreate the fields in Acrobat using the recognize form fields. You will likely have to fix the form fields, but that would be the process. Generally, once a form is taken to Designer, you can't bring it back without such steps.
    Designer is available with AA8 - AAX, but since is a separate product as I indicated.

  • Hello i have a question: I have a MacBook Pro and it takes 35 sek. to get starter. is that normal?

    Hello I have a question: I have a MacBook Pro and it takes 35 sek. to get starter, is that normal?
    because I think it's too long?

    What makes you think it's too long? Actually 35 seconds is pretty fast.

  • I am trying to register my macbook pro and every time i got a message telling me that this product is registered with different apple id, how it comes?

    I am trying to register my macbook pro and every time i got a message telling me that this product is registered with different apple id, how it comes?

    Sounds like you got a used computer and paid new for it, that's illegal.
    "Open box" is a return by a previosu customer and can't be sold as new, you should have gotten a discount or informed of such.
    Once obvious sign is it doesn't come with free iLife on it, as the drive was erased.

  • I just bought a macbook pro and I want to know how to restore pictures that were backed up on iCloud but then deleted from my phone. Isn't that the point of the backup so I can delete and make more space. Please help!

    I just bought a macbook pro and I want to know how to restore pictures that were backed up on iCloud but then deleted from my phone. Isn't that the point of the backup so I can delete and make more space. Please help!

    Log into the iCloud on your MacBook Pro and enable Photo Stream:
    Then launch iPhoto and set iPhoto's Photo Stream preferences to the following:
    Then check the Photo Stream section of iPhoto:
    This is to confirm that the photos are still in Photo Stream. If they are they will be imported into the library. 
    NOTE: not all photos in an iPhone will be in the Photo Stream. PS only keeps photos in it for 30 days.
    If you have the missing photos in your library put them in an album.  Connect your iPhone to the Mac and open iTunes.  In iTunes you can select that album in the library and sync the photos to your iPhone to get them back on the iPhone.
    OT

  • I have just got an iPad and I want the music to be transferred through my iPod touch using iCloud but I didn't get the music from iTunes so I don't think it will let me do it. Do you have any tips that could help me?

    I have just got an iPad and I want the music to be transferred through my iPod touch using iCloud but I didn't get the music from iTunes so I don't think it will let me do it. Do you have any tips that could help me?

    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view.
    Photos that were synced from a computer are deleted by moving/removing/de-selecting them from where they were synced from and then re-syncing. If you want to remove them all then normally you could just sync an empty folder (in terms of photos) to the iPad, but as you don't want to sync at the moment you can't do that.
    You can reset the iPad back to factory settings and start from scratch with it : Settings > General > Reset > Erase All Content And Settings

  • My iPod was stolen today around 12 o'clock today and I don't have a device that can help me tract it so please app can you locate my iPod please. Where I had it last before someone stole it from me was somewhere around Compton but not there. Email or call

    Apple hi my ipo was stolen today and I had it or 4 to 5 years I jut or new music on it and I didn't sync it to my conputer in a long time so I won't have slot of things please if you can lock it and tell them the their to cally number or activation location for my because I don't have a backup new device that can help me sorry if there are slot of mistakes back connection oh and if you could report in in for me a lock it or what not.  Also if you can save my things then delete it from that device so they don't do anything that I can't take back thank you and please help me. Oh and the iPod is a 4th generation iPod if they are trying to sell it with a purple case it crashes alot and I have cloud on it. My personal info and pics are in it and they are probably gonna blakmail me eventhough I don't know them please report this in for me. 

    If you have a iCloud account set up you may be able to disable it, I'm not entirely sure about the earlier iPods. Even a poor thief will have already changed your settings. You can report it as stolen and change all passwords associated with this iPod to prevent a thief from accessing your accounts, computer, etc. As for the blackmail stuff, be careful what you have on your devices! Nothing is that secure. Good luck.

  • Spinning wheel of death is killing me. Have some info that might help.

    Started occurring about a week ago. It happens whether I am running several applications or just surfing internet. Seems to get progressively worse the longer I have computer on. I usually eventually have to power off. Happens regardless of which user is logged on. Started in safe mode and no difference. Ran the disk utility and Repair Disk and everything was OK. I have included the Etrecheck below. Yesterday, I got pop-up warnings that said "Your system has run out of Application Memory". I'm still relatively new to Macs, so I would appreciate any help anyone can share. Thanks!
    EtreCheck version: 1.9.11 (43) - report generated June 7, 2014 at 9:19:01 AM EDT
    Hardware Information:
              MacBook Pro (13-inch, Mid 2012)
              MacBook Pro - model: MacBookPro9,2
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: (null)
    System Software:
              OS X 10.9.3 (13D65) - Uptime: 0 days 0:2:7
    Disk Information:
              TOSHIBA MK5065GSXF disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (445.25 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Gatekeeper:
              Mac App Store and identified developers
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
    Launch Agents:
              [loaded] com.epson.eventmanager.agent.plist Support
    User Login Items:
              iTunesHelper
              Dashlane
              Genieo
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.214 - SDK 10.6 Support
              QuickTime Plugin: Version: 7.7.3
              Default Browser: Version: 537 - SDK 10.9
    Safari Extensions:
              Dashlane: Version: 2.4.0.56001
              Omnibar: Version: 1.2
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              Dashlane: Version: Dashlane 1.0.0 - SDK 10.7 Support
    3rd Party Preference Panes:
              Flash Player  Support
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                  79%          WebKitPluginHost
                   3%          WindowServer
                   3%          Safari
                   2%          P72E3GC48.com.dashlane.DashlaneAgent
                   1%          hidd
    Top Processes by Memory:
              1.69 GB          WebKitPluginHost
              57 MB          Safari
              29 MB          P72E3GC48.com.dashlane.DashlaneAgent
              25 MB          com.apple.WebKit.WebContent
              25 MB          SystemUIServer
    Virtual Memory Information:
              27 MB          Free RAM
              1.04 GB          Active RAM
              1.02 GB          Inactive RAM
              574 MB          Wired RAM
              198 MB          Page-ins
              724 KB          Page-outs

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n\t(%s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/d;/(etc|Preferences)\//s/^\.\/[^/]+//p;' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.[bw]/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||kMDItem'${p[35]}'=");sub("^.."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / /{$0="'"${p[28]}"'"};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'Beac|caug|dead[^bl]|FAIL|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,[lps]*.conf,pam.d,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}* .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A1 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D23 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-  
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with "Model Identifier." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • I now have a macbook pro and my iPod was originally sync to a pc that isn't in use any more, how do i set my mac book as the "home computer" for my iPod 4?

    i dont want to lose all my apps and songs
    i just want to make my mac book as the home computer so i can update my ipod

    The only other thing I can think of is to pull the drive out and hook it to another machine with a USB enclosure. Something like this:
    http://www.amazon.com/Vantec-NexStar-2-5-Inch-External-Enclosure/dp/B002JQNXZC/r ef=sr_1_2?ie=UTF8&qid=1388312417&sr=8-2&keywords=2.5+enclosure
    Then you could read it like an external USB drive. It's easy to open up and get the drive out.

  • I have had creative cloud for a while now and suddenly indesign dissapeared off of my macbook pro and now won't install again! This is urgent please help.

    I checked its been uninstalled from my mac and then every time I reinstall it, it just perpetually sits on that page that says 'inDesign is downloading now'... but it never does. Need urgent help please! Photoshop and illustrator remained on my mac no issue there. Whats going on?...

    Musecatherine please begin the installation process in the Creative Cloud Desktop application.  You can find details on how to install the Adobe Creative applications, included with your membership, at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.
    It is likely that the AAM Detect Plug-in is not installed or blocked by your current web browser.  This is why no action occurs when you are on the download page.

  • I used an HDMI cable to connect my MacBook Pro and my TV, however, my computer won't recognize that my TV is connected. What do I need to do to be able to watch a movie from my Mac on my TV screen?

    My Macbook doesn't have an HDMI port, so I bought a converter. So I now I have my HDMI connected to my Mac and my TV. The problem is, I can't figure out how to make my computer screen show up on my TV. Do I need to download different software or update something? Or is it as easy as changing a setting?
    When I go to my display settings, my computer screen shows up as an option, but my TV does not. I don't think my computer is reading it is connected. Please help me.
    I will openly admit that I don't know very much about computers, so if you can help me, please break your explaination down for me. This is the info for my Mac:
    I have a Macbook Pro 13-inch,
    Mid 2010 OS X
    Version 10.9.3
    Processor 2.4 GHz Intel Core 2 Duo
    Memory 4GB 1067 MHz DDR3
    Graphics NVIDIA GeForce 320M 256MB

    I am assuming that you are using a Mini Display to HDMI converter and then a HDMI cable.
    Have you opened System Preferences>Displays and selected Detect Displays?
    Ciao.

  • I'm looking to buy a used Mac Pro, and want to know if its a 64bit architicture that will take the latest OS and could be used for development work... how can I tell?

    I have the specs but it doesn't say much about the processor apart from its an Intel Xeon 2 x 2Ghz... any help appreciated!
    Model Name:                            Mac Pro
      Model Identifier:                      MacPro1,1
      Processor Name:                    Dual-Core Intel Xeon
      Processor Speed:                   2 GHz
      Number Of Processors:          2
      Total Number Of Cores:         4
      L2 Cache (per processor):      4 MB
      Memory:                                  4 GB
      Bus Speed:                              1.33 GHz
      Boot ROM Version:                 MP11.005C.B08
      SMC Version:                          1.7f10
      Serial Number:                        CK********PZ
    Craig
    <Personal Information Edited by Host>

    current market price for that box is in the US$600 range. If they are looking for more than that, the stealing is going the other way.
    That system will be good for software develeopment for a VERY Brief time. The new 10.9 Mavericks (announced but not yet shipped) is likley to obsolete the last version of xCode you can run on it.
    You really should look for a 2009 or later for best Value.

  • I run Windows 7 pro and my itunes (just updated to v6) keeps crashing. Please help.

    Hello,
    My itunes keeps crashing after a few minutes running a song, or online or just operating. Please help to resolve.
    Thx

    >this error come back
    What error?
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840

Maybe you are looking for

  • Opening post-it notes created with Acrobat X

    If I send a PDF created with Acrobat to someone without this software, will that person be able to open the post-it notes using Adobe Reader?

  • Is Apple's weather widget for the IMAC no longer supported?

    Is Apple's weather widget for the IMAC no longer supported?  It hasn't worked for the last two days.

  • RPM for Oracle RAC installation

    Hi All, i need to make RAC database setup ,so where can i get the operating system Rpm like bleow compat-gcc-7.3-2.96.128.i386.rpm compat-libstdc++-7.3-2.96.128.i386.rpm compat-libstdc++devel-17.3.3.96.128.i386 compat-gcc-c++7.3.296.128.i386 please s

  • Class Not Found. "Integrated Windows Authentication"

    Hello out there! I have read several posts concerning almost the same problem I have, but couldn't find a solution: IIS + PlugIn 1.4.1 installed. If the IIS is configured not to provide Basic Authentcation, but only "Integrated Windows Authentication

  • Oracle Retail Distribution Management detail application log.

    Hi guys, where can I find the detail logs of the Oracle Retail Distribution Management application apart from the error_log and error_message_to_upload tables. I mean to say as an application it is supposed to log messages in the application server i