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
image: kinoba/docker-custom-php:latest | |
services: | |
- mysql:5.7 | |
variables: | |
DOCKER_DRIVER: overlay2 | |
APP_ENV: test | |
... |
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
image: kinoba/docker-custom-php:latest | |
services: | |
- mysql:5.7 | |
variables: | |
DOCKER_DRIVER: overlay2 | |
APP_ENV: test | |
... |
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
FROM php:7.1 | |
RUN apt-get update | |
# Install first dependencies | |
RUN apt-get install zlib1g-dev \ | |
libpng-dev \ | |
libxslt-dev \ | |
git -yq |
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 | |
// Bunch of use ... | |
class UserControllerTest extends WebTestCase | |
{ | |
function setUp() | |
{ | |
$this->client = static::createClient(); | |
} |
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
require 'base64' | |
byte_array_file = Paperclip.io_adapters.for(attachment.file).read | |
Base64.encode64(byte_array_file) | |
Thanks to Jonathar (https://gist.github.com/jonathar/731c5c4c3273d26f5369#file-paperclip-byte-buffer) |
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
## FR IBAN | |
FR1420041010050500013M02606 |
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
responsive\-test|torrent\-to|magnet\-to|dogsrun|tkpass|free\-video|keywords\-monitoring|pr\-cy\.ru|fix\-website|checkpagerank|seo\-2\-0\.|platezhka|timer4web|share\-buttons|99seo |
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
(best|dollar|success|top1)\-seo|(videos|buttons)\-for|anticrawler|^scripted\.|\-gratis|semalt|forum69|7make|sharebutton|ranksonic|sitevaluation|dailyrank|vitaly|profit\.xyz|rankings\-|dbutton|\-crew|uptime(bot|check|\.com) |
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
tell application "iTunes" | |
-- Asks the user to select a playlist to copy | |
set itunesPlaylists to (get name of playlists) | |
set selectedPlaylist to {choose from list itunesPlaylists} | |
-- Get every track in the selected playlist | |
set itunesFiles to (every file track of playlist (item 1 of (item 1 of selectedPlaylist))) | |
-- Asks the user to select the destination folder (where the files will be copied) | |
set destinationPath to (choose folder with prompt "Destination folder :") |
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
When Android Studio refuses to start because it can't find the JDK_HOME: | |
@see : http://tools.android.com/tech-docs/configuration/osx-jdk | |
export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/ | |
open /Applications/Android\ Studio.app |
NewerOlder