Skip to content

Commit 3990701

Browse files
authored
feat: release v2.0.0 (#18)
* feat: v2.0.0 * fix: config * chore: update json * fix: config * chore: update json * fix: config * fix: config * fix: repo uri * chore: update json
1 parent 47d909f commit 3990701

File tree

10 files changed

+499
-253
lines changed

10 files changed

+499
-253
lines changed

.freeCodeCamp/.bashrc

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
# ~/.bashrc: executed by bash(1) for non-login shells.
2+
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
3+
# for examples
4+
5+
# If not running interactively, don't do anything
6+
case $- in
7+
*i*) ;;
8+
*) return;;
9+
esac
10+
11+
# don't put duplicate lines or lines starting with space in the history.
12+
# See bash(1) for more options
13+
# I commented this out
14+
#HISTCONTROL=ignoreboth
15+
16+
# append to the history file, don't overwrite it
17+
shopt -s histappend
18+
19+
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
20+
HISTSIZE=1000
21+
HISTFILESIZE=2000
22+
23+
# check the window size after each command and, if necessary,
24+
# update the values of LINES and COLUMNS.
25+
shopt -s checkwinsize
26+
27+
# If set, the pattern "**" used in a pathname expansion context will
28+
# match all files and zero or more directories and subdirectories.
29+
#shopt -s globstar
30+
31+
# make less more friendly for non-text input files, see lesspipe(1)
32+
# I commented this out
33+
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
34+
35+
# set variable identifying the chroot you work in (used in the prompt below)
36+
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
37+
debian_chroot=$(cat /etc/debian_chroot)
38+
fi
39+
40+
# set a fancy prompt (non-color, unless we know we "want" color)
41+
case "$TERM" in
42+
xterm-color|*-256color) color_prompt=yes;;
43+
esac
44+
45+
# uncomment for a colored prompt, if the terminal has the capability; turned
46+
# off by default to not distract the user: the focus in a terminal window
47+
# should be on the output of commands, not on the prompt
48+
#force_color_prompt=yes
49+
50+
if [ -n "$force_color_prompt" ]; then
51+
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
52+
# We have color support; assume it's compliant with Ecma-48
53+
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
54+
# a case would tend to support setf rather than setaf.)
55+
color_prompt=yes
56+
else
57+
color_prompt=
58+
fi
59+
fi
60+
61+
if [ "$color_prompt" = yes ]; then
62+
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
63+
else
64+
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
65+
fi
66+
unset color_prompt force_color_prompt
67+
68+
# If this is an xterm set the title to user@host:dir
69+
case "$TERM" in
70+
xterm*|rxvt*)
71+
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
72+
;;
73+
*)
74+
;;
75+
esac
76+
77+
# enable color support of ls and also add handy aliases
78+
if [ -x /usr/bin/dircolors ]; then
79+
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
80+
alias ls='ls --color=auto'
81+
#alias dir='dir --color=auto'
82+
#alias vdir='vdir --color=auto'
83+
84+
# I commented these out
85+
# alias grep='grep --color=auto'
86+
# alias fgrep='fgrep --color=auto'
87+
# alias egrep='egrep --color=auto'
88+
fi
89+
90+
# colored GCC warnings and errors
91+
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
92+
93+
# some more ls aliases - # I commented these out
94+
# alias ll='ls -alF'
95+
# alias la='ls -A'
96+
# alias l='ls -CF'
97+
98+
# Add an "alert" alias for long running commands. Use like so:
99+
# sleep 10; alert
100+
# I commented this out
101+
#alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
102+
103+
# Alias definitions.
104+
# You may want to put all your additions into a separate file like
105+
# ~/.bash_aliases, instead of adding them here directly.
106+
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
107+
108+
if [ -f ~/.bash_aliases ]; then
109+
. ~/.bash_aliases
110+
fi
111+
112+
# enable programmable completion features (you don't need to enable
113+
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
114+
# sources /etc/bash.bashrc).
115+
if ! shopt -oq posix; then
116+
if [ -f /usr/share/bash-completion/bash_completion ]; then
117+
. /usr/share/bash-completion/bash_completion
118+
elif [ -f /etc/bash_completion ]; then
119+
. /etc/bash_completion
120+
fi
121+
fi
122+
123+
# I commented this out
124+
#for i in $(ls -A $HOME/.bashrc.d/); do source $HOME/.bashrc.d/$i; done
125+
126+
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
127+
export PATH="$PATH:$HOME/.rvm/bin"
128+
129+
# stuff I added
130+
PS1='camper: \[\033[01;34m\]/${PWD##*/}\[\033[00m\]\$ '
131+
HISTFILE=/workspace/.bash_history
132+
PROMPT_COMMAND='echo $PWD >> /workspace/project/.freeCodeCamp/test/.cwd; history -a'
133+
trap 'echo $BASH_COMMAND >> /workspace/project/.freeCodeCamp/test/.next_command' DEBUG

.freeCodeCamp/test/.cwd

Whitespace-only changes.

.freeCodeCamp/test/.next_command

Whitespace-only changes.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
node_modules
2-
package-lock.json
32
.DS_Store

.gitpod.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
image: gitpod/workspace-node-18:2024-01-24-09-19-42
2+
3+
workspaceLocation: 'project'
4+
checkoutLocation: 'project'
5+
6+
tasks:
7+
- before: |
8+
sudo touch /workspace/.bash_history
9+
sudo chmod -R 777 /workspace
10+
sudo cp /workspace/project/.freeCodeCamp/.bashrc ~/.bashrc
11+
12+
command: |
13+
sudo rm /workspace/project/CHANGELOG.md
14+
sudo rm /workspace/project/coderoad.yaml
15+
sudo rm /workspace/project/tutorial.json
16+
sudo rm /workspace/project/TUTORIAL.md
17+
exit
18+
19+
vscode:
20+
extensions:
21+
- CodeRoad.coderoad

.vscode/settings.json

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"breadcrumbs.enabled": false,
3+
"debug.internalConsoleOptions": "neverOpen",
4+
"debug.showInStatusBar": "never",
5+
"editor.acceptSuggestionOnCommitCharacter": false,
6+
"editor.acceptSuggestionOnEnter": "off",
7+
"editor.autoClosingBrackets": "never",
8+
"editor.codeActionsOnSave": {
9+
"source.fixAll": "explicit"
10+
},
11+
"editor.hover.enabled": false,
12+
"editor.inlineSuggest.enabled": false,
13+
"editor.minimap.enabled": false,
14+
"editor.parameterHints.enabled": false,
15+
"editor.quickSuggestions": {
16+
"other": false,
17+
"comments": false,
18+
"strings": false
19+
},
20+
"editor.referenceInfos": false,
21+
"editor.snippetSuggestions": "none",
22+
"editor.suggest.statusBar.visible": false,
23+
"editor.suggestOnTriggerCharacters": false,
24+
"editor.tabSize": 2,
25+
"explorer.autoReveal": false,
26+
"explorer.openEditors.visible": 0,
27+
"extensions.autoCheckUpdates": false,
28+
"extensions.ignoreRecommendations": true,
29+
"files.autoSave": "afterDelay",
30+
"files.exclude": {
31+
"**/.git": true,
32+
"**/.svn": true,
33+
"**/.hg": true,
34+
"**/CVS": true,
35+
"**/.DS_Store": true,
36+
".vscode": true,
37+
".gitignore": true,
38+
".freeCodeCamp": true,
39+
"learn-git-by-building-an-sql-reference-object": true,
40+
".gitpod.Dockerfile": true,
41+
".gitpod.yml": true,
42+
"CHANGELOG.md": true,
43+
"coderoad.yaml": true,
44+
"tutorial.json": true,
45+
"TUTORIAL.md": true
46+
},
47+
"html.autoClosingTags": false,
48+
"npm.fetchOnlinePackageInfo": false,
49+
"task.slowProviderWarning": false,
50+
"terminal.integrated.allowChords": false,
51+
"terminal.integrated.commandsToSkipShell": ["coderoad.enter"],
52+
"terminal.integrated.enableFileLinks": false,
53+
"terminal.integrated.environmentChangesIndicator": "off",
54+
"terminal.integrated.macOptionIsMeta": true,
55+
"terminal.integrated.showExitAlert": false,
56+
"telemetry.enableTelemetry": false,
57+
"update.mode": "none",
58+
"update.showReleaseNotes": false,
59+
"workbench.enableExperiments": false,
60+
"workbench.startupEditor": "none",
61+
"workbench.colorTheme": "Tomorrow Night Blue",
62+
"workbench.colorCustomizations": {
63+
"[Tomorrow Night Blue]": {
64+
"menu.background": "#0a0a23",
65+
"menu.foreground": "#ffffff",
66+
"activityBar.background": "#0a0a23",
67+
"activityBar.foreground": "#ffffff",
68+
"activityBar.activeBorder": "#ffffff",
69+
"activityBar.border": "#2a2a40",
70+
"editorWidget.background": "#0a0a23",
71+
"editorWidget.foreground": "#ffffff",
72+
"sideBar.background": "#1b1b32",
73+
"sideBarTitle.foreground": "#858591",
74+
"sideBar.foreground": "#f5f6f7",
75+
"sideBar.border": "#2a2a40",
76+
"editor.background": "#2a2a40",
77+
"editor.foreground": "#dfdfe2",
78+
"tab.activeForeground": "#ffffff",
79+
"tab.inactiveBackground": "#1b1b32",
80+
"tab.inactiveForeground": "#d0d0d5",
81+
"tab.border": "#2a2a40",
82+
"editorGroupHeader.tabsBackground": "#0a0a23",
83+
"editorIndentGuide.background": "#3b3b4f",
84+
"terminal.background": "#0a0a23",
85+
"terminal.foreground": "#ffffff",
86+
"terminal.ansiBrightGreen": "#ffffff",
87+
"panel.background": "#1b1b32",
88+
"panelTitle.inactiveForeground": "#858591",
89+
"panelTitle.activeBorder": "#f5f6f7"
90+
}
91+
},
92+
"workbench.iconTheme": null,
93+
"workbench.statusBar.visible": false,
94+
"workbench.tips.enabled": false,
95+
"workbench.tree.renderIndentGuides": "none",
96+
"zenMode.centerLayout": false
97+
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ Whenever a new version is created, add the new branch name and the changes here
3232
- Restructure commits to use new style. Instead of loading a new test file, and commenting out the old one on each commit, this loads all the tests in the `INIT` commit and uses mocha settings to only run tests in a specific file. The commits now just change the test file that should run.
3333
- There was an issue with the last commit not loading after using the reset button in a tutorial. I added a final commit at end that seems to have resolved it.
3434
- Add `exit` flag to mocha so the tests can't hang
35+
36+
## [v2.0.0]
37+
38+
- Add Gitpod config

codeAlly.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

coderoad.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
id: 'freeCodeCamp/learn-git-by-building-an-sql-reference-object:v1.0.0'
2-
version: '1.0.5'
2+
version: '2.0.0'
33
config:
44
setup:
55
commands:
@@ -12,7 +12,7 @@ config:
1212
directory: .freeCodeCamp
1313
repo:
1414
uri: https://github.com/freeCodeCamp/learn-git-by-building-an-sql-reference-object
15-
branch: v1.0.5
15+
branch: v2.0.0
1616
continue:
1717
commands:
1818
- './.freeCodeCamp/setup.sh'

0 commit comments

Comments
 (0)