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 | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
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
.git | |
.gitignore | |
# Created by https://www.gitignore.io/api/git,ruby,rails,jetbrains+all | |
# Edit at https://www.gitignore.io/?templates=git,ruby,rails,jetbrains+all | |
### Git ### | |
# Created by git for backups. To disable backups in Git: | |
# $ git config --global mergetool.keepBackup false | |
*.orig |
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
import React, { Component } from 'react'; | |
import Paginator from './Paginator'; | |
class App extends Component { | |
state = { | |
currentPage: 1, | |
total: 686, | |
perPage: 10, | |
}; |
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
stages: | |
- build | |
- test | |
# Variables | |
variables: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_USER: homestead | |
MYSQL_PASSWORD: secret | |
MYSQL_DATABASE: homestead |
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
angular | |
.module('directives.abDatepicker', []) | |
.directive('abDatepicker', abDatepicker); | |
abDatepicker.$inject = []; | |
/* @ngInject */ | |
function abDatepicker() { | |
return { | |
require: 'ngModel', |
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
# stop script on error signal | |
set -e | |
# remove old deployment folders | |
if [ -d "/home/forge/weather-deploy" ]; then | |
rm -R /home/forge/weather-deploy | |
fi | |
if [ -d "/home/forge/weather-backup" ]; then | |
rm -R /home/forge/weather-backup | |
fi |
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
angular.module('directives.fbComments', []) | |
.directive('fbComments', fbComments); | |
fbComments.$injects = ['$timeout']; | |
function fbComments($timeout) { | |
function createHTML(href, numposts) { | |
return '<div class="fb-comments" ' + | |
'data-href="' + href + '" ' + | |
'data-numposts="' + numposts + '">' + |
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
angular | |
.module('app') | |
.config(config); | |
function config($routeProvider, $locationProvider) { | |
var universalResolves = { | |
catalogIds: function ($http, $rootScope, $localStorage, $q) { | |
if ($localStorage.catalogIds) { | |
return $q.when($localStorage.catalogIds); | |
} |
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
import React, { Component } from 'react'; | |
import axios from 'axios'; | |
import FormErrors from './FormErrors'; | |
export default class LoginForm extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
email: '', |
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
"Disable the print key for Macvim. | |
if has("gui_macvim") | |
macmenu &File.Print key=<nop> | |
set macligatures "We want pretty symbols, when available. | |
endif |
NewerOlder