Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Eray AYDIN erayaydin

🏠
Working from home
Block or report user

Report or block erayaydin

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 properties
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.config.path=/home/eray/.config/AndroidStudio
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.system.path=/home/eray/.cache/AndroidStudio
View Dockerfile
# PHP-FPM Dockerfile
FROM php:7.3-fpm
ENV DEBIAN_FRONTEND noninteractive
# Necessary softwares and packages
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
curl \
View .gitlab-ci.yml
cache:
paths:
- vendor/
- node_modules/
before_script:
- echo "Checking Docker"
- docker info
- docker-compose version
View .gitlab-ci.yml
cache:
paths:
- vendor/
- node_modules/
before_script:
- echo "Checking Docker"
- docker info
- docker-compose version
@erayaydin
erayaydin / docker.sh
Created Mar 24, 2019
Polybar Docker Manager
View docker.sh
selected=$(docker ps | sed -n '1!p' | dmenu)
selected=$(echo $selected | awk '{print $1;}')
action=$(echo -e "stop\nrestart\nlogs\nbash" | dmenu)
case "$action" in
"stop")
docker stop $selected
;;
View gitlab.php
<?php
require "vendor/autoload.php";
$archive = "https://dizilab.pw/arsiv?sayfa=";
$isDone=false;
$client = new \GuzzleHttp\Client();
View 2018-08-17T22_47_22_127Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'apidoc', '-g' ]
2 info using npm@6.2.0
3 info using node@v10.7.0
4 verbose npm-session 8631cc3dc1d7c4a7
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/apidoc 21ms (from cache)
8 silly pacote tag manifest for apidoc@latest fetched in 38ms
9 timing stage:loadCurrentTree Completed in 219ms
View result
<QueryDict: {'csrfmiddlewaretoken': ['CTDjgpfeiNHiuJi5fQPEIW5dRjDqw9jugLQTn3U5HWzVPPbaGwYaqDfHIjB0ksKu'], 'news[0][url]': ['/haber/kulupler-birligi-toplantisi-basladi-259563'], 'news[0][is_save]': ['on'], 'news[1][url]': ['/haber/besiktas-mogazda-4-transfer-259562'], 'news[1][is_save]': ['on'], 'news[2][url]': ['/haber/denizlispordan-borclanma-elestirilerine-cevap-259561'], 'news[3][url]': ['/haber/italyan-gazeteci-acikladi-andre-silva-galatasarayda-oynamak-istiyor-milan-ile-galatasaray-259560'], 'news[4][url]': ['/haber/engelsiz-basketbolcular-dunya-sampiyonasi-provasinda-259559'], 'news[5][url]': ['/haber/turkiye-ralli-sampiyonasi-bursada-duzenlenecek-259557'], 'news[6][url]': ['/haber/ali-koctan-camiaya-mesajlar-iki-yeni-kredi-yolda-259556'], 'news[7][url]': ['/haber/cnr-sports-week-istanbul-eylul-ayinda-yapilacak-259553'], 'news[8][url]': ['/haber/yeni-malatyaspor-sezonu-aciyor-259551'], 'news[9][url]': ['/haber/denizlispor-furkan-seker-transferinde-mutlu-sona-ulasti-259550'], 'news[10][url]': ['/haber/to
View change_form.html
{% extends "admin/base_site.html" %}
{% load i18n admin_urls static admin_modify %}
{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
{{ media }}
{% endblock %}
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}" />{% endblock %}
View fulloutput.html
<!DOCTYPE html>
<html lang="en-us" >
<head>
<title>Crawler | Django site admin</title>
<link rel="stylesheet" type="text/css" href="/static/admin/css/base.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/forms.css" />
You can’t perform that action at this time.