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
swagger: '2.0' | |
info: | |
description: 'This is a sample.' | |
version: 1.0.0 | |
title: OpenAPI Petstore | |
license: | |
name: Apache-2.0 | |
url: 'http://www.apache.org/licenses/LICENSE-2.0.html' | |
host: petstore.swagger.io | |
basePath: /v2 |
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
swagger: '2.0' | |
info: | |
description: "This spec is mainly for testing Petstore server" | |
version: 1.0.0 | |
title: OpenAPI Petstore | |
license: | |
name: Apache-2.0 | |
url: 'http://www.apache.org/licenses/LICENSE-2.0.html' | |
host: petstore.swagger.io:80 | |
basePath: /v2 |
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 AppBundle\Listener; | |
use JMS\DiExtraBundle\Annotation\InjectParams; | |
use JMS\DiExtraBundle\Annotation\Inject; | |
use JMS\DiExtraBundle\Annotation\Service; | |
use JMS\DiExtraBundle\Annotation\Tag; | |
use Sonata\MediaBundle\Listener\ORM\MediaEventSubscriber; | |
/** |
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
/*! data attribute parser | |
* This parser will use the data-tablesorter-value to extract the cell's value | |
* Written by Mathieu Lemoine :https://github.com/lemoinem | |
*/ | |
/*global jQuery: false */ | |
;(function($){ | |
"use strict"; | |
$.tablesorter.addParser({ | |
id : 'data-attribute', |
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
$(function(){ | |
var addLink = $('<button type="button" class="btn btn-info add"><i class="icon icon-plus icon-white"></i></button>'); | |
var deleteLink = $('<button type="button" class="btn btn-danger remove"><i class="icon icon-trash icon-white"></i></button>'); | |
function addLinkClick(e) { | |
e.preventDefault(); | |
var collection = $(this).closest(".collection-allow-add"); | |
var index = 1+ collection.data("index"); |
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
# Make it use M-f, compatible with both emacs, screen and most console interactive applications... | |
bind-key M-f last-window | |
bind-key f send-prefix | |
set -g prefix M-f | |
# New window on M-f M-c | |
bind-key M-c new-window | |
# Reload key | |
bind r source-file ~/.tmux.conf |
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
base dc=ldap,dc=office | |
uri ldap://ldap.office | |
ssl start_tls | |
tls_cacert /etc/ssl/certs/CA.pem |
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
mlemoine@my-server:~$ umask | |
0002 | |
mlemoine@my-server:~$ umask 067 | |
mlemoine@my-server:~$ umask | |
0067 | |
mlemoine@my-server:~$ ( export PS4="+ \${BASH_SOURCE##\${rvm_path:-}} : \${FUNCNAME[0]:+\${FUNCNAME[0]}()} \${LINENO} > " ; set -x ; cd ) | |
+ : 4 > cd | |
+ /scripts/cd : cd() 1 > builtin cd | |
+ /scripts/cd : cd() 3 > [[ -n '' ]] | |
+ /scripts/cd : cd() 3 > true |
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
mlemoine@laptop:~$ ssh my-server | |
Last login: Mon Jan 01 00:00:00 1970 from 0.0.0.0 | |
mlemoine@my-server:~$ umask | |
0047 | |
mlemoine@my-server:~$ umask 067 | |
mlemoine@my-server:~$ umask | |
0067 | |
mlemoine@my-server:~$ rvm --trace use ruby-1.9.2-p320 | |
+ [[ -n '' ]] | |
+ export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' |
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
;; v1 :: | |
;; neither https://github.com/lemoinem/hunchentoot/issues/1 | |
;; nor https://github.com/lemoinem/hunchentoot/issues/2 | |
;; are fixed in this version. | |
(cl:in-package :cl-user) | |
(defpackage usocket-debug | |
(:nicknames ud) | |
(:shadow #:timeout) |