Skip to content

Instantly share code, notes, and snippets.

variables:
DOCKERFILE: "$CI_PROJECT_DIR/src/Dockerfile"
SHOWSTOPPER_PRIORITY: "CRITICAL"
TRIVYCACHE: "$CI_PROJECT_DIR/.cache"
ARTIFACT_FOLDER: "$CI_PROJECT_DIR/.artifact"
DOCKERIMAGE: "nginx-image-test-build"
stages:
- lint
- build
<delete><query>urlpart:*kornyeke* AND appendix:*település*</query></delete>
<commit />
@rbalazs
rbalazs / a.sh
Created January 22, 2020 15:26
basic stan
docker run -v $PWD:/app phpstan/phpstan:0.12.6 analyse -l 5 /app/lib
@rbalazs
rbalazs / post.php
Created January 20, 2020 18:03
easiest_post
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://172.17.0.3:6616/");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'Content-Length: ' . strlen(json_encode($payload)))
);
@rbalazs
rbalazs / install.sh
Created April 29, 2017 10:06
PHP 5.6 on UBUNTU 16.04
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-get install php5.6
sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml
!setxkbmap
keycode 8 =
keycode 9 = Escape NoSymbol Escape NoSymbol Escape
keycode 10 = 1 apostrophe 1 exclam asciitilde dead_tilde
keycode 11 = 2 quotedbl 2 at dead_caron caron
keycode 12 = 3 plus 3 numbersign asciicircum dead_circumflex
keycode 13 = 4 exclam 4 dollar dead_breve breve
keycode 14 = 5 percent 5 percent dead_abovering degree
keycode 15 = 6 slash 6 asciicircum dead_ogonek ogonek
keycode 8 =
keycode 9 = Escape NoSymbol Escape NoSymbol Escape
keycode 10 = 1 apostrophe 1 exclam asciitilde dead_tilde
keycode 11 = 2 quotedbl 2 at dead_caron caron
keycode 12 = 3 plus 3 numbersign asciicircum dead_circumflex
keycode 13 = 4 exclam 4 dollar dead_breve breve
keycode 14 = 5 percent 5 percent dead_abovering degree
keycode 15 = 6 slash 6 asciicircum dead_ogonek ogonek
keycode 16 = 7 equal 7 ampersand grave dead_grave
keycode 17 = 8 parenleft 8 asterisk dead_abovedot abovedot
keycode 49 = iacute Iacute backslash bar less greater
keycode 94 = 0 section doublelowquotemark rightdoublequotemark notsign notsign grave asciitilde
clear mod1
keycode 133 = Alt_L Meta_L Alt_L Meta_L
add mod1 = Alt_L
clear mod4
keycode 64 = Super_L
keycode 108 = Super_R
bazsekdev2 (file://ARKON-LT-xx/Users/richer.balazs/VirtualBox%20VMs/bazsekdev2)
./configure --prefix=/usr/local \
--sysconfdir=/etc/php5 \
--with-config-file-path=/etc/php5/ \
--with-config-file-scan-dir=/etc/php5/conf.d \
--disable-debug \
--enable-bcmath \
--enable-calendar \
--enable-dba \
--enable-exif \
--enable-fpm \