sx  [ Profile ]

Sort by: Date / Title /

  1. 9 years ago
    1. echo substr($filename, strripos($filename, '.'),strlen($filename));
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2038"></script>
  2. 10 years ago
    1. XAML:
    2.   <Grid>
    3.       <textBox Name="myTextBox" Text="{Binding StringFormat='HH:MM dd/M/yyy'}" />
    4.   </Grid>
    5.  
    6. CS:
    7.   var dt = DateTime.Now;
    8.   myTextBox.DataContext = dt;
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1705"></script>
  3. 10 years ago
    1. DECLARE @Start datetime,
    2.  @End datetime
    3.  
    4. SELECT @Start = 11,
    5.  @End = 20
    6.  
    7. SELECT objName, CrDate
    8. FROM     (SELECT  ROW_NUMBER() OVER (ORDER BY name)
    9.              AS Row, convert(varchar(30), name) AS objName, crDate FROM sysobjects)
    10.             AS DatabaseObjects
    11. WHERE  Row >= @Start AND Row <= @End
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1567"></script>
  4. sponsorised links
  5. 10 years ago
    1. //work in IE7 IE8b2 FF2 FF3 SF3.1 OP
    2.  
    3. a[href^='http://'] {
    4.     padding-right: 15px;
    5.     background: url(extern.gif) right no-repeat;
    6. }
    7. a[href^='http://www.OWNDOMAIN.com'],
    8. a[href^='http://OWNDOMAIN.com'] {
    9.     padding-right: 0;
    10.     background: none;
    11. }
    12. a[href^='mailto:'] {
    13.     padding-right: 15px;
    14.     background: url(mail.gif) right no-repeat;
    15. }
    16. a[href^='mailto:USER'] {
    17.     padding-right: 15px;
    18.     background: url(USERPIC.gif) right no-repeat;
    19. }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1404"></script>
  6. 10 years ago
    1. //u must fill the lvi.Tag = personItem; in ListviewFill method before
    2.        
    3.         private void viewRelease_MouseClick(object sender, MouseEventArgs e)
    4.         {
    5.             ListView lvSender = (ListView)sender;
    6.             var perSender = (Person)lvSender.SelectedItems[0].Tag;
    7.  
    8.             if (e.Button == MouseButtons.Right)
    9.             {
    10.                 foreach (var item in PersonList)
    11.                 {
    12.                     if(item.Name.Equals(perSender.Name))
    13.                     MessageBox.Show(perSender.Name);
    14.                     //copy Clipboard
    15.                     if (perSender.Name!= null) Clipboard.SetDataObject(perSender.Name, true);
    16.                 }
    17.             }
    18.         }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1338"></script>
  7. 10 years ago
    1. ALTER TABLE `test`  ENGINE = [INNODB | MyIsam]
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1334"></script>
  8. 10 years ago
    1. preg_replace('/\\s{2,}/',' ',$string);
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1329"></script>
  9. 10 years ago and saved by 1 other
    1. /* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */
    2. @font-face {
    3.           font-family: “Fertigo”;
    4.           src: url(http://www.taptaptap.com/Fertigo.otf)
    5.                   format(”opentype”);
    6. }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1325"></script>
  10. 10 years ago
    1. SELECT MAX(id) FROM TABLE;
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1318"></script>
  11. 10 years ago
    1. SELECT LAST_INSERT_ID();
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1241"></script>

First / Previous / Next / Last / Page 1 of 4 (39 posteets)