Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: czarj
  • Order by date
  1. czarj

    tooltips inside searchbox

    if I have a simple function like this: $('[tooltip]').each(function() // Select all elements with the "tooltip" attribute { $(this).qtip({ content: $(this).attr('tooltip') }); // Retrieve the tooltip attribute value from the current element }); Can I just add an .attr into the search box...
  2. czarj

    tooltips inside searchbox

    Using jquery i'm creating searchboxes that pull data from a MYSQL DB. How can I add tooltips into this: var impact_header_text = $("<div>Impact (EX: Panic)</div>"); <-- display header var impact_search_box = $('<input>') <--actual searchbox...
  3. czarj

    getting top five from array

    perfect, thanks! --- You must not fight too often with one enemy, or you will teach him all your tricks of war.
  4. czarj

    getting top five from array

    I have a function that gets the number of submitted tickets for each user. How do I make this get the top five submitters (and their respective ticket totals) and lump the rest of the count into "other." This data is being pulled from a database. thanks! var user_burt_count = []; for ( var...
  5. czarj

    extracting text between two tags in a very long string

    perfect thanks! --- You must not fight too often with one enemy, or you will teach him all your tricks of war.
  6. czarj

    extracting text between two tags in a very long string

    I have a file containing about 30,000 characters on 3-4 lines. I need to extract the text between two tags <TAG1> and <TAG2>. I've tried a couple things but nothing yields the results i'm looking for. Below is an example of the text and the last code snippet I tried. Text Example...
  7. czarj

    script to generate Getattr calls against NFS?

    Hi Folks, I'm trying to figure out a way to generate large numbers of NFS getattr calls. I first tried using a simple ls -laR script, but that primarily generated access calls. Does anyone have any ideas? sh -c "for i in {1..50}; do ls -lasiR ${NFS_MNTPNT_DIR}; sleep 2 done" --- You must...
  8. czarj

    Redirecting STDOUT back into hash

    I decided to use an array instead of a hash. This works. #!/usr/software/bin/perl -w use strict; use warnings; use Net::SSH2; my $ssh = Net::SSH2->new(); $ssh->debug(0); my $bigcmd = "priv set diag; wafl_susp -w"; my @array; $ssh->connect("10.61.92.10",22); my $pass = 'P@ssw0rd'...
  9. czarj

    ran out of space in hours

    Do you have snapshots enabled? --- You must not fight too often with one enemy, or you will teach him all your tricks of war.
  10. czarj

    Redirecting STDOUT back into hash

    Hi Folks, How can I redirect stdout back into a hash in my script (susphash)? Here I am logging into a remote server and running a command. I want all the lines of the command put into a hash. Is there a way to redirect that output that is more elegant than writing to a temp_file and then...
  11. czarj

    script to set sychronization bit of files

    So I have the making's of a script that should work. But, i'm still missing the concept of how to set the value of the attribute. Any suggestions, Thanks! Const SYNCHRONIZE = &h100000 strPath = "C:\Windows\Temp" Set objfso = CreateObject("Scripting.FileSystemObject") If...
  12. czarj

    script to set sychronization bit of files

    So it looks like wmiAce.AccessMask needs to be used. I can see how to get the current value, but not sure how to set it. Any suggestions? Const SYNCHRONIZE = &h100000 If wmiAce.AccessMask And SYNCHRONIZE > 0 Then '...???... End If --- You must not fight too often with one enemy, or you...
  13. czarj

    script to set sychronization bit of files

    Hi Folks, I'm trying to figure out how to script something that will go through a directory and reset the sychronization bit on a file. Looking at the fsecurity output below I need Sychonrize=1. Frankly I am not a windows programmer and am not sure how the subroutine should look. I would...
  14. czarj

    Excel: Pattern Matching and printing.

    If I comment out the code that pastes the formula and run it twice I get two "PI name" columns, nothing more. I also tried removing the "CurrentRegion" property and just using "entirecolumn." That also caused the #ref (same values) to be put everywhere. What was interesting is it seemed to...
  15. czarj

    Excel: Pattern Matching and printing.

    Everything is referencing back to column A, which now contains a vlookup(#ref) in the formula --- You must not fight too often with one enemy, or you will teach him all your tricks of war.
  16. czarj

    Excel: Pattern Matching and printing.

    It simply overwrites all the existing fields of text with the vlookup reference. Example: Before: Disposition Disposition Disposition Disposition Disposition After: #REF (=VLOOKUP(F5,'[Center List.xls]Sheet1'!A$2:B$350,2,FALSE) #REF (=VLOOKUP(F6,'[Center List.xls]Sheet1'!A$2:B$350,2,FALSE)...
  17. czarj

    Excel: Pattern Matching and printing.

    Thanks, but that does the same thing. The results are a #REF in every cell in the sheet. --- You must not fight too often with one enemy, or you will teach him all your tricks of war.
  18. czarj

    Excel: Pattern Matching and printing.

    For this dataset is takes everything from A5-G80 and pastes the vlookup function in each cell. This is the entire worksheet expect the header. --- You must not fight too often with one enemy, or you will teach him all your tricks of war.
  19. czarj

    Excel: Pattern Matching and printing.

    Hmmm.... The ".Parent.UsedRange" change seems to make everything freak out. Each cell in the entire spreadsheet is trying to use the lookup reference. --- You must not fight too often with one enemy, or you will teach him all your tricks of war.
  20. czarj

    Excel: Pattern Matching and printing.

    I agree with the blank rows statement, but it is not up to me. This silly report is generated from an ancient database that I do not have access to. These are generated for an entire department on a daily basis. I am just trying to make up for the lack of technological initiative available to...

Part and Inventory Search

Back
Top