Skip to content

Instantly share code, notes, and snippets.

View alycda's full-sized avatar

Alyssa Evans alycda

View GitHub Profile
@alycda
alycda / .gitconfig
Last active December 26, 2025 23:04
Git Config
[core]
editor = code --wait
ignorecase = true
[core]
excludesfile = ~/.gitignore_global
[pull]
rebase = true
@alycda
alycda / helix-config.toml
Last active January 4, 2026 03:37
Helix Editor Configuration
theme = "mine"
[editor.soft-wrap]
enable = true
[editor]
# line-number = "relative"
rulers = [72, 80, 100, 120]
"color-modes" = true
// string literal
let literal: &'static str = "Hello, World";
// Vec<char>, char is u32, owned and stored on the heap with pointer, length and capacity stored on the stack
let string = String::from("Hello, World");
// immutable view
let slice = &string[..];
// Raw
RewriteLog /usr/local/pem/vhosts/283073/webspace/httpdocs/logs/rewrite_log
RewriteLogLevel 9
RewriteRule can only apply to REQUEST_URI
RewriteRule pattern target [flags]
if they request the pattern, send them to the target instead
[PT] [passthrough] hands it back to the url mapping phase, treated as though it was the original request
jQuery
======
[tuts+](https://tutsplus.com/course/30-days-to-learn-jquery/)
Referencing
-----------
jQuery(selector);
$(selector);
--Shortcuts
CMD+k: clear window
up/down arrows: Review previous commands (only works in proper shell, changing shells will not allow you to use command from different shell
CTRL+a: Move cursor to start of line
CTRL+e: Move cursor to end of line
OPT+click: Move cursor to click point (Terminal only)
TAB: Try to complete command or file name
TAB+TAB: Show list of possible matches (when tab does't complete)
CMD+~: Cycle between Terminal windows (Terminal Only)
1. Regex // History
set of symbols representing a text pattern
formal language interpreted by regex processor
matches text if it correctly describes the text
--engines
C/C++
Java
PHP5(.x.x) is located at:
/private/etc/php.ini
--set admin email
--turn display errors on
phpMyAdmin config file:
~/Sites/phpMyAdmin.config.inc.php
phpMyAdmin session vars:
/private/var/tmp
[MySQL](http://www.lynda.com/course20/MySQL-tutorials/)
=====
what is MySQL?
database management system (not an application)
--database server, manages CRUD operations
--client libraries (in order to interact with server)
MySQL is located at:
`$ which mysql`:
1. Introducing HTML5
-- Prior standards
1995: HTML 2.0 Formalized syntax and many rules that were already being implemented by browsers
1997: HTML 3.2 Largely ignored by browser manufacturers who began to implement their own tags
1998: Web standards project Pushed for standards adoption, added weight to W3C recommendations and promoted standards-based browsers
1999: HTML 4.0 Stabilized the syntax and structure of HTML, became the standard for web authoring
2000: XHTML 1.0 Designed to move HTML towards XML DTDs often caused it to render as HTML
2000->2004: Growth of the web High bandwidth connections increase, as does demand for multimedia and applications driven by technologies such as Flash and AJAX. Work on XHTML 2.0 begins (not backwards compatible, never really took off or finished)