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 | |
# store the current dir | |
CUR_DIR=$(pwd) | |
# Let the person running the script know what's going on. | |
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n" | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find . -name ".git" | cut -c 3-); do |
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
/* workaround, see https://github.com/angular/vladivostok/issues/45 */ | |
import { Router, ActivatedRoute } from '@angular/router'; | |
class MockRouter { createUrlTree() {} } | |
class MockActivatedRoute { } | |
beforeEachProviders(() => [ | |
provide(Router, { useClass: MockRouter }), | |
provide(ActivatedRoute, { useClass: MockActivatedRoute }) | |
]); | |
/* workaround */ |
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
@echo off | |
%~d0 | |
CD "%~dp0" | |
echo ##### Fetching all repositories from Git ##### | |
for /D %%i in (*.*) do call :handlerepo %%i | |
EXIT /B 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
@echo off | |
%~d0 | |
CD "%~dp0" | |
echo ##### Pulling all repositories from Git ##### | |
for /D %%i in (*.*) do call :handlerepo %%i | |
EXIT /B 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
set GIT_SSH=C:\Program Files (x86)\PuTTY\plink.exe |
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
git config --global pull.rebase true |
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
// ==UserScript== | |
// @name get vsix | |
// @namespace https://gist.github.com/Mido22 | |
// @include https://marketplace.visualstudio.com/items?itemName=* | |
// @version 0.0.1 | |
// @grant none | |
// ==/UserScript== | |
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
{ | |
"quotes": [ | |
{ | |
"text": "Angular 1 is a framework. Angular 2 is a platform.", | |
"author": "Brad Green", | |
"source": "https://auth0.com/blog/ng-conf-summary-day-1/" | |
}, | |
{ | |
"text": "React is a scalpel, Angular is an operating room.", | |
"author": "Corinna Cohn", |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}\\bin\\angular-cli-ghpages.js", | |
"stopOnEntry": false, | |
//"args": ["--repo=xxx", "--name=yyy", "--email=zzz", "--dir=../TMP/BookMonkey", "--branch=master"], |
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
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="C:/TEMP" |