Skip to content

Instantly share code, notes, and snippets.

View rawsta's full-sized avatar
:shipit:

rawsta rawsta

:shipit:
View GitHub Profile
@rawsta
rawsta / .vimrc
Created January 23, 2024 14:53
My basic .vimrc
"""""""""""""""""""""
" my minimal .vimrc
"""""""""""""""""""""
" Disable compatibility with vi which can cause unexpected issues.
set nocompatible
" Enable type file detection. Vim will be able to try to detect the type of file in use.
filetype on
@rawsta
rawsta / .bashrc
Last active January 23, 2024 14:52
My basic .bashrc
####################
# my minimal bashrc
####################
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@rawsta
rawsta / example.htaccess
Created May 1, 2022 06:08
Useful htaccess directives
# htaccess snippets for apache
# Don't copy&paste the whole file! - it will break your site
# Pick what you need and be careful
# HTTP authentification
AuthUserFile /path/to/.htpasswd
AuthType Basic
AuthName "Restricted Area"
Require valid-user

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@rawsta
rawsta / keybase.md
Created September 6, 2017 17:32
keybase.md

Keybase proof

I hereby claim:

  • I am rawsta on github.
  • I am rawsta (https://keybase.io/rawsta) on keybase.
  • I have a public key ASA6Fa2RH9YSQqWOObqnoPwclF7f2CCgUHqwrZFD4pQs6Ao

To claim this, I am signing this object: