Skip to content

Instantly share code, notes, and snippets.

View back2war's full-sized avatar

Yulian Tarantiuk back2war

  • Faria Systems Ltd.
  • Ukraine
View GitHub Profile

Keybase proof

I hereby claim:

  • I am back2war on github.
  • I am back2war (https://keybase.io/back2war) on keybase.
  • I have a public key ASDRD9Ya6pxOhdytYVCNUMrQrEFGjDhyHFKxlO87IbHFGwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am back2war on github.
  • I am back2war (https://keybase.io/back2war) on keybase.
  • I have a public key ASA_Li1BgioM7f7wXVFj7fv3Fe124us2J49_qNpdnCECpAo

To claim this, I am signing this object:

# Custom output class to silence Qt warnings
# NOTE: This may cause issuse in the future so look here first if js
# tests fail
class QuiteWebkit
IGNOREABLE = /CoreText performance|userSpaceScaleFactor|Internet Plug-Ins|is implemented in bo/
def write(message)
if message =~ IGNOREABLE
0
else
posts = Post.arel_table
Post.where(posts[:title].in(['Testing', 'Test']).not)
// "SELECT "posts".* FROM "posts" WHERE (NOT ("posts"."title" IN ('Testing', 'Test')))"
User.where.not(username: params[:username])
// "SELECT "users".* FROM "users" WHERE "users"."username" != 'teejay'"
User.where.not(username: ['teejay', 'obazee'])
// "SELECT "users".* FROM "users" WHERE ("users"."username" NOT IN ('teejay', 'obazee'))"