back soft

مطالب مرتبط با «user» در back soft | نویسنده: استخدام کار

How to redirect user to new link on clicking in chrome via extensions?

Vote count: 0 I am trying to make a chrome extension which redirects the user to modified link when user clicks the extension button.I created manifest.json,icon file,popup.html and popup.jsBut my code is not working. I have read the answer to a similar question but still I'm not able to resolve the problem. Link--> How to modify current url location in chrome via extensions Pseducode of what I am trying to do:1.get url of current tab(suppose www[dot]xyz.com)2.Modify the url (abcxyz[dot]com)3.update the link and redirect to new link (go to abcxyz[dot]com) This is what I've written so far.... // To get the url chrome.tabs.query({ active: true, lastFocusedWindow: true }, function (tabs) { // D...

ادامه مطلب

Asking for day/time user input (SWIFT/iOS)

Vote count: 0 I'm new to Swift and am having trouble deciding on the best path to get user input on a specific day/time. For example, user provides a date and time in order to search. DatePicker and PickerView are two options I've played around with building out, but after researching this problem people comment that these aren't used commonly, which is making me pause and ask the experts. I need to limit date options to only today and future dates, which doesn't seem possible with DatePicker, so I'm leaning towards PickerView. Is there a different approach you would take? Thanks. asked 1 min agoBen Let's block ads! بخوانید...

ادامه مطلب

ASP.Net MVC: How to force user to select any checkbox by data annotation

Vote count: 0 i have showing many checkboxes for hobbies property in view model but i like to attach ValidationMessageFor as a result user should be force to select any one checkbox out of many. so here is model & viewmodel public class Hobby { public string Name { get; set; } public bool IsSelected { get; set; } } public class SampleViewModel { [Required(ErrorMessage = "Select any Hobbies")] public List Hobbies { get; set; } } action method code public ActionResult Index() { var SampleVM = new SampleViewModel(); SampleVM.Hobbies = new List() { new Hobby(){ Name = "Reading", IsSelected= false }, new Hobby(){ Name = "Sports" ,IsSelected= false}, new Hobby(){ Name = "Movies" ,IsSelected= false...

ادامه مطلب

Mac App Store Sandbox - installing user scripts?

Vote count: 0 My OSX App is sandboxed, and I would like to give users an option to install some optional bash scripts into ~/Library/Application Scripts/ Apple review doesn't like the method i have used: opening a seperate window with an option to drag&drop into the correct location. I referred to this article, and thought it would be ok for the MAS: https://www.objc.io/issues/14-mac/sandbox-scripting/ Does anyone have any tips about how to go about this? I seem to remember some apps providing a download of exteal scripts, but if Apple doesn't like the drag&drop, why would they prefer an option to download in the UI instead? Or would I need to direct users to my site after purchase, and tell...

ادامه مطلب

VBA Excel function that inserts the word Winner into Column o, when user selects the word Jackpot from a drop down list?

Vote count: 0 Private Sub Worksheet_SelectionChange(ByVal Target As Range) For x = 6 To 88 If Cells(x, 14).Value = "Jackpot" Then Cells(x, 15).Value = "Winer" ElseIf Cells(x, 14).Value "High" Then Cells(x, 15).Value = " " End If Next x End Sub The issue I am having is when column O is populated by the user with any text the procedure should not overwrite the text entry. I do not know how to write a VBA code that keeps the text entry the same and not have the procedure overwrite it. asked 2 mins agoKayla Let's block ads! بخوانید...

ادامه مطلب

In MFC, how can WinMain function find user application object's address value?

Vote count: 0 Greeting, I'm novice in MFC area. I have a question about process of starting MFC application. I leaed that unlike SDK program, I don't have to write WinMain. Because It is supplied by the class library and is called when the application starts up.* And my curious part is here: *Then CWinApp calls member functions of the application object to initialize and run the application. That sentence indicates that CWinApp already know address value of application object which is made by a programmer. However, even though application object is defined as global variable, how can WinMain function find application object's address value? I couldn't find any coection or declaration in my s...

ادامه مطلب

What are the objectives of user experience design and how does it differ from other design related disciplines?

Vote count: 0 I know that UX design addresses how a user reacts to , remembers and re-uses a system. User experience is the goal , not just of an interface , but of a product or interaction within an organisation. This differs from UI design because it only focuses of the actual elements that interact with the user. What are the objectives of UX design and what other design related disciplines are there? asked 2 mins agouser8010 Let's block ads! بخوانید...

ادامه مطلب

Storm - How to send data to REST services or Other user interface

Vote count: 0 Is there any way that we can use to send the data to other application(s) by using Storm? I am looking for options, in which we can send data to user interface or other REST service(s) through Apache Storm. There are APIs available those we can use to send data to HDFS or other NoSQL database like Cassandra. However, I think we need to have an API which will send data to REST services ruing out side of Storm application. Thanks in advance. Avinash asked 2 mins agoAvinash Let's block ads! بخوانید...

ادامه مطلب

Powershell - Run BAT file as a Local User Account

Vote count: 0 I pulled this from another question, but I caot seem to make this work. I'm needing to run this .bat file as a local admin account. I want users to be able to run and install this without having local admin rights. I'm not sure what's wrong though. Thanks in advance for help. $useame = 'localadmin' $password = 'passwordforlocaladmin' $securePassword = ConvertTo-SecureString $password -AsPlainText -Force $credential = New-Object System.Management.Automation.PSCredential $useame, $securePassword Start-Process -filepath "p:kaceInstallerkaceinstall3.bat" -Credential $credential The error I'm getting back is: Start-Process : This command caot be executed due to the error: The direct...

ادامه مطلب

In C#: How to Create a List of Tuples containing a Control and a list of users which are authorized to access this Control?

Vote count: 1 I am building a C# application for a law firm. In every Form there are some Controls which only some of the users can access (for other users - those Controls will be disabled). I have built it like this: There is a class called AuthorizedForm that inherits from Form. This class has a method called SetAuthorization, which enables all the Controls the user may access, and disables the rest. Each form in the application inherits from AuthorizedForm. When the user logs in, the SetAuthorization method is called and receives as parameters the id of the logged in user, and a list of rules. Every rule consists of a Control, and a list of users that can access that Control. The list is...

ادامه مطلب

Sequelize find two users in same group

Vote count: 0 user_id | group_id ------------------ 5 3 6 1 6 3 7 1 7 2 8 2 My join table looks like this. The query I'm trying to accomplish is finding if two user_ids have a matching group_id. In raw sql I would flatten the table. However, I'm not sure how to query the table and get the results I want with Sequelize. asked 1 min agoibtjw Let's block ads! بخوانید...

ادامه مطلب

change color of input box text as user types

Vote count: 0 Hi I want to change certain words as user types in input box on run time. Is there anyway to do this as when i use replace jqeury function it replaces the value but does not allow me to change css of it. Thanks here is what i have achieved so far This is Javascript $("#submit-button").click(function(){ var oldString = 'john', newString = 'chrome' $("#text-editor").val($("#text-editor").val().replace(RegExp(oldString,"gi"),newString)); }); This is HTML Submit asked 2 mins agoSyd Abd Rehman Kazmi Let's block ads! بخوانید...

ادامه مطلب

syntax error (missing operator) two user in login form

Vote count: 0 Syntax error (missing operator) in query expression 'Useame ='admin' [Password] ='admin' AND AccountType = Admin''. Dim co As New OleDbCoection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:UsersJenDocumentsJadevbdatabase.accdb") txtAdmin.Text = "Admin" Dim strsql As New OleDbCommand("select * from Login where Useame ='" & txtUseame.Text & "' [Password] ='" & txtPassword.Text & "' AND AccountType = Admin'", co) Dim uu As New OleDbParameter("UserName", txtUseame.Text) Dim pp As New OleDbParameter("Password", txtPassword.Text) strsql.Coection.Open() Dim reader As OleDbDataReader reader = strsql.ExecuteReader If reader.HasRows Then strsql.Coection.Close() MsgBox(" Successfully ...

ادامه مطلب

Symfony 3.0.1 Security User requires $active property?

Vote count: 0 I recently followed the basic tutorial of the security section of the book, and had everything working wonderfully. However, I've made some changes to the database now that I have a better grasp on the basic concepts, only to find that the authentication service is throwing exceptions because my database table no longer stores the $active property. I've removed the getters and setters and the property itself from my user entity, but it still seems to be querying for that column. Is the $active property mandatory when using the default security implementation? Do I need to override the user query, or is there something else I'm missing? Thanks! asked 4 mins agoChewy This entry p...

ادامه مطلب

My query is not working in Inserting a data from the currrent user in a Session to another table

Vote count: 0 I am done with my carting part and now I am in the checkout part. My code is fine but what I want to insert the user_id of the current user in the checkout table in my datbase. Here is some part of my code. The customer_id must be the users_id from the users table. I am just a rookie in this area and I don't have idea to do this. THANKS...

ادامه مطلب

Use another table for users to login in cakephp 3

Vote count: 0 Since I use Cakephp, I used Mysql with Cakephp conventions (Users table with useame and password fields). For some reason, I have to use Postgres database with loginutil instead of useame and mdputil instead of password. And I use a table named Utilisateur. Here is the code I put in AppController.php for Auth component : $this->loadComponent('Auth', [ 'authenticate' => [ 'Form' => [ 'fields' => [ 'useame' => 'loginutil', 'password' => 'mdputil' ], 'userModel' => 'Utilisateur' ] ], 'loginAction' => [ 'controller' => 'Utilisateur', 'action' => 'login' ] ]); In login.ctp I have two input : $this->Form->input('loginutil'); $this->Form->input('mdputil'); The login method in my Utili...

ادامه مطلب

HBase User Logs HDP 2.2

Vote count: 0 I'm trying to get the logs of the user using hbase and I tried to change the file log4j.properties. I only have the files gc.log-*, hbase-hbase-master-.log and hbase-hbase-regionserver-.log in my folder /var/log/hbase/, but logs are not relevant. My log4j.properties : # Define some default values that can be overridden by system properties hbase.root.logger=INFO,console hbase.security.logger=INFO,console hbase.log.dir=. hbase.log.file=hbase.log # Define the root logger to the system property "hbase.root.logger". log4j.rootLogger=${hbase.root.logger} # Logging Threshold log4j.threshold=ALL # # Daily Rolling File Appender # log4j.appender.DRFA=org.apache.log4j.DailyRollingFileApp...

ادامه مطلب

Can it be possible to request to LMS the Total Points a user has in the hole Course?

Vote count: 0 i've build a course in Captivate 9, it has 7 modules, in the module 7, at the last slide i've set a Certificate, i wanted to know if is it posible to resquest to the LMS the total points in the hole course (suming all modules points) from the current user?? so i can check if the current user has the minimum points to get to the certificate. Thanks!! asked 4 mins agouser1354774 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

How to create multiples types of users in Django 1.9?

Vote count: 0 I am here to get help of you. I need to implement a system with multiples types of users(e.g.. Doctor, Secretary, superuser), but I don't know the best way to make this. I am trying this way: I have created 2 models with a relation OneToOne to User, this models has specific infos according each type of user. from django.contrib.auth.models import User from django.db import models class Doctor(models.Model): user = models.OneToOneField(User) .... class Secretary(models.Model): user = models.OneToOneField(User) .... So far so good, but I too need add new users by django admin, how Can I choose the type of user in django admin and to create this relation (add this infos according ...

ادامه مطلب

Do robots refer to User Agent in robots.txt using OR or AND manner

Vote count: 0 Let's say I have list of user agents in my robots.txt like User-agent: Applebot Disallow: something User-agent: baiduspider Disallow: something User-agent: Bingbot Disallow: something User-agent: * Disallow: something Would bots reference User Agents in OR maer or AND maer? If Bingbot crawls this site, do Bingbot rules and * rules apply together? edited 18 secs agoMatt Raines asked 2 mins agoEnglishMaster This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب