Skip to content

Instantly share code, notes, and snippets.

View dcalixto's full-sized avatar
🎯
Focusing

Daniel dcalixto

🎯
Focusing
View GitHub Profile
@dcalixto
dcalixto / index.md
Created November 13, 2016 05:23 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@dcalixto
dcalixto / README.md
Created November 13, 2016 05:25 — forked from rstacruz/README.md
Standard JavaScript guide

bash cheatsheet

some stuff I still need to memorize

c-a move to beginning of line
@dcalixto
dcalixto / basics.md
Created November 13, 2016 05:34 — forked from rosswd/basics.md
Git Cheatsheets

Git Basics

  1. Make a directory: mkdir ~/Sites/my_site
  2. Change into directory: cd ~/Sites/my_site
  3. Create repo from directory: git init
  4. Tell git to track file: git add comments.rb
  5. Add file to the staging area: git commit -m 'first commit'
  6. Open file and add something: vim comments.rb
  7. Check status: git status
  8. Discard Changes: git checkout
@dcalixto
dcalixto / CS_SSL-certs.md
Created November 13, 2016 05:39 — forked from drAlberT/CS_SSL-certs.md
SSL certificates cheatsheets

SSL certificates CheatSheet

Quick reference for SSL certificate workflow handling for commonly used commercial SSL products

General purpose commands

Generate

  • Generate a new private key
@dcalixto
dcalixto / Git-Cheatsheets.md
Created November 13, 2016 05:44 — forked from nerdalert/Git-Cheatsheets.md
Git Cheat Sheets

Git Cheat Sheets and Examples


@dcalixto
dcalixto / Toolbox.md
Created November 13, 2016 05:45 — forked from dustyfresh/Toolbox.md
Toolbox is a list of tools I use often.

Toolbox

Tools I use on a daily basis:

  • dnsmap - DNS record enumeration using dictionary brute forcing. I have a host list. Find all kinds of infrastructure with this tool. Opensource.

  • Spiderfoot - Full intelligence gathering suite. Open source. Nice UI.

  • Arachni - Web application scanner. Has a nice web interface and can run distributely.

  • WPScan - WordPress specific attack tool

@dcalixto
dcalixto / linux_tools.md
Created November 13, 2016 05:47 — forked from crittelmeyer/linux_tools.md
linux tools cheatsheet

Linux tools to know

Built-in Mac OS tools

  • ls - list directory contents
  • wc - word, line, character, and byte count
  • cp - copy files
  • mv - move files
  • rm - remove directory entries
  • chmod - change file modes or Access Control Lists
  • chown - change file owner and group

I18n Cheatsheet

t('my.messages.hello')

# same as 'my.messages.hello'
t(:hello, scope: 'my.messages')
t(:hello, scope: [:my, :messages])
@dcalixto
dcalixto / web-dev-links.md
Created November 13, 2016 05:50
Web Dev Links