Skip to content

Instantly share code, notes, and snippets.

View oprudkyi's full-sized avatar
🇺🇦

Oleksii Prudkyi oprudkyi

🇺🇦
View GitHub Profile
@oprudkyi
oprudkyi / sample.sh
Last active October 28, 2015 06:37
ccache and cargo rust
mkdir /usr/local/lib64/ccache/
cd /usr/local/lib64/ccache/
ln -s /usr/bin/ccache gcc
ln -s /usr/bin/ccache g++
CC="/usr/local/lib64/ccache/gcc" CXX="/usr/local/lib64/ccache/g++" RUST_BACKTRACE=1 cargo build --verbose
ccache -s
@oprudkyi
oprudkyi / DebugMailServiceProvider.php
Created April 22, 2016 03:20
laravel swift mailer logger
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Swift_Mailer;
use \Swift_Plugins_Logger;
use \Swift_Plugins_LoggerPlugin;
class DebugMailServiceProvider extends ServiceProvider implements Swift_Plugins_Logger