I hereby claim:
- I am foucist on github.
- I am foucist (https://keybase.io/foucist) on keybase.
- I have a public key ASD3fsCRowaBsZobY6pjB1oIGR9DoRXt9iQFMwx2PUtb1Qo
To claim this, I am signing this object:
class Account < ApplicationRecord | |
# Include default devise modules. Others available are: | |
# :lockable, :timeoutable and :omniauthable | |
devise :database_authenticatable, :registerable, :confirmable, | |
:recoverable, :rememberable, :trackable, :validatable | |
has_one :profile, dependent: :destroy | |
accepts_nested_attributes_for :profile | |
validates_presence_of :email |
class Account < ApplicationRecord | |
# Include default devise modules. Others available are: | |
# :confirmable, :lockable, :timeoutable and :omniauthable | |
devise :database_authenticatable, :registerable, | |
:recoverable, :rememberable, :trackable, :validatable | |
has_one :profile, dependent: :destroy | |
accepts_nested_attributes_for :profile | |
validates_presence_of :email |
defmodule Expng do | |
defstruct [:width, :height, :bit_depth, :color_type, :compression, :filter, :interlace, :chunks] | |
def png_parse(<< | |
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, | |
_length :: size(32), | |
"IHDR", | |
width :: size(32), | |
height :: size(32), |
I hereby claim:
To claim this, I am signing this object:
(* | |
Export All Safari Tabs in All Open Windows to a Markdown File | |
July 13, 2015 | |
// SCRIPT PAGE | |
http://hegde.me/urlsafari | |
// ORIGINAL SCRIPT ON WHICH THIS SCRIPT IS BUILT | |
http://veritrope.com/code/export-all-safari-tabs-to-a-text-file |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Tailwind Starter Template</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
</head> | |
<body> | |
<div class="container bg-blue-dark"> | |
<div class="bg-blue flex items-center py-1"> |
display: grid
grid-template-columns
and grid-template-rows
grid-column
and grid-row
var RiotControl = { | |
_stores: [], | |
addStore: function(store) { | |
this._stores.push(store); | |
} | |
}; | |
['on','one','off','trigger'].forEach(function(api){ | |
RiotControl[api] = function() { | |
var args = [].slice.call(arguments); |
class Price | |
def pricer(quantity, item) | |
end | |
case | |
when setpoint | |
SetPrice | |
when bulkpoint | |
BulkPrice | |
end |
class Message::Collection::Count | |
MENU_TYPES = %w{message gift flirt access_granted request_access} | |
def initialize(profile) | |
@profile = profile | |
end | |
def self.unread_counts_for(profile) | |
new(profile).unread_message_counts | |
end |