This file contains 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
$: (Dollar Colon) is basically a shorthand version of $LOAD_PATH. $: contains an array of paths that your script will search through when using require. | |
$0 (Dollar Zero) contains the name of the ruby program being run. This is typically the script name. | |
$* (Dollar Splat) is basically shorthand for ARGV. $* contains the command line arguments that were passed to the script. | |
$? (Dollar Question Mark) returns the exit status of the last child process to finish. | |
$$ (Dollar Dollar) returns the process number of the program currently being ran. | |
$~ (Dollar Tilde) contains the MatchData from the previous successful pattern match. | |
$1, $2, $3, $4 etc represent the content of the previous successful pattern match. | |
$& (Dollar Ampersand) contains the matched string from the previous successful pattern match. | |
$+ (Dollar Plus) contains the last match from the previous successful pattern match. | |
$` (Dollar Backtick) contains the string before the actual matched string of the previous successful pattern match. |
- Create sections in your omg.lol profile by creating [markdown headers] using pound symbols (
#
) - You can use any [font awesome] icon for items in your profile, even if its not already supported by omg.lol
- Prepend
/font-awesome-icon/
to the text in an item on your profile page.- Will default to
fas
/fa-solid
(font awesome solid icons). Thefa-
part is usually optional.
- Will default to
- Prepend
- Example:
/tree/ treesareawesome.com
or/fa-tree/ treesareawesome.com
CTRL
+B
, then[
to enter copy mode and be able to move around the screen with arrow keys.- Find the text you want to copy.
- Press
CTRL
+SPACE
to start copying. - Select the text with arrow keys.
- Press
CTRL
+W
to copy the highlighted text.- This automatically exits copy mode.
- You now have text saved the the Tmux copy buffer.
- Press
CTRL
+B
, then]
to paste your text.
- If you have made multiple changes to a file but only want to stage/commit part of that file to git, you can use git's interactive staging tool.
git add -i
- Select
5
orp
for patch - Select the file(s) with the changes you want to interactively stage.
- Git will walk you through different chunks of code in the files you have selected, and you can pick if you want to stage that chunk of code.
This file contains 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
<body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c> |
This file contains 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
[user] | |
name = Dakota Chambers | |
email = REDACTED | |
[core] | |
ignorecase = false | |
[url "ssh://[email protected]/"] | |
insteadOf = https://github.com/ |
NewerOlder