Skip to content

Instantly share code, notes, and snippets.

{
Format: 'PNG (Portable Network Graphics)',
format: 'PNG',
Geometry: '1024x768',
size: { width: 1024, height: 768 },
Class: 'PseudoClass',
Type: 'grayscale',
Depth: '8 bits-per-pixel component',
depth: 8,
'Channel Depths': { Gray: '8 bits' },
@geraldke
geraldke / invitation.json
Created February 1, 2019 01:15
sample size table
{
"rows":[
{
"type":"heading",
"title":"Rectangle"
},
{
"name":"A1/Baronial",
"type":"size",
"values":[
<iframe width="100%" height="880" src="https://www.instagram.com/p/BaOaJaqHazB/embed/" frameborder="0" scrolling="no" allowtransparency="true"></iframe>
@geraldke
geraldke / format.json
Created January 7, 2019 06:40
north-american
‌{
"columns":[
"Size",
"Dimension"
],
"rows":[
{
"type":"sub-heading",
"title":"Loose Paper Size\n"
},
@geraldke
geraldke / size_table.json
Created January 7, 2019 06:21
size table
{
"rows":[
{
"name":"Smallest",
"type":"size",
"value":{
"width":"8.5",
"height":"11"
}
},
engines/businesses/app/controllers/businesses/admin_utilities_controller.rb:36 W: Assignment Branch Condition size for pay_now_price is too high. [16.06/15]
engines/businesses/app/controllers/businesses/admin_utilities_controller.rb:37 W: Use `if active_membership.repeat_payments.blank?` instead of `unless active_membership.repeat_payments.present?`.
engines/businesses/app/controllers/businesses/admin_utilities_controller.rb:43 W: Space inside } missing.
engines/businesses/app/controllers/businesses/admin_utilities_controller.rb:233 W: Extra empty line detected at class body end.
engines/products/app/concepts/products/pay_now/operations/charge.rb:13 W: Extra blank line detected.
engines/products/app/concepts/products/pay_now/operations/charge.rb:20 W: Do not prefix writer method names with `set_`.
engines/products/app/concepts/products/pay_now/operations/charge.rb:25 W: Use `contract.pay_now_price.to_i.zero?` instead of `contract.pay_now_price.to_i == 0`.
engines/products/app/concepts/products/pay_now/operati
@geraldke
geraldke / gist:0fd4b8066fd98c8d5015035d821bf2e5
Last active March 4, 2018 12:21
boxy-tomorrow-sublime-theme
// > BOXY TOMORROW
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// The most hackable theme for Sublime Text 3
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[
//
// >> Autocomplete
// ===========================================================================
// Autocomplete settings and behavior
@geraldke
geraldke / gems.txt
Created February 19, 2018 07:53
Gem load times
require rails: (0.000016)
require mysql2: (0.010432)
require rake: (0.066104)
require products: (0.083229)
require invoices: (0.003460)
require feedback: (0.003508)
require base_admin: (0.002928)
require admin: (0.003248)
require cms: (0.003018)
require announcements: (0.002939)
=> {"contact"=>
{"Email"=>"gerald+mick@serviceseeking.com.au",
"FirstName"=>"G",
"LastName"=>"Ke23",
"Company"=>"Gerald Ke",
"Phone"=>"0412 341 234",
"custom"=>
{"user"=>
{"integer--User--ID"=>633882,
"string--User--Status"=>"active",
:(){ :|: & };: