EvilZone

Other => Found it on the Webs => Topic started by: lucid on November 12, 2012, 08:50:33 AM

Title: Custom homepage
Post by: lucid on November 12, 2012, 08:50:33 AM
Thought this was kinda cool.. All you do is pick a background(or upload your own) and click the option to set as your homepage. It uses google.

http://www.shinysearch.com/ (http://www.shinysearch.com/)
Title: Re: Custom homepage
Post by: iTpHo3NiX on November 12, 2012, 09:04:59 AM
Thought this was kinda cool.. All you do is pick a background(or upload your own) and click the option to set as your homepage. It uses google.

http://www.shinysearch.com/ (http://www.shinysearch.com/)

LOVE IT!!

(http://i50.tinypic.com/2ch2gxe.png)
Title: Re: Custom homepage
Post by: Snayler on November 12, 2012, 09:20:47 AM
This one looks better for you, skid:
(http://oi47.tinypic.com/2lmnbe0.jpg)
Title: Re: Custom homepage
Post by: lucid on November 12, 2012, 09:25:25 AM
(http://i.imgur.com/2XZHM.png)


I just hate the shinysearch toolbar at the top of mine  :'(
Title: Re: Custom homepage
Post by: Kulverstukas on November 12, 2012, 09:47:45 AM
Oh shit, lucid, this is so awesome :D thanks you very much!
Also moved to found it on teh webz.

Edit: it looks cool until you start to search - then it just gets annoying and ugly :(
Title: Re: Custom homepage
Post by: lucid on November 12, 2012, 10:10:27 AM
Glad you guys like it  ;) . Oh come on Kulver it's not that bad, just don't pick a dumb picture. I thought it looked pretty cool.

Here use this that way there is cool matrix code on the sides of your search :
http://i.imgur.com/OTgUM.jpg (http://i.imgur.com/OTgUM.jpg)

I always end up using the top bar anyway I just like to see my own shit when I first open FF
Title: Re: Custom homepage
Post by: Snayler on November 12, 2012, 10:16:49 AM
Isn't this almost the same as using iGoogle (http://www.google.com/ig)?

EDIT: Nevermind, it doesn't let you choose a background, as it seems...
Title: Re: Custom homepage
Post by: lucid on November 12, 2012, 10:20:47 AM
Yeah AFAIK iGoogle is much more limited. Most things that allow you to create a custom homepage require you to be signed in to your Google account.
Title: Re: Custom homepage
Post by: Kulverstukas on November 12, 2012, 11:38:09 AM
Yeah AFAIK iGoogle is much more limited. Most things that allow you to create a custom homepage require you to be signed in to your Google account.
Also this:

Quote
iGoogle will not be available after November 1, 2013.
Title: Re: Custom homepage
Post by: Zesh on November 12, 2012, 06:52:11 PM
OLD. I'm disappointed, I thought we were all programmers here. Make your own homepage! :P
Title: Re: Custom homepage
Post by: iTpHo3NiX on November 12, 2012, 09:38:52 PM
OLD. I'm disappointed, I thought we were all programmers here. Make your own homepage! :P

hehehe :P

Code: (HTML) [Select]
<html>
<title>ENTER YOUR NAME HERE</title>
<body background="IMAGE.PNG">
<center>
<h1>INSERT YOUR SEARCH TROLL</h1>
<br />
<form method="get" action="http://www.google.com/search">
<div style="border:1px solid black;padding:4px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text"   name="q" size="25"
 maxlength="255" value="" />
<input type="submit" value="Google Search" /></td></tr>
<tr><td align="center" style="font-size:75%">
</td></tr></table>
</div>
</form>
</center>
</body>
</html>

Whipped this up real quick... Best part is you can have it local or online. You can make it say and do whatever you want... Hell you can even have options for advanced operators for dorking and shit :P
Title: Re: Custom homepage
Post by: lucid on November 12, 2012, 10:43:20 PM
TBH I tried but I couldn't get it to work online  :-[ . This looks pretty simple though. I'm new to web dev  :P
Title: Re: Custom homepage
Post by: iTpHo3NiX on November 12, 2012, 11:04:53 PM
TBH I tried but I couldn't get it to work online  :-[ . This looks pretty simple though. I'm new to web dev  :P

I can probably whip up a more advanced PHP one that can input more advanced searches and shit. Probably have a process.php, index.html, and style.css where you can comstumize it and make it supaC00l
Title: Re: Custom homepage
Post by: Zesh on November 12, 2012, 11:05:55 PM
TBH I tried but I couldn't get it to work online  :-[ . This looks pretty simple though. I'm new to web dev  :P

Aha, it ain't hard :P

@skidiot.h

There we go, +1 :D
Title: Re: Custom homepage
Post by: lucid on November 14, 2012, 01:21:14 AM
Ok here's mine:

Code: (html) [Select]
<html>
<title>net.explore</title>
<link rel="stylesheet" type="text/css" href="homepage.css" />
<body>
<center>
<p>The Network</p>
<br />
<form method="get" action="http://www.google.com/search">
<input onfocus="this.value=''" type="text"   name="q" size="45"
 maxlength="255" value="get lost in the net" />
<input type="submit" value="Explore" />
</form>
</center>
</body>
</html>

The css:

Code: (css) [Select]
p{ color: white; font-size: 30px; font-family: neuropolitical; }

body{
    background: url(/path/to/my/pic.jpg);
    background-attachment: fixed;
    background-position: 27% 27%;
}

And here's what it looks like:

http://i.imgur.com/UYjhL.jpg (http://i.imgur.com/UYjhL.jpg)
Title: Re: Custom homepage
Post by: iTpHo3NiX on November 14, 2012, 04:06:19 AM
SEXAY :P

Anybody with a simple scripting language with AutoIT, or python, wtf, I challenge you to make a "Create a Homepage" script that will generate a page by inputting various variables such as Title, Background, etc. and have it generate a homepage :P I'll give you +5 (will take a few hours as I can give +1/hr)
Title: Re: Custom homepage
Post by: lucid on November 14, 2012, 04:09:40 AM
SEXAY :P

Anybody with a simple scripting language with AutoIT, or python, wtf, I challenge you to make a "Create a Homepage" script that will generate a page by inputting various variables such as Title, Background, etc. and have it generate a homepage :P I'll give you +5 (will take a few hours as I can give +1/hr)

Shouldn't this go in the coding challenge section?
Title: Re: Custom homepage
Post by: Uriah on November 14, 2012, 08:07:10 AM
SEXAY :P

Anybody with a simple scripting language with AutoIT, or python, wtf, I challenge you to make a "Create a Homepage" script that will generate a page by inputting various variables such as Title, Background, etc. and have it generate a homepage :P I'll give you +5 (will take a few hours as I can give +1/hr)
I think I'll take you up on that one Skid. Hopefully I'll have something by tomorrow night :D
Title: Re: Custom homepage
Post by: lucid on November 14, 2012, 10:11:52 AM
Ok here's an updated version:

Code: (html) [Select]
<html>
<title>net.explore</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<body>
<center>
<p>The Network</p>
<br />
<form method="get" action="http://www.google.com/search">
<input onfocus="this.value=''" type="text"   name="q" size="45"
 maxlength="255" value="get lost in the net" />
<input type="submit" value="Explore" />
</center>
<div>
<a href = "http://www.evilzone.org">Evilzone</a>
<window.location = 'http://www.evilzone.org'>
<a href = "http://www.bitspyder.net">Bitspyder</a>
<window.location = 'http://www.bitspyder.net'>
<a href = "http://www.archlinux.org">Arch Linux</a>
<window.location = 'http://www.archlinux.org'>
<a href = "http://www.cryptome.org">Cryptome</a>
<window.location = 'http://www.cryptome.org'>
</div>
</form>
</body>
</html>

The css:

Code: (css) [Select]
p{
    color: white;
    font-size: 30px;
    font-family: neuropolitical;
}
div{
    text-indent: 33%;
    font-size: 95%;
    font-weight: bolder;
}
body{
    background: url(/path/to/my/pic.jpg);
    background-attachment: fixed;
    background-position: 100%;
}
a:link{
    color: black;
    text-decoration: none;
    background-color: gray;
    border: 2px solid black;
}
a:visited{
    color: black;
    text-decoration: none;
    background-color: gray;
    border: 2px solid black;
}
a:hover{
    color: black;
    text-decoration: none;
    background-color: white;
    border: 2px solid black;
}

But I need an opinion. Which looks better, this one:

http://i.imgur.com/z1ncH.png

Or this one:

http://i.imgur.com/5T2rc.jpg

So hard to decide.  :P
Title: Re: Custom homepage
Post by: proxx on November 14, 2012, 10:50:57 AM
That first one is pretty cool :)
Archlinux!! :D
Title: Re: Custom homepage
Post by: Stackprotector on November 14, 2012, 11:05:44 AM
First one is awesome :)
Title: Re: Custom homepage
Post by: RedBullAddicted on November 14, 2012, 02:09:43 PM
Hi,

don't flame me :) Just made that in 15 min. at work during doing telephone support... Think this is the worst I have ever done. Guess other will do it much better .

Here ya go:

Code: (python) [Select]
import sys

values = sys.argv

def writeFile(location, text):
    try:
        output = open(location, 'a')
        for lines in text:
            output.writelines(lines)
        output.close()
    except IOError:
        print "can not open the file to write the output"

def valueFinder(value, values):
    pos = values.index(value)
    pos += 1
    var = values[pos]
    return var
       
if len(values) == 1:
    print 'usage: homepage.py -l "output location" -t "title" -s "stylesheet" -i "backgroundimage" -h "headline" -c "fontcolor headline" -p "headline font size 1-7" -v "searchvalue"'
    sys.exit()
   
if '-l' in values:
    value = '-l'
    location = valueFinder(value, values)
else:
    print 'Please specify a location for the output'
    sys.exit()

if '-t' in values:
    value = '-t'
    title = valueFinder(value, values)

if '-s' in values:
    value = '-s'
    stylesheet = valueFinder(value, values)
   
if '-i' in values:
    value = '-i'
    background = valueFinder(value, values)
   
if '-h' in values:
    value = '-h'
    headline = valueFinder(value, values)
   
if '-c' in values:
    value = '-c'
    fontcolor = valueFinder(value, values)
   
if '-p' in values:
    value = '-p'
    fontsize = valueFinder(value, values)
   
if '-v' in values:
    value = '-v'
    searchvalue = valueFinder(value, values)

text = '<html>\n'

try:
    if title is not None:
        text += '<title>'+title+'</title>\n'
except NameError:
    text += '<title>no title specified</title>\n'

try:
    if stylesheet is not None:
        text += '<link rel="stylesheet" type="text/css" href="'+stylesheet+'" />\n'
except NameError:
    text += '<link rel="stylesheet" type="text/css" href="style.css" />\n'

try:
    if background is not None:
        text += '<body background="'+background+'">\n<center>\n'
except NameError:
    text += '<body>\n<center>\n'

try:
    if fontcolor is not None:
        text += '<font color="'+fontcolor+'"'
except NameError:
    text += '<font'
   
try:
    if fontsize is not None:
        text += ' size="'+fontsize+'">'
except NameError:
    text += '>'
   
try:
    if headline is not None:
        text += headline
except NameError:
    text += 'The Network'

text += '</font>\n<br />\n<form method="get" action="http://www.google.com/search">\n<input onfocus="this.value=\'\'" type="text"  name="q" size="45" maxlength="255"'

try:
    if searchvalue is not None:
        text += 'value="'+searchvalue+'" />\n'
except NameError:
    text += 'value="get lost in the net" />\n'

text += '<input type="submit" value="Explore" />\n</center>\n<div>\n\n</div>\n</form>\n</body>\n</html>'

writeFile(location, text)

Example: (sadly on a windows host cause I am at work, no Eclipse with pydev... needed to do it in notepad)
C:\Python27>python.exe homepage.py -l "C:\test.html" -t "Custom Title" -s "stylesheet.css" -i "wallpaper-3.jpg" -h "Custom Headline" -c "white" -p "5" -v "searchvalue"

Cheers,
RBA
Title: Re: Custom homepage
Post by: iTpHo3NiX on November 14, 2012, 08:52:18 PM
http://i.imgur.com/z1ncH.png (http://i.imgur.com/z1ncH.png)

This one
Title: Re: Custom homepage
Post by: lucid on November 14, 2012, 10:07:21 PM
Haha I had a feeling you guys would like that one better.  :D
Title: Re: Custom homepage
Post by: iTpHo3NiX on November 14, 2012, 10:47:14 PM
and cool RBA ill check it out when im on the comp ;-)
Title: Re: Custom homepage
Post by: lucid on November 16, 2012, 03:30:12 AM
Ok, I'm not gonna keep doing this but it's so hard to decide by myself. So. I ask one more time, which looks better. The first one:

http://i.imgur.com/z1ncH.png (http://i.imgur.com/z1ncH.png)

Or this one:


http://i.imgur.com/MbqrB.jpg
Title: Re: Custom homepage
Post by: Uriah on November 16, 2012, 03:31:54 AM
Ok, I'm not gonna keep doing this but it's so hard to decide by myself. So. I ask one more time, which looks better. The first one:

http://i.imgur.com/z1ncH.png (http://i.imgur.com/z1ncH.png)

Or this one:

http://i.imgur.com/XElrO.jpg (http://i.imgur.com/XElrO.jpg)
I say the first one again :D
Its looks really awesome.
Title: Re: Custom homepage
Post by: iTpHo3NiX on November 16, 2012, 04:16:53 AM
I say the first one again :D
Its looks really awesome.

Double that ;)
Title: Re: Custom homepage
Post by: silenthunder on November 16, 2012, 04:32:00 AM
I like the 2 city ones, but idk which one I like more, the city before I came to be or the aftermath of my destructive path..
Title: Re: Custom homepage
Post by: lucid on November 16, 2012, 04:37:18 AM
Hehe I see you guys really like the dark city. Makes sense, this is Evilzone.

@silentthunder - yeah I kinda saw it that way as well. Maybe my user homepage will be the city and my root homepage will be the destroyed city....idk.
Title: Re: Custom homepage
Post by: Uriah on November 18, 2012, 05:49:21 AM
Here's the "Shiny search" program that I wrote with a screen shot. Using your image :D
Code: [Select]

# File name: Ez.py


# Criteria Query:


print("Welcome! Please insert the required criteria to create your own, custom homepage!")
print("1.Title?")
T = raw_input(" ")
print("2.Header? ")
H = raw_input(" ")
print("3.Header Font Style?")
HFS = raw_input(" ")
print("4.Text Color?")
HTC = raw_input(" ")
print("3.Search Text? ")
ST = raw_input(" ")
print("5.Search Button Text?")
SBT = raw_input(" ")
print("6.Background Image?(Please name a valid PING or JPEG file.)")
BI = raw_input(" ")
print("7.Background color?(Skip if you have an image.)")
BC = raw_input(" ")
print("8.Words in page body?")
WP = raw_input(" ")
print("9.Font Style?")
PFS = raw_input(" ")
print("10.Text Color?")
PTC = raw_input(" ")
print("11.Would you like to underline your header? If so, type: u If not, type: n.")
U = raw_input(" ")
print("12.Would you like to add any foot notes? Type them in.")
FN = raw_input(" ")
print("13.Footnote color?")
FC = raw_input(" ")


# Status report to the user:
print("Website has been created!")
print("Now, just drag the 2 new files on your desktop into a folder that includes your background image!")
print("Enjoy!")
raw_input("Press ENTER to quit. ")


# Creating the hypertext mark up language:
X = open("Homepage.html", "wb")
X.write( """
<!doctype html>
<html>
<title>"""+T+"""</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"Homepage.css\" />
<body>
<center>
<h1><"""+U+""">"""+H+"""<"""+U+"""></h1>
<br />
<form method=\"get\" action=\"http://www.google.com/search\">
<input onfocus="this.value=\'\'\" type=\"text\"   name=\"q\" size=\"45\"
 maxlength=\"255\" value=\""""+ST+"""\" />
<input type=\"submit\" value=\""""+SBT+"""\" />
</form>
<br /><br /><br /><br /><br />
<div id=\"Main\">
<h3>"""
+WP+
"""</h3>
<>
</center>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<div id="footnote">"""
+FN+"""
<>
</body>
</html>
""");
X.close()




# Creating the cascading style sheet:
Y = open("Homepage.css", "wb")
Y.write("""
h1{
    color: """ +HTC+ """;
    font-family: """ +HFS+ """;
}
body{
    background: url("""+BI+""");
    background-attachment: fixed;
    background-position: 27% 27%;
    background-color:"""+BC+""";
}
h3{
    color:""" +PTC+""";
    font-family:""" +PFS+""";
}
#footnote{
    color:""" +FC+""";
}
""");
Y.close()


# End.


Title: Re: Custom homepage
Post by: iTpHo3NiX on November 18, 2012, 07:31:24 AM
looks good bro, gave you another +1, I'll get to the 5 soon :P
Title: Re: Custom homepage
Post by: Uriah on November 18, 2012, 07:38:27 AM
looks good bro, gave you another +1, I'll get to the 5 soon :P
:D lol thank you very much man.
Title: Re: Custom homepage
Post by: lucid on November 18, 2012, 11:50:40 AM
Yeah looks great. I really love that everyone likes that image.  ;D
Title: Re: Custom homepage
Post by: Uriah on November 18, 2012, 11:54:41 AM
Yeah looks great. I really love that everyone likes that image.  ;D
Thanks! Yeah, your picture is awesome...I'm trying to find a better one to be unique, but I'm at a loss to do so lol.
Title: Re: Custom homepage
Post by: lucid on November 18, 2012, 11:56:17 AM
Well, not that this is unique. But if you google 'abstract dark boy' or something alike there is the same image but with the person hilighted in green. If you want...  :D
Title: Re: Custom homepage
Post by: Uriah on November 19, 2012, 01:22:49 AM
Well, not that this is unique. But if you google 'abstract dark boy' or something alike there is the same image but with the person hilighted in green. If you want...  :D
Made my own in GIMP, since red is my favorite color :D