.
Type: Posts; User: emiller12345; Keyword(s):
.
You might want to invest in a backup harddrive, cp your data over and then verify that it is okay (check whatever you think might have been altered). This way, if its not right you can always go back...
I thought it would be nice to have some kind of a simple log reader for iptables logs.
Usually they aren't seen until way later, and this give the user a much faster response time to firewall log...
Yes I like this idea. Thank you. I was contemplating a system of randomly generated rays rays to do this, but thought it would be very slow. As you pointed out, the end points of the triangles are...
Yeah, sorry. I'm trying to determine which triangles will appear in front of which triangles, from a single perspective. So lets say I have a set of triangles, and I already know these triangles do...
Dos any body know if there is there a way to quickly sort a series of n triangles so that when drawn in that order, they will appear to have the correct depth, assuming none of the triangles overlap?...
Check this out. You may be surprised to know that you are/might already doing so.
if you have a "-m state --state" command in any of your iptables then your using a very neat part of iptables
...
Google is massively integrated. Just about every website you go to has been integrated with google. Even your firefox browser has default built in links to http://safebrowsing.clients.google.com (in...
yes thank you.
("MyPHP.class.php" === basename($_SERVER['PHP_SELF']))this appears to work okay to discriminate the required from non required
edit:
I didn't realize that $_SERVER['PHP_SELF']...
Is there anyway to tell if a file is being called as a require to another file, or if it is being accessed directly?
I missed that he had already added quotes in the incorrect place.
#!/bin/bash
path="$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
#The variable NAUTILUS_SCRIPT_SELECTED_FILE_PATHS comes with an...
ah yeah, thats strange, dunno
I think you might need double quotes around $quoted
gsettings set org.gnome.desktop.background picture-uri "$quoted"
This is a oneliner:
$ ETC_PASSD=/etc/passwd; UID_LIST="$(cat $ETC_PASSD | awk -F: '{print $3}' | sort | uniq)"; for uid in $UID_LIST; do echo -ne $uid":"; for name in $(cat $ETC_PASSD); do if [...
Ah, thanks. That works.
Trying to figure out how to grab an element from an array variable inside a class, where the array variable is labeled private. Does anyone know what I'm doing wrong?
<?php
class GetArray {
...
Although its a bit outdated, I've been looking for a way to get dazukofs functioning for the modern kernel. This would provide "on-access" scanning of files on a linux computer. Ref:...
sed appears to not work well running over new lines. If you can get away with swapping out the newline characters with some other character temporarily, then this might work.
$ echo "Here is the...
I would like to try and get this module working with the linux 3.x kernel but it will take some updating. I'm hoping that it will not be that difficult and have started working on a patch to correct...
Before you do this command, you need to make sure that '/dev/sdb' is related to you usb drive and not any other drive (like your harddrive). You can check this by doing
ls /dev/sd* BEFORE...
I'm not sure I completely understand the problem, but if your server is sending spam emails originating from port 80 then you can eliminate all port 80 -> low port number traffic with
sudo...
The OP might consider verifying that the gmail login webpage is actually SSL encrypted by clicking on the blue 'google.com' logo near the part where it says https://accounts.google.com. If the login...
One thing that I'm not noticing is the loopback adapter rules. This might help, but it's not a UFW solution. Maybe someone else can figure it out how to fix this in UFW.
$ sudo iptables -I...
UFW is a handler for iptables, and it might be easier to see what is actually going on if you dump the iptables rules directly
sudo /sbin/iptables-save
will list the available iptables rules...