Skip to content

Instantly share code, notes, and snippets.

Алексей Мышкин parserpro

  • Moscow
Block or report user

Report or block parserpro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View s.js
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<div id="<%= $widget_id %>">
<input type="button" @click="addRow" value="Добавить" />
<ul>
<li v-for="(input, index) in inputs">
<input type="text" v-model="input.value" :name="'suggest_<%= $widget_id %>_' +index" />&nbsp;
%# в зависимости от числа инпутов показываем разные кнопки
View test_site.go
package main
import (
"net/http"
"regexp"
"strconv"
"time"
"github.com/davecgh/go-spew/spew"
View gd_resize.pl
use GD;
sub resize_img {
my ( $img, $x, $y ) = @_;
my $jpeg_quality = 60; # Качество картинки на выходе
my $max_sizex;
my $max_sizey;
GD::Image->trueColor(1); # без этого будет жопа
You can’t perform that action at this time.