امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0 I have the following two methods: def randomStartMethod() : Long = { var range = 1000L var r = ThreadLocalRandom.current().nextLong(10L*range) var randomStart = 1396024675000L + r retu randomStart } def randomStopMethod() : Long = { var range = 1000L val r = ThreadLocalRandom.current().nextLong(10L*range) val randomStop = 1396024675000L + r*2L retu randomStop } Then I add it to the request body like this: val activity = repeat(10, "i") { exec(http("POST activity post") .post("/activity/") .header("Content-Type", "application/json; charset=ISO-8859-1") .header("USERID", "14986456963") .header("appId", "com.nike.sport.coect2") .header("accept", "*/*") .header("Authorization", "Be...
ادامه مطلبVote count: 0 Summary: On a CentOS 7 x64 system, I've build the latest Boost 1.61.0 with -fPIC enabled. I'm trying to link libboost_log.a to the dynamic library I'm building so that the user of my library doesn't have to have Boost installed. That succeeded using the stock GCC 4.8.5 shipped with CentOS 7, but failed when I'm using GCC 5.2.1 from devtoolset-4. Error: /opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.2.1/ld: /opt/boost/lib/libboost_log.a(attribute_name.o): relocation R_X86_64_32 against `_ZZN5boost3log12v2s_mt_posix3aux14lazy_singletonINS1_14attribute_name10repositoryENS_10shared_ptrIS5_EEE3getEvE29_boost_log_once_block_flag_43' can not be used when making a shar...
ادامه مطلبVote count: 0 In my AngularJS application, I have a standard CRUD component that manages most of the systems entities. This component (which is a directive) is basically a table that receives its columns metadata (JSON) and do its magic. The thing is, each entity has its own columns, and I want to load them with a simple call to a service like MyService.getColumns(entity). I could do a huge switch statement (like shown above), but I don't want that because any user that log in the system would have the load the metadata for all the entities available in the system, maybe to manage only one. A (not desired) solution to my situation: switch(entity.name) { case 'FOO': retu [column1JSON, column2...
ادامه مطلبVote count: 0 I am trying to draw a custom popup menu on MFC single-document interface (SDI) project.From here, I found The framework calls this member function for the owner of an owner-draw button control, combo-box control, list-box control, or menu when a visual aspect of the control or menu has changed.So I added the handle OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) and added some code inside this function, but I found that this callback didn't be called by the framework when I right click on the view, like this:How to make a popup menu dynamically? asked 1 min agosflee Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm new in c# I have a listview for my site that it's itemtemplate change by click on a menu item In new itemtemplate i added a button to listview and set commandname and command argument for this button and also set on itemcommand event and write code for delete item But when i click on button takes no action Any idea? Thanks all for your answers asked 2 mins agouser6658617 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I want to add dynamic data into this JavaScript. So how to do this? Please help me... Thanx in Advance $(document).ready(function(){ new jPlayerPlaylist({ jPlayer: "#jquery_jplayer_2", cssSelectorAncestor: "#jp_container_2" }, [ { title:"Do Pag Mar aur Bhul Ja", mp3:"http://download.apunkabollywood.us/songs/Audio/indian/movies/One Night Stand (2016)/01 - Do Peg Maar - Neha Kakkar @ fmw11.com.mp3", }, { title:"Your Face", mp3:"http://www.jplayer.org/audio/mp3/TSP-05-Your_face.mp3", oga:"http://www.jplayer.org/audio/ogg/TSP-05-Your_face.ogg" }, { title:"Cyber Soet", mp3:"http://www.jplayer.org/audio/mp3/TSP-07-Cybersoet.mp3", oga:"http://www.jplayer.org/audio/ogg/TSP-07-Cybersoet...
ادامه مطلبVote count: 0 I'm trying to retrieve data into labels dynamically. Meaning to say the label will change as i change the DropDownList selected item. Is it possible? aspx: aspx.cs: //page load box retrieve SqlCoection myCoect2 = new SqlCoection(_coStr); string strCommandText2 = "SELECT Card_Type, Card_Type2, Card_Number, Card_Number2, Name_On_Card, Name_On_Card2, Expired_Date, Expired_Date2 From Card_Details where Card_Id = @Card_Id"; myCoect2.Open(); SqlCommand cmd2 = new SqlCommand(strCommandText2, myCoect2); cmd2.Parameters.AddWithValue("@Card_Id", 1); ////open coection and retrieve data by calling ExecuteReader SqlDataReader dr2 = cmd2.ExecuteReader(); if (dr2.Read()) { string CNo1 = dr2["...
ادامه مطلبVote count: 0 I Am trying to implement swipe to refresh in my app. When swipe to refresh is triggered first all the data is fetched from JSON and than store in database. after storing the data all the new data will be added to top of the recyclerview. I read few articles and only get the detail about adding only one item at the top of the list. But in the case of my app more than one items may be available to show then what should I do ? I am adding my codding part. Here is my code for database table : @Override public ArrayList getAllNewPost(int T) { SQLiteDatabase db = this.getReadableDatabase(); ArrayList postList = null; try { postList = new ArrayList(); String QUERY = "SELECT * FROM " +...
ادامه مطلبVote count: 0 I am using these Devicon font icons for various programming languages. They don't have every icon, but they have most. What I want to do is to have a default icon I use for the languages that this font library does not support. These are their instructions: So in my view, I have this: Where question.language is a user-submitted language on their question. Right now, when this generates a non-existent icon it just leaves a blank space there. But I am not quite sure how to check to see if the icon exists, before replacing it with a default. Thoughts? asked 5 mins agomarcamillion Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have been struggling with this for days now, I'll appreciate your help. I have a directive where there's an ads slide which slide-interval is tied to a var in the scope and I'm trying to change how long each one of them stays active in the slideChanged function by updating that variable, next line of code is to reload the ionicSlideBoxDeletegate, however, it's not refreshing at all. Here's the code... .directive('adDirective', function( $ionicSlideBoxDelegate ){ retu { restrict: "E", replace: true, template: ( '' + '' + '' + '' + '' + '' ), controller: function($scope) { $scope.slideChanged = function ( index ) { $scope.speed = parseInt( $scope.ads[index].category + '000' ); ...
ادامه مطلبVote count: 0 I'm working in JqGrid with MVC 4.0 application. How to dynamically set the column names which comes from controller. I want to set the colModel and colnames dynamically. not with static values. kindly me on this. var grid = new JqGridObject() { Page1 = page, PageSize = 500, SortColumn = sidx, SortOrder = sord, Data = GetData("CRM-SALES"), ColumnAry = GetColumn("Input") }; retu Json(grid, JsonRequestBehavior.AllowGet); //json1 = json.toJson(grid); Here is my jqgrid i have tried by myself $.ajax({ type: "POST", url: action, data: {}, // contentType: "application/json;charset=utf-8", dataType: "json", // processData: true, success: function (data, status, xhr) { alert('hi'); var c...
ادامه مطلبVote count: 0 Working on an ASP.NET website. I have a page where there are alot of dynamically created textboxes. In addition to these textboxes I link dynamic javascript calculations to certain textboxes as well. This is all database driven. For example.... (pseudo-code) textbox1 = "10" textbox2 = "4" textbox3 = textbox 1 + textbox 2 (displays "14") All of the textboxes are working great, dynamically calculating correctly, etc.... BUT, I need to format them with commas, if applicable. All of these dynamic textboxes have a css class of 'dynamic_control'. Question: I would like to autoformat numbers > 999 with commas. (AFTER any calculations are finalized.) So, what I did was this... $(docume...
ادامه مطلبVote count: 0 I have 2 files - first.html & second.html first.html - here the user will input a few fields: Name, Organization, JobTitle,... second.html - this will output only the fields that were typed by the user using a textarea field Purposer: My purpose is to (1) dynamically store all siblings of a particular span (id="spanBox") in an array and (2) to output all the element of that array using text area field in the second.html Clarifications: Let me just clarify what do I mean by "dynamically store all siblings" in an array. In the next few lines, I will mention only a small part of the fields that will be stored in the array. Dynamically means, that I wouldn't have to store manually ...
ادامه مطلبVote count: 0 i'm trying to delete rows in a datagridview that will be dynamically created, i used this code but it's not working (dgv is not a member of...) the datagridviews are created as follow: If ComboBox1.Text = "Excel" Then Static Dim cmd As String Using fold As New OpenFileDialog fold.Filter = "sheet files (*.xls)|*.xls|All files (*.*)|*.*" fold.Title = "Select file" If fold.ShowDialog() = Windows.Forms.DialogResult.OK Then fold.RestoreDirectory = True cmd = fold.FileName End If End Using Try Static Dim MyCoection As System.Data.OleDb.OleDbCoection Dim Dataset As System.Data.DataSet Static Dim MyCommand As System.Data.OleDb.OleDbDataAdapter Dim shlist As ArrayList = getExcelSheetsNa...
ادامه مطلب