Skip to content

Instantly share code, notes, and snippets.

View necenzurat's full-sized avatar
🥺
I still hate JS

Costin Moise necenzurat

🥺
I still hate JS
View GitHub Profile
$days = array(
"Monday" => array(
"start" => "măta",
"end" => "15"
),
"Tuesday" => array(
"start" => "1.25",
"end" => "15"
),
"Wednesday" => array(
@necenzurat
necenzurat / ip.txt
Created February 27, 2013 12:56
Romanian IP List
5.2.128.0/17
5.12.0.0/14
5.35.208.0/21
5.41.0.0/16
5.42.160.0/19
5.83.32.0/20
5.107.0.0/16
5.154.0.0/15
5.156.0.0/16
5.157.128.0/17
se cauta 4 programatori:
zend, codeingniter sau de preferinta symphony
js, jquery, lugu lugu
engleză obligatoriu
proiecte maricele, cateva luni pana la 1 an
salariu: 1000 €
cine e interesat [email protected]
@necenzurat
necenzurat / gist:4240437
Created December 8, 2012 14:24
nginx configuration file
server {
listen 80; ## listen for ipv4
server_name www.sent.ro sent.ro;
if ($host = 'www.sent.ro' ) {
rewrite ^/(.*)$ http://sent.ro/$1 permanent;
}
access_log /srv/www/sent.ro/logs/access.log;
<?php
/*
Name: Reverse MD5
Description: decode md5
Usage: md5 <string>
Author: necenzurat
Author URI: http://necenzurat.com
*/
if($cmd[0] == 'md5') {
@necenzurat
necenzurat / emag.php
Created November 23, 2012 04:11
emag black friday check
<?php
while (true) {
$remoteFile = 'http://www.emag.ro';
$ch = curl_init($remoteFile);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$data = curl_exec($ch);
NOUL LAPTOP APPLE MacBook PRO RETINA SIGILAT.
Ultima aparitie !
NOUL MODEL iulie 2012 !
CARCASA UNIBODY ALUMINIU !
CAP DE SERIE !
Pana la 7 ore autonomie !
Numai 2 kg ! 1.8 cm grosime !
Generatie noua de procesor
NEW Intel QUAD Core i7 2.6 GHz - 3.6 GHz (6 MB cache) cu Turbo Boost
8 GB DDRAM 3 1600 MHz !
*** eroarea:
FacebookApiException Object
(
[result:protected] => Array
(
[error] => Array
(
[message] => Error validating access token: Session does not match current stored session. This may be because the user changed the password since the time the session was created or Facebook has changed the session for security reasons.
[type] => OAuthException
[code] => 190
@necenzurat
necenzurat / robot.php
Created October 19, 2012 06:09
robot.php
<?php
// activate full error reporting
//error_reporting(E_ALL & E_STRICT);
include 'XMPPHP/XMPP.php';
#Use XMPPHP_Log::LEVEL_VERBOSE to get more logging for error reports
#If this doesn't work, are you running 64-bit PHP with < 5.2.6?
$conn = new XMPPHP_XMPP('talk.google.com', 5222, 'user', 'parola', 'xmpphp', 'gmail.com', $printlog=true, $loglevel=XMPPHP_Log::LEVEL_INFO);
{
"name": "hubot",
"version": "2.3.4",
"author": "hubot",
"keywords": "github hubot campfire bot",
"description": "A simple helpful Robot for your Company",
"engines": {
"node": "0.8.12",
"npm": "1.1.49"
},