« first day (1040 days earlier)      last day (3907 days later) » 

5:31 PM
tumble weed
 
lol
Let's ping a random guy or girl ...
@sniko
 
Just a follow-up from this mornings PHP 5.5/JSON discussion, this was just posted on Reddit: philsturgeon.co.uk/blog/2013/08/…
 
You ever hack anything?
I've always wanted to hack my old bosses wordpress and make a blog saying "Fab is awesome"
 
@Fabien heh, there are some awesome tools to scan websites
 
Go on... :)
 
5:35 PM
@Fabien wpscan.org
There is also joomscan for Joomla, otherwise there are some allround scanners
 
cool
 
of course, it's illegal in most cases unless you have permission :-)
If you want to scan on the OS/service layer, there is "nmap". From there on, it's just googling the services and their versions for some known exploits. You may even end up using "metasploit" and p0wn the box and get r00t access :)
 
He won't mind. We're on good terms.
 
@Fabien That wont cover you legally.
 
5:41 PM
lol
 
/changing icon now
 
:P
 
now to wait for it to propagate.
 
@Pheagey lol
Quote: "I'm searching for a non-mvc php framework because simply I hate MVC"
 
lol
 
5:50 PM
mvvm?
 
@Pheagey meh, I won't argue with that person. Just saw it passing in my FB feed ...
 
Neither would I. Sounds like to much Hater-aid.
 
It's more like that guy wanted to create his own CMS. Well a cms to represent the country. So I though maybe I could help out. I downloaded the zip and for 5mn I spotted several problems: using md5, using mysql, it was full of XSS, SQLi exploits and much more. The code was more than horrible and unreadable. So I wrote some advice for him and then got a reply "You're demoralising me". I was like "lolwut?" I'm trying to help you that's all
Some time later, the guy had again some problem with his code, I checked it. He didn't take 1 advice of mine and the code became worser. For me it's a byeb
So no wonder he hates mvc, he likes spaghetti code from what I saw
 
mysql is enough for me to just walk away.
It's like Windows XP; should have been put down like a sick dog many years ago.
 
There is a saying:
> Never argue with stupid people, they will drag you down to their level and then beat you with experience.
 
5:59 PM
indeed
 
(see the edits)
 
@HamZa one day I might start to use the tags :D
 
@cheesemacfly haha :) When you reach 10K maybe ?
 
6:07 PM
Yep probably, so not before a few years!
 
6:26 PM
@ircmaxell great :)
 
/me screams
 
@Neal it's decent, but I'm probably biased. ;-)
 
was just told by a vendor on the phone that they know more about how to run PHP at "enterprise scale" than I do. I said "ok, but you're still wrong on this one"...
talking about memory limit errors vs a segfault
 
Ah youtube ...
 
@HamZa lol
 
6:39 PM
Sometimes I find weird people on the internetz
 
@ircmaxell cancel contract.
 
I would have years ago if it was me
 
@BenjaminGruenbaum Probably someone from the reviews
 
Reviews?
 
@BenjaminGruenbaum /review
 
@BenjaminGruenbaum Something like "First Posts" review queue
 
7:05 PM
Ah
 
Blind upvotes to get the badge.
 
First post review list. I saw on meta that some people upvote/downvote to avoid the trick system
 
Eveningmornignafternoon
And hi room
 
This way you can be a robot and go for the badge easy
 
7:06 PM
Who cares if the answer/question deserves a vote? :)
 
i'm confused
i get the impression that you are bitching about something , but i cannot understand about what exactly
 
I've installed twitter bootstrap in my Laravel 4 app using Basset and built a minified compiled .less (in css), but I get an empty image everytime I try to use the glyphicons. Any help?
 
@GiovanniDiToro firebuuuuug !
 
@GiovanniDiToro How is any of this related to PHP?
 
7:13 PM
@Madara its laravel, a php framework, and I bet the error is not the css , but the routing (configuration) to the glyphs in the first place, witch takes us to... PhP
 
it actually sounds like a problem with webserver
 
@HamZa it says I've got an empty image, the whole css rule is there, but in contents it displays an empty square (in firebug)
By the way , the glyphs are in svg
 
$&$^%^#&^%#^& NGIIIIIINX ><
 
@HamZa I feel you bro.
Me and Nginx? We're on a hostile truce.
 
7:16 PM
@MadaraUchiha I'm trying for days now :(
 
I don't touch it,and it doesn't explode on me.
 
Only took about 20 minutes with php 5.3 -_-
 
@Hamza what does that regex do ???? :p
 
@HamZa No luck with my step by step instructions?
 
Where are you stuck though?
 
7:17 PM
no :(
Still showing nginx homepage
 
what's your enabled-sites look like?
 
@HamZa That is just a wrong config. pastebin pls
BTW you do realize that you have to restart both nginx and php-fpm after changes right? @HamZa
 
@PeeHaa Yeah I know. I've been restarting and rebooting a lot
This is just driving me crazy, now when I open the IP I get the php file in plain (un processed)
 
Where's the /etc/nginx/sites-enabled/ pastie -_-?
 
@HamZa Patse bin your config pls
 
7:23 PM
or however you setup the config
 
@Fabien I'm sorry, but this sounds too noob: how can I get the file ?
or should I configure SSH first ?
 
ssh in yes
 
let me fix that first. ..
 
How are you installing nginx without terminal?
 
^ that :)
 
7:25 PM
@Fabien VM, so I'm typing directly in the VM ....
 
In that case you don't need ssh
 
Which means I wrote everything by hand @PeeHaa :(
 
Yeah, just use the one in your VM. You can paste out of VM can't you?
 
@HamZa Can't you paste in vm?
 
no lol
 
7:26 PM
Yeah. bridged connection
ssh in
it's painful not being able to resize your terminal.
 
@HamZa wow that sucks
:P
 
I've to install some crappy plugins, I've tried that and it seems I had to recompile some kernel things: that failed
 
@HamZa what OS is running in your VM?
 
@cheesemacfly centos
 
With the desktop and all?
 
7:27 PM
@cheesemacfly nope
 
Inside VirtualBox?
 
@cheesemacfly inside VB, but I chose the minimal thing, so it's only terminal stuff
 
I always prefer Ubuntu
 
Go with SSH then, it's gonna be easier :D
 
Which do you prefer Hamza?
 
7:28 PM
@Fabien As server?
 
Yeah. I've always had the best luck with it :X
 
@Fabien I don't prefer any, I'm new to all of this. I've played a bit with backtrack but that ain't an OS for dev.
 
@Fabien I'm now on Lubuntu, the server on Centos
SSH installed ...
 
7:36 PM
@hamza, you're ssh'd into your server now?
 
@Fabien Yeah, finally (With sudo priv) sigh
 
heh
 
Let's see how to download a file ...
 
ok
cd /etc/nginx/sites-enabled/
ls
anything in there?
 
cd /etc/nginx/conf.d/
 
7:38 PM
@Fabien I didn't create sites-enabled
@PeeHaa I'm there
 
That's debian talk ;)
 
Oh yeah I am debian tbf
 
lol
 
@HamZa What files do you have in the conf.d?
 
*passes torch to @PeeHaa *
 
7:38 PM
:)
 
@PeeHaa cyberguru.com.conf default.conf ssl.conf virtual.conf
 
Patsebin the cyberg and default one pls
 
@Fabien _italic syntax_
@PeeHaa let me google how to "download a file via ssh"
 
@HamZa Are you connected using putty?
 
@PeeHaa I'm on linux, terminal !
 
7:41 PM
Ah. Can't you just vi the files and copy pasta it?
 
@PeeHaa nope, because they are long
 
They shouldn't be that long...
 
@HamZa You can just sftp into the machine
 
That too
 
Same credentials and port as ssh
 
7:43 PM
Getting used to terminal is a good idea though, once things are setup.
 
anyone know how to get zts extendsions running on debian linux. Trying to install pthreads via pecl
 
Yes to that! @Fabien
 
I can loan you a learning server on ubuntu if you like HamZa ;) as long as you don't smash it with data and requests as I am fairly sure my debit card is connected to it. :P
 
Hey!
 
@fabien you handing out free servers.... I'll take one :)
 
7:46 PM
@Fabien heh, thanks. My last resort was to install vagrant
 
Amazon Web Server is that-a-way --->
 
Oooh! Free servers!
 
@PeeHaa ah "cat file" SE is awesome !
 
@HamZa :)
 
7:51 PM
nano > vi :)
 
@HamZa You are running php-fpm right?
 
[root@cyberguru nginx]# service php-fpm status
php-fpm (pid  4456) is running...
[root@cyberguru nginx]#
[root@cyberguru nginx]# service nginx status
nginx (pid  4710) is running...
 
Add this to cyberguru conf:
location ~ ^/index.php($|/) {
    fastcgi_split_path_info ^(.+.php)(.*)$;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param SCRIPT_NAME $fastcgi_script_name;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_pass   127.0.0.1:9000;
    include        fastcgi_params;
}
Also look at tail -fn1000 /var/log/nginx/error.log while making a request to see if something goes bad
 
in a new terminal
 
@PeeHaa still that page ...
 
7:56 PM
restart it
 
@HamZa Did you restart both nginx and php-fpm?
 
restarted nginx ...
let me try both ...
2013/08/21 05:27:34 [error] 4480#0: *1 open() "/usr/share/nginx/html/index.php" failed (2: No such file or directory), client: 192.168.41.1, server: _, request: "GET /index.php HTTP/1.1", host: "192.168.41.101"
2013/08/21 06:01:16 [error] 4825#0: *1 open() "/usr/share/nginx/html/index.php" failed (2: No such file or directory), client: 192.168.41.1, server: _, request: "GET /index.php HTTP/1.1", host: "192.168.41.101"
So it's redirecting to the wrong directory ...
 
No wrong server config
The default one
server: _
Are you 100% sure you are requesting either cyberguru.com or www.cyberguru.com?
 
@PeeHaa huh ? I'm opening 192.168.41.101
 
@HamZa aha
 
7:58 PM
-_-
 
That won't work, because that won't match the config
 
lolwut
mwahahaha Sorry guys
 
o7 PeeHaa!
 
Edit your hosts file and add the entry for cyberguru.com and map it to the ip of the server
Do that ^ on the client i.e. your lubuntu machine
@Pheagey Hiya
 

« first day (1040 days earlier)      last day (3907 days later) »