Skip to content

Instantly share code, notes, and snippets.

class View
lol: ->
console.log "view lol"
console.log @
class Foo
@delegate: (method, obj) ->
console.log "delegating #{method} to #{obj}"
console.log @::
id oldname
usermod -l newname oldname
groupmod -n newname oldname
usermod -d /home/newname -m newname
usermod -c “New_real_name” newname
id newname
class Quest::SyncToCoreAction < Quest::BaseAction
validates :quest, presence: true
# Minimal implementation of class (like AR model) that can hold transaction callbacks.
class FakeModel
def initialize(quest_id)
@quest_id = quest_id
end
@mainameiz
mainameiz / bisac.csv
Created June 15, 2016 13:49 — forked from jveldboom/bisac.csv
BISAC codes and values
ANT000000 Antiques & Collectibles / General
ANT001000 Antiques & Collectibles / Americana
ANT002000 Antiques & Collectibles / Art
ANT003000 Antiques & Collectibles / Autographs
ANT005000 Antiques & Collectibles / Books
ANT006000 Antiques & Collectibles / Bottles
ANT007000 Antiques & Collectibles / Buttons & Pins
ANT008000 Antiques & Collectibles / Care & Restoration
ANT009000 Antiques & Collectibles / Transportation
ANT010000 Antiques & Collectibles / Clocks & Watches

Install php extensions

Посмотреть список установленный расширений

$ php -m

Недостающие расширения: