This file contains hidden or 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 | |
# NAME: focus_or_launch | |
# VERSION: 0.4 | |
# AUTHOR: (c) 2014 Glutanimate <https://github.com/Glutanimate/> | |
# | |
# DESCRIPTION: Focus existing app window or launch application if no | |
# window found | |
# | |
# Simplified version of a script by Henning Bekel |
This file contains hidden or 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 ubuntu:16.04 | |
MAINTAINER Chris Fidao | |
RUN locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US:en | |
ENV LC_ALL en_US.UTF-8 |
This file contains hidden or 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 ubuntu:16.04 | |
MAINTAINER Chris Fidao | |
RUN apt-get update \ | |
&& apt-get install -y locales \ | |
&& locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US:en |
This file contains hidden or 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 | |
declare(strict_types = 1); | |
_Tinker::register(app_path('Models')); | |
foreach (glob(app_path('Modules/*/Models')) as $modelsPath) { | |
_Tinker::register($modelsPath); | |
} |
This file contains hidden or 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
version: '3' | |
services: | |
mysql: | |
image: mysql | |
ports: | |
- 3306:3306 | |
volumes: | |
- db_data:/var/lib/mysql/ | |
- /etc/localtime:/etc/localtime:ro | |
- ./mysql/conf.d/:/etc/mysql/conf.d/ |
This file contains hidden or 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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /path/to/yioop; | |
index index.php; | |
server_name yioop.loc; |
This file contains hidden or 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; | |
use Facebook\WebDriver\Firefox\FirefoxProfile; | |
use Laravel\Dusk\TestCase as BaseTestCase; | |
abstract class FirefoxDuskTestCase extends BaseTestCase | |
{ | |
// Some other methods |
This file contains hidden or 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
server { | |
listen 80 deferred; | |
server_name {{ domain }}; | |
return 301 https://{{ domain }}$request_uri; | |
} | |
server { | |
listen 443 deferred ssl; | |
root /var/www/{{ domain }}/current/public; |
This file contains hidden or 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
// iunmap('<Ctrl-d'); | |
// iunmap('<Ctrl-D'); | |
// | |
// mapkey('u', 'Scroll a page up', 'Normal.scroll("pageUp")'); | |
// | |
// mapkey('J', 'Go one tab left', 'RUNTIME("previousTab")'); | |
// mapkey('K', 'Go one tab right', 'RUNTIME("nextTab")'); | |
// | |
// map('H', 'S'); | |
// map('L', 'D'); |
NewerOlder