Skip to content

Instantly share code, notes, and snippets.

View gcotelli's full-sized avatar
🏠
Working from home

Gabriel Omar Cotelli gcotelli

🏠
Working from home
View GitHub Profile
@gcotelli
gcotelli / clean-up-all-repos.sh
Last active May 16, 2018 11:48
Clean Up All Repos
#!/usr/bin/env bash
readonly ANSI_BOLD="\\033[1m"
readonly ANSI_RED="\\033[31m"
readonly ANSI_GREEN="\\033[32m"
readonly ANSI_YELLOW="\\033[33m"
readonly ANSI_BLUE="\\033[34m"
readonly ANSI_RESET="\\033[0m"
readonly ANSI_CLEAR="\\033[0K"
String
streamContents: [ :s |
| l |
l := BootstrapSelectDeploymentLibrary default.
l fileSelectors sorted
do: [ :each |
| r |
r := l fileResourceOf: each.
s
nextPutAll: ('<1s>/<2s>' expandMacrosWith: l name with: r filepath) printString;
@gcotelli
gcotelli / LoadingBA-St-Projects.st
Last active October 3, 2018 12:21
Loading BA-St Projects
| repos group bastRepoNames |
EpMonitor current disable.
group := MCRepositoryGroup default.
group repositories do:[ :repo | group removeRepository: repo ].
repos := '/home/gcotelli/GitHubRepos'.
bastRepoNames := #( 'Buoy' 'Boardwalk' 'Mole' 'Stardust' 'RenoirSt' 'Willow' 'Willow-Bootstrap' 'Willow-JQueryUI' 'Willow-SemanticUI' 'Willow-SpinKit' 'Willow-Mixpanel').