Thanks all! But my question is how to decode ( i dont have encoding method) : i got these from a website : d926ef0d-07df-3c5b-2246-12e061f71be1 ------> "0000000000" fd7bd272-f7e8-1e57-0a82-e15b79694d25 ------> "09130000000" 146b2bf5-fddb-5e68-0e9a-e5cdd19513dc ------> "0000000001" 4fb94dee-654f-55a5-5c94-71974b23fcd4 --------> "09130000001" b69ff890-e528-a2fc-c011-8f31dcfe4794 ----> "09125395974" f734f107-2d2c-b2e0-ed26-b92679d7cf68 ---> ??????????? any decoding algorithm ? thanks in advanced!
User 9427106
Posts
-
Get original string from Guid -
Get original string from GuidHi, I have this result of Guid : d926ef0d-07df-3c5b-2246-12e061f71be1 Now i wanna to get the main string that was converted to this Guid? Ans : the result for this guid is : "0000000000" now My Question is : what is the main string that converted to this GUID : fd7bd272-f7e8-1e57-0a82-e15b79694d25 thanks in advanced!
-
download webpage CompleteI am using this code in ASP.net :
<script type="text/javascript">
function getDataS() {
var dd = '{"jsonrpc":"2.0","method":"getPostList","id":1,"params":[1,[["place2",0,[1,1]]],173099135176724],"hash":"decfe7c9183f16efa1291f5131902f7d4ef4ff14"}';
$.ajax({
type: "POST",
//type: "GET",
url: "http://tehran.divar.ir/browse/json/?tm=1407824648578",
// url: 'http://tehran.divar.ir/browse/',
//url: "http://tehran.divar.ir/",
contentType: "application/json; charset=utf-8",
// contentType:"application/x-www-form-urlencoded; charset=UTF-8",
dataType: "json",
async: true,
crossDomain: true,
data: '{"jsonrpc":"2.0","method":"getPostList","id":1,"params":[1,[["place2",0,[1,1]]],173199866315710],"hash":"13210760e20de99b8218be5cc465851fcb6aa74a"}',
//data: "{'jsonrpc':'2.0','method':'getPostList','id':1,'params':[1,[['place2',0,[1,1]]],173099135176724],'hash':'decfe7c9183f16efa1291f5131902f7d4ef4ff14'}",
cache: false,
processData: false,
success: function(msg) {
if (msg.d != "")
alert('salam');}, error: function(xhr, errorType, exception) { //Triggered if an error communicating with server var errorMessage = exception || xhr.statusText; //If exception null, then default to xhr.statusText alert("There was an error creating your contact: " + errorMessage); } }); }
</script>
I get this error now : There was an error creating your contact: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://tehran.divar.ir/'.
-
download webpage CompleteIn other words : What's the best way to scrape a web page that has AJAX/dynamic loading of data? For example: scraping a webpage that presents 20 images on load, but when a user scroll down the page it loads more images (sort of like Facebook). In such a case how do you scrape all the images, not just the first 20?
-
download webpage CompleteI am doing it for testing and get info of other website for some use!
-
download webpage Completethanks for reply! but the page is Compeletly ajax,so i should scroll down and down to reload the info! other website act same as this : http://demos.9lessons.info/load_data_scroll.php[^] i wanna do that in C#! thanks in advanced!
-
download webpage CompleteHi How can i download all content of this page : http://tehran.divar.ir/browse/ I think this is full ajax Cause when u scroll down the page it reload the new data! Please Help?
-
error using FragmentTabHost in xamarinyes, I have update the mono.android.4.10 and the problem solved! thanks in advanced !
-
error using FragmentTabHost in xamarinhi i have added these VS2012 (xamarin C#) : 1.Xamarin.Android.Support.v4 via : Install-Package Xamarin.Android.Support.v4 -Version 20.0.0 2.android-support-v4.jar ( as AndroidJavaLibrary) --- with 634 kb 3.using Android.Support.V4.App; 4. public class Activity1 : FragmentActivity <----- i get error in Activity1 { //my codes } i get this error : The type 'Android.App.Activity' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. Thanks for help!
-
jquery and mootoolswhen i use this code it doesnt work correctly :
<script type="text/javascript" src="includes/mootools.js"></script>
<script type="text/javascript" src="includes/ja_contentslide.js"></script>
<script>
jQuery.noConflict();
//(function( $ ) {
// Your jQuery code here, using the $
//})( jQuery );
</script>
<!-- Main Slider CSS Rules Starts --><script type="text/javascript" src="slidshow/modernizr.js"></script> <script type="text/javascript" src="slidshow/jquery\_004.js"></script> <script type="text/javascript" src="slidshow/jquery\_006.js"></script>
-
t -
scrolling jquery popup in PageI wanna to have something like "live chat" jquery popup for download(when user click on it then it will refer yiu to download pagenot on pupop) in page http://www.parsdata.com/services thanks in advance!
-
Print via androidI am working on an Android app which I need to send text file to WiFi printer(my printer doesnt support direct wifi .it is share on my wifi). I don't want to download app or use Google Cloud etc. It must be in my app. As I know there is no specific Android library which can search for available printers, let the user to select and send a file to it. or there is? All answers of similar questions of mine are about downloading app etc. there isn't any code example about sending files to printer.So I would really appreciate if someone show a way.
-
scrolling webpage asp.net (C#)Thanks for all! I have used like this and this is working now But how ??????? <script src="~/Script/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("html,body").animate({scrollTop: 230}, 1000); }); </script> I was missing : <script src="~/Script/jquery.min.js" type="text/javascript"></script>
-
scrolling webpage asp.net (C#)thanks for reply! in this page it works correctly : http://amlakehamrah.ir/[^] BUT other pages doesnt
-
scrolling webpage asp.net (C#)this code doesnt work in page which has masterpage ? <script type="text/javascript"> $(document).ready(function() { $('html,body').animate({ scrollTop: 150 }, 1000); });</script>
-
Play Mp3 in website backgroundNobody There !!!!!!!!
-
Play Mp3 in website backgroundhi , How to play MP3 music in whole background. (I have 2 Master Pages) continue to play from page to page. Example, when the first song is still playing and the visitor click on another page, I want that song to continue playing without reload. and when in one page in stoped the music then stop when i go to other page. and in i pause that it pause in other page and start when i clik play . In Other word : I am wondering how I make get an audio file to play 'continuously' on all pages. So if the audio file has played for 20 seconds, then when navigating on another page it will continue from where it left off. I also am trying to get the volume to decrease after navigating away from my home page Thanks in advanced!
-
How to speed up the populating of listview + filter AndroidHi, Android (C#) : I am populating my listview from Sqlite (sometime also from DataTable) 1. when the data is huge its very slow ? 2. how to have filter for this with high speed ?(same as contact list ) Thanks in advanced ! For filtering i have seen this code :
_adapter.Filter.InvokeFilter(_inputSearch.Text);
but just work for one column :
_adapter = new ArrayAdapter<string>(this, Resource.Layout.list_item, Resource.Id.product_name, products);
No USE At ALL !!!! my code :
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);// Create your application here SetContentView(Resource.Layout.HesabList); progress = ProgressDialog.Show(this, "", "Loading ..."); progress.SetProgressStyle(ProgressDialogStyle.Spinner); progress.Indeterminate = true; new Thread(new ThreadStart(delegate { \_btnUpdate = FindViewById<Button>(Resource.Id.UpdateHesabList); \_btnUpdate.Click += new EventHandler(\_btnUpdate\_Click); gvHesab = FindViewById<ListView>(Resource.Id.gvHesabList); gvHesab.ItemClick += new EventHandler<AdapterView.ItemClickEventArgs>(gvHesab\_ItemClick); isTarafHesab = Intent.GetBooleanExtra("IsTarafHesab", false); txtSearchHesabList = (EditText)FindViewById(Resource.Id.txtSearchHesabList); txtSearchHesabList.TextChanged += new EventHandler<Android.Text.TextChangedEventArgs>(txtSearchHesabList\_TextChanged); txtSearchHesabList.Gravity = GravityFlags.Right; Looper.Prepare(); File dbtest = new File(clsBase.SqliteDBPath); if (!dbtest.Exists() ) { if (clsBase.HasInternetConnection(this)) createDbSqlite(); else { MessageBoxAndroid.Show(this, "Connect to Internet First !"); Finish(); } } else { fillListView(); } RunOnUiThread(() => progress.Dismiss()); })).Start(); }
private void fillGridView()
{
try
{
SQLiteDatabase db = OpenOrCrea -
How to speed up the populating of listviewFor filtering i have seen this code :
_adapter.Filter.InvokeFilter(_inputSearch.Text);
but just work for one column :
_adapter = new ArrayAdapter<string>(this, Resource.Layout.list_item, Resource.Id.product_name, products);