|
|
|
Access System Time Remotely using Iron Python
4
This simple script can be used to get the script filename and extensio
2
access the system time on a remote computer using VB.Net
1
Fordiman
If your site is funded by advertisements, you may be annoyed with the growing use of AdBlock.
Well, a fair way to deal with AdBlock users is to degrade content (e.g., limit your archives, serve lower-bandwidth versions of images, prevent downloads, etc). The simple PHP script below will have your browser look for the presence of AdBlock/AdBlock+ and run a little Javascript of your choosing if AdBlock is present.
Just note: it's your choice on what to do about AdBlocking users. Blocking them outright will get you little more than a "Screw you"; degrading content may yield a similar response, but not so much if it's accompanied by a plea concerning your sole revenue source.
The PHP script fully randomizes variable names and randomizes the order of parallelizable tasks, and chaffs the file with whitespaces, and has a short list of false positives it can initiate. This is meant to reduce the potential for reverse detection (AdBlock blocking the AdBlock detector). It's also meant to be an inline script, for the same reason (you can't regex a filename that doesn't exist).
Example of use:
Well, a fair way to deal with AdBlock users is to degrade content (e.g., limit your archives, serve lower-bandwidth versions of images, prevent downloads, etc). The simple PHP script below will have your browser look for the presence of AdBlock/AdBlock+ and run a little Javascript of your choosing if AdBlock is present.
Just note: it's your choice on what to do about AdBlocking users. Blocking them outright will get you little more than a "Screw you"; degrading content may yield a similar response, but not so much if it's accompanied by a plea concerning your sole revenue source.
The PHP script fully randomizes variable names and randomizes the order of parallelizable tasks, and chaffs the file with whitespaces, and has a short list of false positives it can initiate. This is meant to reduce the potential for reverse detection (AdBlock blocking the AdBlock detector). It's also meant to be an inline script, for the same reason (you can't regex a filename that doesn't exist).
Example of use:
7
Well after searching the internet for something similar to this, I didn't come up with anything...so I made my own! This simple script will track your members' time spent on your website. Please feel free to give comments/suggestions/feedback.
10
This python class converts a permission mask in symbolic format (the kind a diretcory listing produces, ex.: drwxr-xr-x) to a string that's usable in a chmod command.
ex.: chmod u=rwx,g=rwx,o=rwtx ~/myscripts/convert_mask.py
This can be very useful when recovering permissions from a backup.
ex.: chmod u=rwx,g=rwx,o=rwtx ~/myscripts/convert_mask.py
This can be very useful when recovering permissions from a backup.
8
If you only want to compare yyyy-mm-dd you can use the java.sql.Date class, the valueOf method does the trick. It's perfectly safe as the sql Date class is a subclass of the Date class.
Check out the docs here for more detail.
enjoy
Check out the docs here for more detail.
enjoy
5
List all services of a remote compute
4
enable remote admin settings
9
Copies files from nested folders into one source, flat directory.
0
FormatDateTime Functio







