Skip to content

Instantly share code, notes, and snippets.

View nzy's full-sized avatar

Constantine Z. nzy

  • n1.studio
  • Vladivostok
View GitHub Profile
@rstacruz
rstacruz / index.md
Last active November 3, 2023 09:56
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@aek
aek / Jx.DatePicker.js
Created September 19, 2011 17:34
DatePicker for JxLib
/*
---
name: Jx.DatePicker
description: A Jx.DatePicker: Provide a Date Picker component
license: MIT-style license.
provides: [Jx.DatePicker]
@MarkusObrist
MarkusObrist / git-mergetool-winmerge-setup.sh
Created June 6, 2011 13:28 — forked from adilsoncarvalho/git-mergetool-winmerge-setup.sh
shell script that configures git to use WinMerge as the default tool to handle conflicts
#!/bin/sh
#
# This script will make WinMerge your default tool for diff and merge.
# It must run inside git bash (on Windows)
#
# If your WinMerge is in other place then this one, please edit
WINMERGE_SCRIPT="winmerge-merge.sh"