sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 wine64
sudo apt-get install g++-mingw-w64-i686 g++-mingw-w64-i686
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* Xdebug setup Script - php version | |
* Copyright (C) 2023 Dimitrios Desyllas | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Xdebug setup Script | |
# Copyright (C) 2023 Dimitrios Desyllas | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FinallyPHP Fatal error: Uncaught Exception: dsadsadas in /var/www/html/api/test.php:4 | |
Stack trace: | |
#0 {main} | |
thrown in /var/www/html/api/test.php on line 4 | |
Fatal error: Uncaught Exception: dsadsadas in /var/www/html/api/test.php on line 4 | |
Exception: dsadsadas in /var/www/html/api/test.php on line 4 | |
Call Stack: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="list-inline"> | |
<li> | |
Grece | |
</li> | |
<li> | |
Balkans | |
</li> | |
<li> | |
Fish & Chips | |
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
// Input CSV | |
$csv_file="contacts (3).csv"; | |
// Output file | |
$ldap="contacts.ldif"; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mandrill = require('node-mandrill')('ThisIsMyDummyApiKey'); | |
const sendEmail = async () => { | |
return await mandrill('/messages/send', { | |
message: { | |
to: [{email: '[email protected]', name: 'Jim Rubenstein'}], | |
from_email: '[email protected]', | |
subject: "Hey, what's up?", | |
text: "Hello, I sent this message using mandrill." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Unit; | |
use PHPUnit\Framework\TestCase; | |
class TestTemp extends TestCase | |
{ | |
public function testAssertEmpty() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG BASE_IMAGE=php:7.2-fpm-alpine | |
FROM ${BASE_IMAGE} | |
ARG USERID=1000 | |
ARG GROUPID=1000 | |
ENV DOCKER_UID=${USERID} \ | |
DOCKER_GID=${GROUPID} \ | |
PHP_CONF_DIR="/usr/local/etc/php/conf.d" \ | |
FPM_CONF_DIR="/usr/local/etc/php-fpm.d" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright 2018 DESYLLAS DIMITRIOS | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, | |
# including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, | |
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
NewerOlder