Skip to content

Instantly share code, notes, and snippets.

View jonasbn's full-sized avatar
🤚
keeping my distance

Jonas Brømsø jonasbn

🤚
keeping my distance
View GitHub Profile
@jonasbn
jonasbn / jshintrc
Created December 29, 2017 17:18
jshintrc from http://jshint.com/
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
"maxerr" : 50, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
@jonasbn
jonasbn / gist:d6a14ea4f3a0621bcb7ce308ca628c6e
Created November 17, 2017 21:03
Example Error from Dist::Zilla
[DZ] attempt to add cpanfile multiple times; added by: filename set by GatherDir (Dist::Zilla::Plugin::GatherDir line 225); encoded_content added by @Basic/GatherDir (Dist::Zilla::Plugin::GatherDir line 226); filename set by GatherDir (Dist::Zilla::Plugin::GatherDir line 225); encoded_content added by GatherDir (Dist::Zilla::Plugin::GatherDir line 226)
@jonasbn
jonasbn / dist.ini
Created November 17, 2017 20:34
Dist::Zilla configuration to respect static LICENSE
; Dist::Zilla configuration to respect static LICENSE required by Github community recommendations
; https://github.com/jonasbn/perl-test-timer/community
; The complete file is available at:
; https://github.com/jonasbn/perl-test-timer/blob/master/dist.ini
; REF: Dist::Zilla https://metacpan.org/pod/Dist::Zilla
name = Test-Timer
author = Jonas B. Nielsen <jonasbn@cpan.org>
license = Artistic_2_0
@jonasbn
jonasbn / certbot_sphinx_todo
Created July 1, 2017 22:20
certbot issue 4736 files identified as missing
cert_manager.py
cli.py
eff.py
error_handler.py
hooks.py
lock.py
log.py
main.py
notify.py
ocsp.py
@jonasbn
jonasbn / MANIFEST.SKIP
Last active June 1, 2021 20:48
MANIFEST.SKIP example
############################################################################################
# Lifted from ExtUtils::MANIFEST #
# ref: https://metacpan.org/source/ETHER/ExtUtils-Manifest-1.70/lib/ExtUtils/MANIFEST.SKIP #
############################################################################################
# Avoid version control files.
\bRCS\b
\bCVS\b
\bSCCS\b
,v$
#!/bin/sh
# script to change the dynamic lib paths and ids for oracle instant client
# exes and libs
# REF: http://www.nntp.perl.org/group/perl.dbi.users/2013/04/msg36561.html
# proces all the executable files in this directory
for exe in sqlplus adrci genezi uidrvci
do
echo "adjusting executable $exe"
@jonasbn
jonasbn / changeOracleLibs.sh
Last active January 23, 2017 13:46
script to change the dynamic library paths and ids for oracle instant client executables and libraries
#!/bin/sh
# script to change the dynamic library paths and ids for oracle instant client executables and libraries
# REF: http://blog.caseylucas.com/2013/03/03/oracle-sqlplus-and-instant-client-on-mac-osx-without-dyld_library_path/
# proces all the executable files in this directory
find . -maxdepth 1 -type f \( -perm -1 -o \( -perm -10 -o -perm -100 \) \) -print | while read exe
do
echo "adjusting executable $exe"
baseexe=`basename $exe`
@jonasbn
jonasbn / CONTRIBUTING.md
Last active June 1, 2021 16:07
Generic contribution guidelines (CONTRIBUTING.md)

Contributing

These are the guidelines for contributing to this repository.

Issues

File an issue if you think you've found a bug. Please describe the following:

  1. What version of the involved component was used
  2. What environment was the component used in (OS, Perl version etc.)