Format:
Recent snippets matching tags of F
<# .COMPONENT NUPosh .SYNOPSIS Test if an Assembly (.dll) is already loaded. .DESCRIPTION Test if an Assembly of the same name is already loaded in the current runspace. Using the -PasThru parameter will return the AssemblyInfo object along with the boolean. .PARAMETER Name The file name of the Assembly.
18 Views
no comments
/*********************************************/ /* This program will ask how many students */ /* are in the class. Based upon your answer */ /* it will then ask what the ages are for */ /* each student. From the answers provided */ /* it will round to the nearest whole number */ /* the average age for the class. */ /*********************************************/ #include <stdio.h> // Allows printf() function #include <math.h> // Allows the roundf function to be used.
21 Views
no comments
<Image Margin="367.056,8,8,0" VerticalAlignment="Top" Name="imgLargePreview" Width="640" Height="480" MaxHeight="480" MaxWidth="640" /> Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click saveImage() End Sub Sub saveImage() Dim encoder = New PngBitmapEncoder()
9 Views
no comments
http://altitudegame.com/friend/857014
5 Views
no comments
http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014
5 Views
no comments
tgl=ctod('12/12/2011') ? ctod('01/'+padl(iif(month(tgl)=12,1,month(tgl)+1),2,'0')+'/'+transform(year(tgl)+iif(month(tgl)=12,1,0))) - 1 tgl=ctod('12/01/2012') ? ctod('01/'+padl(iif(month(tgl)=12,1,month(tgl)+1),2,'0')+'/'+transform(year(tgl)+iif(month(tgl)=12,1,0))) - 1 tgl=ctod('12/02/2012') ? ctod('01/'+padl(iif(month(tgl)=12,1,month(tgl)+1),2,'0')+'/'+transform(year(tgl)+iif(month(tgl)=12,1,0))) - 1 && atau tgl=ctod('12/12/2011')
7 Views
no comments
* http://forum.foxclub.ru/read.php?29,316324,316571,quote=1 * Posted by "Piva" Declare Integer GetLastInputInfo in win32api string @ Declare Long GetTickCount in win32api public o o=CreateObject("IdleTimer") Define Class IdleTimer as Timer
7 Views
no comments
FUNCTION GetCollectionFromUrlEncodedValues(lcVars,lcPrefix) LOCAL loVars, lnX, lnAt, lcPoint,lnEqual,lcKey, lcValue loVars = CREATEOBJECT("wwNameValueCollection") IF EMPTY(lcPrefix) lcPrefix = "" ENDIF lcPointer = "&"+lcVars
10 Views
no comments
<script src="http://h2.flashvortex.com/display.php?id=2_1336478086_64321_420_0_550_100_9_2_39" type="text/javascript"></script>
17 Views
no comments
http://tinyurl.com/D2CFi9A Dota 2 Beta Keys are available for DOWNLOADS! We are presenting you free 99 BETA KEYS,so hurry up and grab your own DOTA 2 BETA KEYS!
16 Views
no comments
//start processing var api = new moviesApi(); api.getRatings({ success: function (result) { for (var i = 0; i < result.length; i++) { //new Option(text, value) var option = new Option(result[i].ID, result[i].Name); $('#ratings').append( $('<option></option>').val(result[i].ID).html(result[i].Name) );
22 Views
no comments
displayError = function (result) { $('#errorDisplay').show(); $('#errorDisplay').html(result.responseText); }
29 Views
no comments
'Xaml <DataTemplate x:Key="DataTemplateComboDrives"> <Grid Width="Auto"> <TextBlock x:Name="textBlockDriveName" Margin="8,8,0,8" TextWrapping="Wrap" Text="{Binding DriveName}" FontWeight="Bold" Foreground="{DynamicResource brushDarkBlueText}" HorizontalAlignment="Left" Width="23"/> <TextBlock x:Name="textBlockDriveLable" Margin="26,8,24,8" TextWrapping="Wrap" Text="{Binding DriveLable}" FontWeight="Bold" Foreground="{DynamicResource brushDarkBlueText}" RenderTransformOrigin="1.25,0.501" HorizontalAlignment="Right" Width="Auto"/> </Grid> </DataTemplate> <Style x:Key="ComboBoxItemStyleDrives" TargetType="{x:Type ComboBoxItem}"> <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
22 Views
no comments
'must have a legitimate email setup with smtp relays set greater than 0 in your godaddy control panel (email accounts) Private Sub btnSendMessage_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles btnSendMessage.Click CreateTimeoutTestMessage("smtpout.secureserver.net") 'This is standard with most email relays at godaddy End Sub Public Shared Sub CreateTimeoutTestMessage(server As String) Dim [to] As String = "busted@fbi.gov" Dim from As String = "billyjoebob@hillbilly.com" Dim subject As String = "Catch Me If You Can." Dim body As String = "This is the body of the message. Yada Yada Yada" Dim message As New MailMessage(from, [to], subject, body)
38 Views
no comments
// Predicate Builder code // Produces match only on LAST match - INCORRECT var predicate = PredicateBuilder.False<Entry>(); foreach (string phrase in searchPhrases) { predicate = predicate.Or(ent => (ent.Title.Contains(phrase) || ent.Keywords.Contains(phrase) || ent.Description.Contains(phrase))); } entries = entries.AsExpandable().Where(predicate);
59 Views
no comments
git config --global user.name "Al Gonzalez" git config --global user.emai "{email.address}" REM set up Notepad++ as the editor of choice git config --global core.editor "'c:\apps\notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin" REM set up WinMerge as the tool to use when calling "git difftool" git config --global diff.tool winmerge git config --global difftool.winmerge.cmd "'c:\apps\winmerge\winmergeU.exe' -e -u -dl Base -dr Mine \"$LOCAL\" \"$REMOTE\"" git config --global difftool.prompt false
25 Views
no comments
if (searchPhrases.Count() > 0) { var whereParms = new List<string>(); StringBuilder sb = new StringBuilder(); int counter = 0; foreach (string phrase in searchPhrases) { string num = counter.ToString(); sb.Append("title.Contains(@" + num + ") || " +
224 Views
no comments
// GET: /Dog/ public ViewResult Index() { var dogs = db.PetSet.ToArray<Pet>().Where(s => s is Dog).Cast<Dog>(); return View(dogs); }
20 Views
no comments
<?xml version="1.0" encoding="utf-8" ?> <log4net debug="false"> <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="log" /> <appendToFile value="false" /> <rollingStyle value="Composite" /> <maxSizeRollBackups value="10" /> <maximumFileSize value="5KB" /> <staticLogFileName value="false" /> <datePattern value=".yyyy-MM-dd.\tx\t" />
39 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
