Contents of the file
puts 'Give me some Rubocop warning about long lines...........................................................'
1/0 # Division by zero (Rubocop+MRI), surrounding space missing (Rubocop)
#!/bin/bash | |
# Do a substitution on the files to get a pretty vimdiff: | |
# %s/^ [0-9.]\+ \|^Neomake \[[0-9.]\+\]:/[TIME] / | |
# GVIM=/c/app/vim/vim80/gvim.exe | |
# VERSION=8.0.0027 | |
GVIM=/c/app/vim/vim8.0.0021/gvim.exe | |
VERSION=8.0.0021 | |
NEOMAKE=~/.vim/plugins/neomake |
*********************************************************** | |
v:progname: vim.exe | |
v:version: 800 | |
has("lua"): 1 | |
has("python"): 1 | |
has("python3"): 1 | |
$LANG: HU | |
&encoding: utf-8 | |
&termencoding: cp1250 | |
&fileencodings: ucs-bom,utf-8,default,latin1 |
1..123 | |
not ok 1 - DateTime .from_unix_time() makes a DateTime object from unix time | |
# Error occurred line: | |
# 2: Assert Equals(dt.to_string(), '2012-01-02 03:04:05 +0900') | |
# The equivalent values were expected, but it was not the case. | |
# | |
# expected: '2012-01-02 03:04:05 +0900' | |
# got: '10178-02-16 07:04:05 +0900' | |
ok 2 - DateTime .from_date() makes a DateTime object from date info | |
ok 3 - DateTime .from_format() makes a DateTime object from formatted string |
<?php | |
// https://gist.github.com/bimlas/5b7c9b1fde2fc0d61ad5ef3709185dd4 | |
$include_after_setup = 'include-after-setup.php'; | |
?> | |
<html> | |
<body> | |
<h1>Prestashop: Setup for your clone</h1> | |
<b>This script will prepare your clone to work on the target server</b> |
#!/bin/bash | |
# grep-full-text-search.sh: Search for files that contain each word | |
# | |
# Usage: | |
# grep-full-text-search.sh GREP_OPTIONS PATTERNS FILE... | |
# | |
# Examples: | |
# | |
# # Show matches | |
# grep-full-text-search.sh --color -Hni "multiple keywords" *.txt |