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
| <?php | |
| /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | |
| /* based on : https://github.com/chrisveness/geodesy */ | |
| /* */ | |
| /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | |
| /** | |
| * Class LatLon | |
| * Creates a LatLon point on the earth's surface at the specified latitude / longitude. |
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
| /** | |
| * full article at | |
| * http://theraaz.com/javascript/how-to-process-big-files-in-node-js | |
| */ | |
| var bigFileUrl = "http://www.site-containing-big-data/api"; | |
| request.get(bigFileUrl) | |
| .on('error', function(errReq) { | |
| console.log('error while reading from big site : ', errReq); | |
| // do something here if you want to throw an exception or something else |
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
| textarea.placeholder { | |
| color: #aaa; | |
| } |
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
| 'use strict'; | |
| SR.service('WebRTC', ['$interval', 'MediaLibrary', function ($interval, MediaLibrary) { | |
| var isSecureOrigin = location.protocol === 'https:' || | |
| location.hostname === 'localhost'; | |
| if (!isSecureOrigin) { | |
| alert('HTTPS needed to run this operation'); | |
| location.protocol = 'HTTPS'; | |
| } |
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
| ////////////////////////////////////////////////////////// | |
| // For training purposes. | |
| // Solidity Contract Factory | |
| // Module 5 - START | |
| // Copyright (c) 2017, Rob Hitchens, all rights reserved. | |
| // Not suitable for actual use | |
| ////////////////////////////////////////////////////////// | |
| pragma solidity ^0.4.6; |
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
| # Use Dockerized infrastructure | |
| sudo: false | |
| language: generic | |
| cache: | |
| bundler: true | |
| git: | |
| depth: 10 |
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
| apiVersion: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: cicd | |
| namespace: default |
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
| kind: ClusterRoleBinding | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| metadata: | |
| name: cicd | |
| subjects: | |
| - kind: ServiceAccount | |
| name: cicd | |
| namespace: default | |
| roleRef: | |
| kind: ClusterRole |
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
| kind: ClusterRole | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| metadata: | |
| name: cicd | |
| rules: | |
| - apiGroups: ["", "apps", "batch", "extensions"] | |
| resources: ["deployments", "services", "replicasets", "pods", "jobs", "cronjobs", "secrets", "roles"] | |
| verbs: ["*"] |
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
| # Use Dockerized infrastructure | |
| sudo: false | |
| language: generic | |
| cache: | |
| bundler: true | |
| git: | |
| depth: 10 |
OlderNewer