$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
Sources:
var YoutubeSearcher = (function() { | |
function YoutubeSearcher() { | |
this.configuration = {}; | |
this.dependencies = {}; | |
} | |
YoutubeSearcher.prototype.searchSongs = function(query) { | |
var dependencies = this.dependencies; |
// Send data to another endpoint using CURL | |
function callAPI($url=false, $params=array(), $method='GET', $isJson=false) { | |
if ($url) { | |
//open connection | |
$ch = curl_init(); | |
// $ip = $_SERVER['REMOTE_ADDR']; | |
if($method==='GET' && !empty($params)) { | |
$query_params = http_build_query($params); |
for n in $(kubectl get -o=name pvc,configmap,serviceaccount,secret,ingress,service,deployment,statefulset,hpa,job,cronjob) | |
do | |
mkdir -p $(dirname $n) | |
kubectl get -o=yaml --export $n > $n.yaml | |
done |
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
Sources:
'use strict'; | |
const { src, dest, watch, series } = require('gulp'); | |
const browserSync = require('browser-sync').create(); | |
const del = require('del'); | |
const sass = require('gulp-sass'); | |
const newer = require('gulp-newer'); | |
const cssmin = require('gulp-cssmin'); | |
const jshint = require('gulp-jshint'); | |
const concat = require('gulp-concat'); | |
const rename = require('gulp-rename'); |