This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Document document = Jsoup.connect("http://localhost:3112/katkam/nr").get(); | |
String question = document.select("#content .post-title p").first().text(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Net/LDAP2.php'; | |
$cfg = array( | |
'binddn'=>'isdbwdom\nithinr', //'cn=nithinr,ou=users,dc=isdbwdom,dc=local', | |
'bindpw'=>'gorillacheese', | |
'basedn'=>'dc=isdbwdom,dc=local', | |
'host'=>'isdbwdom.local' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Locale; | |
import java.util.TimeZone; | |
import java.util.logging.Logger; | |
/** | |
* | |
* @author nitin | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.demo4; | |
import org.apache.http.HttpEntity; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.client.HttpClient; | |
import org.apache.http.client.methods.HttpPost; | |
import org.apache.http.entity.mime.HttpMultipartMode; | |
import org.apache.http.entity.mime.MultipartEntityBuilder; | |
import org.apache.http.impl.client.DefaultHttpClient; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$config = array( | |
'dbserver' => 'REDEAM\SQLEXPRESS', | |
'dbname' => 'EAM', | |
'dbuser' => 'sa', | |
'dbpassword' => 'BlahBlahBlah', | |
'evtstatus' => 'R', | |
'evtrstatus' => 'R', | |
'evtmrc' => '*', | |
'evtobject' => 'ASSET01', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><html> | |
<head> | |
<script> | |
function putInStorage() { | |
itemz = [1, 2, 3]; | |
sessionStorage.setItem("itemz", JSON.stringify(itemz)); | |
} | |
function getFromStorage() { | |
itemz = JSON.parse(sessionStorage.getItem("itemz")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Text; | |
using System.Windows.Forms; | |
namespace TryPrint1 | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><html lang="en"> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script> | |
<style> | |
</style> | |
<script> | |
$(document).ready(function() { | |
$('#nit1').draggable({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><html lang="en"> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script> | |
<style> | |
</style> | |
<script> | |
$(document).ready(function() { | |
$('#nit1').draggable({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><html> | |
<head> | |
<script> | |
function putInStorage() { | |
itemz = [1, 2, 3]; | |
sessionStorage.setItem("itemz", JSON.stringify(itemz)); | |
} | |
function getFromStorage() { | |
itemz = JSON.parse(sessionStorage.getItem("itemz")); |
OlderNewer