Format:
Recent snippets matching tags of SE
public sealed partial class BlankPage : Page { public BlankPage() { this.InitializeComponent(); var _String = "<special:Users xmlns:special='http://jerry'><User Key='1' Name='Jerry' /><User Key='2' Name='Michael' /></special:Users>"; using (var _Reader = System.Xml.XmlReader.Create(new StringReader(_String))) { var _Serializer = new System.Xml.Serialization.XmlSerializer(typeof(Users));
11 Views
no comments
package eu.man.phevos.dx.mock.gep.test
import java.io.FileInputStream
import java.util.Arrays
import akka.actor.Actor
import akka.actor.ActorSystem
import akka.actor.Props
object StreamTest extends App {
14 Views
no comments
package eu.man.phevos.dx.mock.gep.test
import java.io.FileInputStream
import java.util.Arrays
import akka.actor.Actor
import akka.actor.ActorSystem
import akka.actor.Props
object StreamTest extends App {
17 Views
no comments
var baseUrl; var applicationUrl; baseUrl = document.location.href; baseUrl = baseUrl.substring(0, baseUrl.lastIndexOf('/')); applicationUrl = baseUrl.substring(0, baseUrl.lastIndexOf('/'));
17 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)
39 Views
no comments
$(document).ready(function () { $('.AutoSelect').focus(function () { $(this).select() }); $('.AutoSelect').mouseup(function (e) { e.preventDefault(); });
23 Views
no comments
Dim rootWindow As MainWindow = TryCast(Application.Current.MainWindow, MainWindow) rootWindow.TabControl1.SelectedIndex = 4
52 Views
no comments
public void invoke(string pText)
{
Ms_Supplier_SelectData objMs_Supplier_SelectData = new Ms_Supplier_SelectData(pText);
RESULT = objMs_Supplier_SelectData.RESULT;
try
{
//Ms_Supplier_SelectData objMs_Supplier_SelectData = new Ms_Supplier_SelectData(pText);
//RESULT = objMs_Supplier_SelectData.RESULT;
if (RESULT.HasRows)
{
27 Views
1 comments
using System; using System.Net.Http.Formatting; using System.Threading.Tasks; using System.Web.Script.Serialization; using System.Json; using System.IO; namespace Westwind.Web.WebApi { public class JavaScriptSerializerFormatter : MediaTypeFormatter
386 Views
no comments
using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.SelfHost; namespace ConsoleApplication2
136 Views
no comments
2012-02-22 14:13:30 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R3-b1846jnks (MC: 1.1) (Implementing API version 1.1-R3) 2012-02-22 14:13:30 [INFO] Unknown command. Type "help" for help. 2012-02-22 14:13:34 [INFO] Plugins: WorldBorder, XrayInformer, WorldEdit, TradeCraft, EnderCrystalizer, CommandBook, PermissionsBukkit, Vault, LogBlockQuestioner, PvPToggle, LogBlock, LWC, FirstLastSeen, WorldGuard, mChatSuite, SimpleJail, SpawnerAdjuster, GroupAnnouncer, Points, LimitedCreative, Honeypot, ThumbsApply, WeatherRestrictions, TeleportSuite, mcbans, CFBanner, MultiSpawn, Xray Detection, SimpleSpleef, NoCheat, Votifier, SimpleReserve, Residence 2012-02-22 14:13:34 [INFO] Unknown command. Type "help" for help.
34 Views
no comments
users:
Notch:
permissions:
permissions.example: true
groups:
- admin
digitalink2008:
groups:
- owner
permissions:
38 Views
no comments
superm.bukkit.denyall:
description: Deny all default bukkit commands
default: false
children:
bukkit.command.version: false
bukkit.command.plugins: false
superm.commandbook.moderator:
description: Mod powers
default: false
113 Views
no comments
function twitter_mobypicture_page($query) {
if (user_type() == 'oauth') {
//Has the user submitted an image and message?
if ($_POST['message']) {
$messages = stripslashes($_POST['message']);
$serviceURL = 'https://api.mobypicture.com/2.0/upload.json';
//Set the initial headers
$header = array(
42 Views
no comments
/*IDE Shortcuts */ //Finds a type inside a class Ctr + Shift + T //Finds a resource inside a class Ctr + Shift + R //Search for methods or variables inside a class Ctr + O
47 Views
no comments
using System; using System.IO; class Program { static void Main() { // // It will free resources on its own. //
44 Views
no comments
http://filevelocity.com/sfp3zcy422x6/Dream Hause 2011 DVDRip.part1.rar.html http://filevelocity.com/gehr1px6sw2k/Dream Hause 2011 DVDRip.part2.rar.html http://filevelocity.com/wi5tmc1l12q9/Dream Hause 2011 DVDRip.part3.rar.html http://filevelocity.com/b2e1c5h25e9y/Dream Hause 2011 DVDRip.part4.rar.html http://filevelocity.com/mbscjvmr44vn/Dream Hause 2011 DVDRip.part5.rar.html http://filevelocity.com/igeaqml05mlt/Dream Hause 2011 DVDRip.part6.rar.html http://filevelocity.com/ngidojk8agwk/Dream Hause 2011 DVDRip.part7.rar.html http://filevelocity.com/gfs54dqtrcqa/Dream Hause 2011 DVDRip.part8.rar.html
39 Views
no comments
CREATE PROC SearchAllTables ( @SearchStr nvarchar(100) ) AS BEGIN CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630)) SET NOCOUNT ON
62 Views
no comments
SPListItem item = properties.ListItem; SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Customer"); SPFieldUserValue fieldValue = (SPFieldUserValue)userField.GetFieldValue(item[userField.ID].ToString()); string customerEmail = fieldValue.User.Email;
91 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
