Open terminal and execute the following to set up a profile:
/Applications/Firefox.app/Contents/MacOS/firefox-bin --ProfileManager
type User struct { | |
ID int64 `sql:",primary"` | |
Name string | |
// The go struct representation of our data. | |
Configuration Configuration `sql:"-"` | |
// The JSON blob to be stored in and fetched from the database. | |
ConfigurationBlob []byte `graphql:"-" sql:"configuration"` | |
} |
CREATE TABLE users ( | |
id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
name VARCHAR(255), | |
configuration JSON | |
); |
type User struct { | |
ID int64 `sql:",primary"` | |
Name string | |
} |
CREATE TABLE users ( | |
id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
name VARCHAR(255) | |
); |
type User struct { | |
ID int64 `sql:",primary"` | |
Name string | |
} |
class ActiveRecord::Base | |
mattr_accessor :shared_connection | |
@@shared_connection = nil | |
def self.connection | |
@@shared_connection || ConnectionPool::Wrapper.new(:size => 1) { retrieve_connection } | |
end | |
end | |
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
.no-gutter.row, | |
.no-gutter.container, | |
.no-gutter.container-fluid{ | |
margin-left: 0; | |
margin-right: 0; | |
} | |
.no-gutter>[class^="col-"]{ | |
padding-left: 0; | |
padding-right: 0; |
{ "keys": ["super+shift+c"], "command": "run_macro_file", "args": {"file": "Packages/User/macros/copy_line_without_newline.sublime-macro"} } |