This file contains hidden or 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
| lorem ipsum |
This file contains hidden or 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
| Finished [Fuzzing] | |
| Finished [CII-Best-Practices] | |
| Finished [Dangerous-Workflow] | |
| Finished [Token-Permissions] | |
| Finished [CI-Tests] | |
| Finished [SAST] | |
| Finished [Pinned-Dependencies] | |
| Finished [Vulnerabilities] | |
| Finished [Code-Review] | |
| Finished [Branch-Protection] |
This file contains hidden or 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
| @subscription-key = REPLACE_WITH_YOUR_AZURE_MAPS_KEY | |
| @SeattleWA = 47.60323,-122.33028 | |
| @RedmondWA = 47.67491,-122.124 | |
| ### | |
| # GetTimezoneByCoordinates for Seattle WA | |
| ### | |
| GET https://atlas.microsoft.com/timezone/byCoordinates/json?subscription-key={{subscription-key}}&api-version=1.0&options=all&query={{SeattleWA}} | |
| ### |
This file contains hidden or 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
| SELECT ?item ?itemLabel ?thumb ?catcode WHERE { ?item p:P528 [ pq:P972 wd:Q41634361 ; ps:P528 ?catcode]. | |
| ?item wdt:P18 ?picture . | |
| BIND(REPLACE(wikibase:decodeUri(STR(?picture)), "http://commons.wikimedia.org/wiki/Special:FilePath/", "") as ?fileName) . | |
| BIND(REPLACE(?fileName, " ", "_") as ?safeFileName) | |
| BIND(MD5(?safeFileName) as ?fileNameMD5) . | |
| BIND(CONCAT("https://upload.wikimedia.org/wikipedia/commons/thumb/", SUBSTR(?fileNameMD5, 1, 1), "/", SUBSTR(?fileNameMD5, 1, 2), "/", ?safeFileName, "/650px-", ?safeFileName) as ?thumb) | |
| SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | |
| } ORDER BY xsd:integer(?catcode) |
This file contains hidden or 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
| find . -type d -depth 1 -exec sh -c "git --git-dir={}/.git --work-tree=$PWD/{} log --since '1 year ago' --until 'yesterday' --format='%aN' | sort -uf" \; | sort -uf | |
| # 1 year ago | |
| find . -type d -depth 1 -exec sh -c "git --git-dir={}/.git --work-tree=$PWD/{} log --since '2 years ago' --until '1 year ago' --format='%aN' | sort -uf" \; | sort -uf |
This file contains hidden or 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 | |
| sudo apt-get update | |
| sudo apt-get -y install --no-install-recommends \ | |
| openssh-server \ | |
| sudo \ | |
| procps \ | |
| wget \ | |
| unzip \ |
This file contains hidden or 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
| # | |
| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
This file contains hidden or 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 YouTube = require('../lib/youtube'); | |
| var config = require('./config'); | |
| var fs = require('fs'); | |
| var youTube = new YouTube(); | |
| youTube.setKey(config.key); | |
| youTube.getPlayListsItemsById('PLy7t4z5SYNaQS1XZ8uiqqn0nNLi4qU-VW', function(error, result) { |
This file contains hidden or 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 http = require('http'), | |
| httpProxy = require('http-proxy'), | |
| connect = require('connect'); | |
| //var morgan = require('morgan') | |
| var proxy = httpProxy.createProxyServer({ | |
| target: 'http://localhost:8080' // openHAB/SmartHome URL | |
| }); | |
| var app = connect(); |
This file contains hidden or 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 | |
| S3_LOG_LOCATION="s3://thelogbucket/logdir" | |
| LOCAL_LOG_LOCATION="/tmp/log/" | |
| REPORT_TITLE="My report title" | |
| HTML_OUTPUT_DIR="/tmp/reporthtml" | |
| REPORT="/tmp/report.ps" | |
| # Sync log files to a local directory | |
| s3cmd -v sync ${S3_LOG_LOCATION} ${LOCAL_LOG_LOCATION} |