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
(package-initialize) | |
;; Require a newline at the end of a file | |
(setq require-final-newline t) | |
;; Make mouse work in text mode | |
(require 'mouse) | |
(xterm-mouse-mode t) | |
(defun track-mouse (e)) | |
(setq mouse-sel-mode t) |
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 tests\unittests\custom; | |
/** | |
* Whenever PHP HTTP stream is used you can | |
* inject a mock stream resource into an object that | |
* expect it. | |
* | |
* Usage example: | |
* | |
* ... |
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
#!/bin/bash | |
# | |
# Author: Mykola Bespaliuk | |
# Fetches attachment by ID into a file | |
# Usage: ./get-attachment.sh 12345 /path/to/output/file | |
USAGE="Usage: ./get-attachment.sh 12345 /path/to/output/file" | |
if [[ $# -ne 2 ]]; then | |
echo "Wrong arguments number" |