View test.csv
We can make this file beautiful and searchable if this error is corrected: Any value after quoted field isn't allowed in line 2.
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
name,ring,quadrant,isNew,description | |
Composer,adopt,dinges,TRUE,"Although the idea of dependency management ..." | |
Canary builds,trial,techniques,FALSE,"Many projects have external code dependencies ..." | |
Apache Kylin,assess,platforms,TRUE,"Apache Kylin is an open source analytics solution ..." | |
JSF,hold,languages & frameworks,FALSE,"We continue to see teams run into trouble using JSF ..." |
View download.sh
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 | |
for link in `cat links.txt`; do | |
wget -r -l1 -H -t1 -N -np -nH -P "pkgs/" --cut-dirs=1 -e robots=off -R "index.html*" $link | |
done | |
# -r recursive | |
# -l1 maximum recursion depth (1=use only this directory) | |
# -H span hosts (visit other hosts in the recursion) | |
# -t1 Number of retries | |
# -N turn on timestamping |
View downloadLatestDrawioWar.sh
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 | |
json=`curl -s -X GET https://api.github.com/repos/jgraph/drawio/tags` | |
temp=`echo $json | sed 's/\\\\\//\//g' | sed 's/[{}]//g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | sed 's/\"\:\"/\|/g' | sed 's/[\,]/ /g' | sed 's/\"//g' | grep -w 'name'` | |
version="$(echo $temp | cut -d\ -f3)" | |
curl -o "drawio-$version.war" -L https://github.com/jgraph/drawio/releases/download/$version/draw.war |
View bootstrap.php
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
# Change default log engine at the end of bootstrap.php | |
# See https://book.cakephp.org/3.0/en/core-libraries/logging.html#logging-to-syslog | |
Log::config('default', [ | |
'engine' => 'Syslog', | |
'flag' => LOG_ODELAY | LOG_PERROR, | |
'facility' => LOG_LOCAL7, // Use local7 as dedicated syslog facilty for this app (https://en.wikipedia.org/wiki/Syslog#Facility) | |
'prefix' => 'MY_APP' | |
]); |
View docker-load-and-push.sh
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 | |
#### Functions ### | |
display_usage() { | |
echo "This script must be run with Docker capable privileges and you should login to your registry before pushing!" | |
echo -e "\nUsage:\n$0 <saved_image> [--push]\n" | |
echo -e " <saved_image>\t\t\tThe image file to load and push" | |
echo -e " [--push]\t\t\tPush to registry" | |
echo -e "\nExample: $0 /mydir/ubuntu.tar --push " | |
} |
View docker-compose.yml
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
vamp-workflow-health: | |
environment: | |
VAMP_KEY_VALUE_STORE_TYPE: consul | |
VAMP_KEY_VALUE_STORE_CONNECTION: consul:8500 | |
VAMP_URL: http://vamp:8080 | |
VAMP_KEY_VALUE_STORE_ROOT_PATH: /vamp/workflow/health | |
labels: | |
breed: health | |
workflow: health | |
image: magneticio/vamp-workflow-agent:0.9.0 |
View default.ctp
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
//Your layout file | |
<html> | |
<head> | |
//etc | |
</head> | |
<body> | |
//Bla bla | |
<?php |
View firebaseAngularJsExample.html
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
<!DOCTYPE html> | |
<html ng-app="app"> | |
<head> | |
<title>Firebase AngularJS Demo</title> | |
<!-- AngularJS --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script> | |
<!-- Firebase --> | |
<script src="https://cdn.firebase.com/js/client/2.2.4/firebase.js"></script> |
View porche.jpg
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
/9j/4RX8RXhpZgAATU0AKgAAAAgADAEAAAMAAAABBAAAAAEBAAMAAAABAkAAAAECAAMAAAADAAAAngEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEVAAMAAAABAAMAAAEaAAUAAAABAAAApAEbAAUAAAABAAAArAEoAAMAAAABAAIAAAExAAIAAAAcAAAAtAEyAAIAAAAUAAAA0IdpAAQAAAABAAAA5AAAARwACAAIAAgACvyAAAAnEAAK/IAAACcQQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzADIwMTI6MDU6MTYgMjI6NTM6NDkAAASQAAAHAAAABDAyMjGgAQADAAAAAf//AACgAgAEAAAAAQAAAnygAwAEAAAAAQAAAWYAAAAAAAAABgEDAAMAAAABAAYAAAEaAAUAAAABAAABagEbAAUAAAABAAABcgEoAAMAAAABAAIAAAIBAAQAAAABAAABegICAAQAAAABAAAUegAAAAAAAABIAAAAAQAAAEgAAAAB/9j/7QAMQWRvYmVfQ00AAv/uAA5BZG9iZQBkgAAAAAH/2wCEAAwICAgJCAwJCQwRCwoLERUPDAwPFRgTExUTExgRDAwMDAwMEQwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBDQsLDQ4NEA4OEBQODg4UFA4ODg4UEQwMDAwMEREMDAwMDAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAFoAoAMBIgACEQEDEQH/3QAEAAr/xAE/AAABBQEBAQEBAQAAAAAAAAADAAECBAUGBwgJCgsBAAEFAQEBAQEBAAAAAAAAAAEAAgMEBQYHCAkKCxAAAQQBAwIEAgUHBggFAwwzAQACEQMEIRIxBUFRYRMicYEyBhSRobFCIyQVUsFiMzRygtFDByWSU/Dh8WNzNRaisoMmRJNUZEXCo3Q2F9JV4mXys4TD03Xj80YnlKSFtJXE1OT0pbXF1eX1VmZ2hpamtsbW5vY3R1dnd4eX |
View appDirectives.js
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
var appDirectives = angular.module('appDirectives', []); | |
/** | |
* Add potential validation fields to form-control form elements (CakePHP 3 with Bootstrap) | |
* | |
* Requirement: $scope.errors contains option (validation) errors in default CakePHP 3 JSON response | |
*/ | |
appDirectives.directive('formControl', function($compile) { | |
return { | |
restrict: 'C', //Match all elements with form-control class |
NewerOlder