I hereby claim:
- I am pandelisz on github.
- I am pandelis (https://keybase.io/pandelis) on keybase.
- I have a public key ASC4qjdNMNdmxHukn8UAE9WuxzhrBQDBPiApPpegwf1OPQo
To claim this, I am signing this object:
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<!-- Latest compiled and minified JavaScript --> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> |
fs.writeFile("./snippets.json", output, function(err) { | |
if(err) { | |
return console.log(err); | |
} | |
console.log('success'); | |
}); |
//You can use | |
var str = JSON.stringify(object) | |
//to serialize your objects to a JSON string and | |
var obj = JSON.parse(string) | |
//To read it back as an object. The string can be written to file. So, for example an object like this: | |
var p = new Foo(); | |
p.Bar = "Terry" |
I hereby claim:
To claim this, I am signing this object:
# this is a title
and some content [with a link]()
// knockout 2.2.1 | |
ko.utils.arrayFilter = function (array, predicate) { /* .. */ } | |
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ } | |
ko.utils.arrayForEach = function (array, action) { /* .. */ } | |
ko.utils.arrayGetDistinctValues = function (array) { /* .. */ } |
// knockout 3.4.0 | |
ko.utils.addOrRemoveItem = function (array, value, included) { /* .. */ } | |
ko.utils.anyDomNodeIsAttachedToDocument = function (nodes) { /* .. */ } | |
ko.utils.arrayFilter = function (array, predicate) { /* .. */ } | |
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ } |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "SubstraktS3SingleBucketReadWrite", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:PutAnalyticsConfiguration", | |
"s3:GetObjectVersionTagging", | |
"s3:ReplicateObject", |
composer-link() { | |
jq '.repositories |= [{"type": "path", "url": "'$1'", "options": {"symlink": true}}] + . ' composer.json > composer.tmp.json && mv composer.tmp.json composer.json | |
packageName=$(jq -r '.name' $1/composer.json) | |
composer require $packageName @dev | |
} | |
composer-unlink() { | |
git checkout composer.json composer.lock |
job:autoupdate: | |
image: php:7.3-cli | |
only: | |
- schedules | |
before_script: | |
# Install composer dependencies | |
- apt-get update -y >/dev/null && apt-get install -y libpng-dev git zip unzip >/dev/null | |
- docker-php-ext-install calendar gd >/dev/null | |
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
- php composer-setup.php >/dev/null |