What I like to know is if network programs still use this file? I can comment out http port 80 without any effects on firefox: ># http 80/tcp ># http 80/udp Then I can delete out /etc/services without no serious effects on the system: >sudo rm -v /etc/services The best of what I know is to manually enable/disable network services with systemd: >sudo systemctl enable NAME >sudo systemctl disable NAME The next question is how would I get the list of network services to enable/disable all in one config/script file on linux mint?

Member Avatar
Member Avatar
+0 forum 2

Hello, my name is John McPherson. I work for the DOL, in the Uneployment Insurance office, and I am working on an application that uses bash scripts as the controller running the application. I am trying to add a capability to email the output files to the users, which are the states that use the application. The case statement chooses which state to send the email to( or optionally not send an email if state does not want it), is erroring off. I am not sure what the problem is with code. The case statemnet in question is: ## print …

Member Avatar
+0 forum 0

Hello Community, I'm planning on buying a new computer monitor soon but I'm not sure which one I should buy. These are the two I'm trying to decide between [LG 27MP75HM](http://www.lg.com/au/it-monitors/lg-27MP75HM) or [LG 29UM65](http://www.lg.com/au/it-monitors/lg-29UM65) thing is the 27MP75HM will be good because I can fit more code on the screen but the 29UM65 will also be good because I like to multitask (however I already have dual monitors (monitor and laptop screen)). So what would be better? more code of more multitasking (again as I said I already have my laptop screen). I'm not fussed about the price just what …

Member Avatar
Member Avatar
+0 forum 3

Hi all, I was wondering if anybody can enlighten me on when it is best to separate javascript code in different script. Let me give you a practical example. I have a script that I would like to run everytime the page is resized, so I am thinking to use the `onresize` event. But I also have some code that I will need to run when the DOM is ready, so I will wrap it inside a `$(document).ready(function(){...});` I believe the script that is run onresize doesn't need to be inside a document ready, so is it worth splitting the …

Member Avatar
Member Avatar
+0 forum 4

Basically I got 2 calendar scripts from the same source. I saw a custom script before that merged these two but Everything I tried failed. Please help. Here are the 2 scripts. Script 1: $('#date3').DatePicker({ flat: true, date: ['2008-07-28','2008-07-31'], current: '2008-07-31', calendars: 3, mode: 'range', starts: 1 }); Script 2: $('#inputDate').DatePicker({ format:'m/d/Y', date: $('#inputDate').val(), current: $('#inputDate').val(), starts: 1, position: 'r', onBeforeShow: function(){ $('#inputDate').DatePickerSetDate($('#inputDate').val(), true); }, onChange: function(formated, dates){ $('#inputDate').val(formated); if ($('#closeOnSelect input').attr('checked')) { $('#inputDate').DatePickerHide(); } } }); Please help, I have a deadline and my head is already hurting.

Member Avatar
Member Avatar
+0 forum 2

New research shows that hackers are becoming increasingly lazy in their search for online exploits, with 98% of Remote File Inclusion and 88% of SQL injection attacks now being fully automated. It comes as no surprise whatsoever to DaniWeb administrators and moderators that your average cybercriminal is looking for the easiest way to earn a dishonest buck. After all, we have recently completely re-coded the DaniWeb forum from the ground up partly in order to deal with the increasing number of spambot attacks that were being launched against us across much of last year. Spammers have long since used software …

Member Avatar
Member Avatar
+1 forum 1

Hello guys, Does anyone know exactly how to make a comparison script for car insurance? Would be great if someone could make one for me (£), or could teach me! Cheers, Sam

Member Avatar
Member Avatar
+0 forum 3

Hi guys i first thank you for helps. and i have a script i use that for application authentication In fact the users must use your user name and password to use that App then after authentication of they user and pass passed they allow to use that application. and i have that script but i dont have the users.sql so if possible can someone creat it for me from the following code. Thank you. remauth.php: <?php // Database info $MySQL_Host = "localhost"; $MySQL_User = "root"; $MySQL_Pass = "pass"; $MySQL_DB = "blackops"; function ParsePost( ) { $username = ''; $password …

Member Avatar
Member Avatar
+0 forum 7

Hi, I am trying to use mysql select query in a shell script but i need to know how to store a particular value from the output of the query in a script variable. my script file is given below. I need to store the value under field CheckSum in the script variable $CHECKSUM_ORIG .There is only 1 entry in the db. The line `CHECKSUM_ORIG=$sqlquery;` doesnt work and gives a error. Please let me know the correct syntax/how to do it. If you have any link to a book on that u can share it as this is the 1st …

Member Avatar
Member Avatar
+0 forum 8

I have three javascript/jquery scripts and I need all of them. I am new in jquery so not able to add all three scripts. If I do all then one of them do not work. I need to put all three scripts into one. <script type="text/javascript"> $(function(){ // off $("#pgfor").twoitems({ header: false }); // off $("#city").single({ header: false }); // default $("#locality").multiselect({ header: true }); // off $("#roomtype").twoitems({ header: false }); // off $("#pricetype").twoitems({ header: false }); // off $("#price_value").multiselect({ header: false }); }); </script> <script type="text/javascript"> $(document).ready(function($){ $('#mega-menu-tut').dcMegaMenu({ rowItems: '3', speed: 'fast' }); }); </script> <script> $(document).ready(function() { $('a[id^="edit"]').fancybox({ …

Member Avatar
Member Avatar
+0 forum 1

I'm looking for a decent directory scripts. I've looked at clones, free and commercial. The commercials look promising but am not sure if they really are worthit. I really need to be able to edit the theme/template and wouldn't mind if there were a plethora of themes available. Are there also solutions specifically targeted towards business directories?

Member Avatar
Member Avatar
+0 forum 3

Hello, So I'm attempting to do a bulk creation of users into Active Directory (Server 2008) using Powershell. I have a script but every time it runs it throws a exception error. I have tried to go through and find what is wrong, but I am having little luck. Any help would be greatly appreciated! Script: [CODE] $objOU=[ADSI]“LDAP://OU=Users,DC=notmyrealdchere,DC=com” $list = Import-Csv "userImport.csv" foreach ($dataRecord in $list) { $cn=$dataRecord.FirstName + ” ” + $dataRecord.LastName $sAMAccountName=$dataRecord.FirstName + “.” + $dataRecord.LastName $givenName=$dataRecord.FirstName $surName=$dataRecord.LastName $sAMAccountName=$sAMAccountName.ToLower() $displayName=$surName + “, ” + $givenName $userPrincipalName=$sAMAccountName + “@itas.ca” $objUser=$objOU.Create(“user”,”CN=”+$cn) $objUser.Put(“sAMAccountName”,$sAMAccountName) $objUser.Put(“userPrincipalName”,$userPrincipalName) $objUser.Put(“displayName”,$displayName) $objUser.Put(“givenName”,$givenName) $objUser.Put(“surName”,$surName) $objUser.SetInfo() $objUser.SetPassword(“P@assw0rd”) $objUser.psbase.InvokeSet(“AccountDisabled”,$false) $objUser.SetInfo() …

Member Avatar
+0 forum 0

I am looking at building a website that will allow people to sign up and post stats every week about others. For example, Joe has a show dog and likes to compete so Joe comes to to the site and posts. Dog Name: Breed: Weight: Skills: Week 1: Fastest lap time:22.62 Highest Jump: 4'9 Fastest 25 yards: 2.43 Week 2: Fastest lap time:21.42 Highest Jump: 4'10 Fastest 25 yards: 2.33 Total: Fastest lap time:xx.xx Highest Jump: x.x Fastest 25 yards: x.xx Any ideas would be great or a script if anyone knows of one. Must support large scale logins. Thanks …

Member Avatar
Member Avatar
+0 forum 1

Hi I have a folder and its contain 5 text files. My question is How can I navigate to folder and read two first line of the txt files in folder with python scripts? I will be very greatful for your help. Reagards Tony

Member Avatar
Member Avatar
+0 forum 5

Hi, I am running Ubuntu 10.04 LTS, and wanted to install RVM today, I used: bash < <( curl [url]http://rvm.beginrescueend.com/releases/rvm-install-head[/url] ) (NOTE: I already have git-core and curl, etc.) After running that command I get the output in terminal from Wayne, and I added: if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi to .bashrc. I also replaced the return statement in .bashrc with the one recommended on the RVM website. After a system reboot, I tried to run rvm notes, and then a bunch of: "No such file or directory" lines are printed. I'm no Linux expert, …

Member Avatar
+0 forum 0

Am trying to get this code to work where the user enters n rock,paper,or scissors and the computer randomly picks as well, it then states what each choose, once u click ok it tells who won the match but my code once it shows the 1st winner result have to keep clicking ok to get thru the rest of the winner messageboxes. what am i missing? this is a .vbs extension that i am writing up using wordpad then testing the file where it is located by dbl clicking the file and playing the game. please help. 'Formally declare variables …

Member Avatar
Member Avatar
+0 forum 1

okay so i got a little script that from button links load different information within the same page what im trying to achieve is pulling php coding to the same file but each time i try it throws up errors below is the code that is giving me a problem (its a banip script) [CODE] $getpage['code'] = '<p> <center> { if($_POST['Submit']){ $open = fopen("ipban.php","w+"); $text = $_POST['update']; fwrite($open, $text); fclose($open); } echo "</textarea>"; $file = file("ipban.php"); echo "<center><br />Please enter the IP Address you wish to ban, One IP Address per line and click update.<br /><br /><form action=\"".$PHP_SELF."\" method=\"post\">"; echo …

Member Avatar
Member Avatar
+0 forum 18

Hello, I'm following this script [url]http://evolt.org/PHP-Login-System-with-Admin-Features?from=2450&comments_per_page=50[/url] and it uses username to sign up. I was wondering if anyone can help me out in figuring out what to change in order for the user to input the username to email sign in. I know how to change the main.php where you can just change the <input> section but, there's so many pages that I'm not sure what else I need to change since I'm only starting out in php. Thank you

Member Avatar
Member Avatar
+0 forum 3

Here is the list of scripts directories to submit your scripts,software to get more exposure.If you have developed new scripts,software then submit it to these script direcories. [url]http://www.scriptsdesk.com[/url] [url]http://gscripts.net/[/url] [url]http://www.allthescripts.com/[/url] [url]http://www.cgi-index.com/[/url] [url]http://www.cgiexpo.com/[/url] [url]http://www.allthescripts.com[/url] [url]http://www.scriptswave.com/[/url] [url]http://www.infoscripts.com/[/url] [url]http://scriptlisting.net/[/url] [url]http://scriptrank.com[/url] [url]http://www.best-php-scripts.com/[/url] [url]www.freephpdirectory.com/[/url] [url]www.slashscripts.com[/url] [url]www.phpscriptsearch.com[/url] [url]http://www.fileplaza.com[/url] [url]http://www.scriptsez.com/[/url] [url]http://php.resourceindex.com[/url] [url]http://www.hotscripts.com/[/url] [url]http://www.scriptaty.net[/url] [url]http://www.codango.com[/url] [url]http://www.webresourceindex.com[/url]

Member Avatar
+0 forum 0

Hello. I have a string that im trying to pull text from. But I want it to pull the text between certain points. Is this possible? For Example: DABHolly,BuddyDAL1466 N Scooby AveDAIAtlantaDACGADAQ =========================== ========= Is there a script that can pull the text between DAB & DAL, DAL & DAI, DAI & DAC, etc. Im trying to extract "Holly, Buddy", "1466 N Scooby Ave", "Atlanta", and "GA"

Member Avatar
Member Avatar
+0 forum 2

Hello, I would like to know if you know any framework/classes for systems administration in windows/linux environment. Thanks for you replies! Bye, Marco.

Member Avatar
+0 forum 0

The End.