Skip to content

Instantly share code, notes, and snippets.

Check dates of an image

exiftool file.jpg | grep Date

Shift dates by +7 years, 10 months, 20 days of all files in current directory

exiftool "-AllDates+=7:10:20 0" -overwrite_original .
describe('Airbnb', function(){
it('opens login modal', function(){
cy.visit('http://www.airbnb.com');
cy.title().should('include', 'Vacation');
//cy.pause();
cy.get('#new-header > div:nth-child(3) > a').click();
cy.get('#signin_email').type("[email protected]");
upstream app {
server 127.0.0.1:3000;
}
server {
listen 80;
server_name localhost;
location / {
proxy_read_timeout 600;
Update Homebrew:
> brew update
Install osxfuse:
> brew cask install osxfuse
Install ntfs-3g:
> brew install ntfs-3g
Link mount_ntfs:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Animated responsive bar chart</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
background: #2e232b;
<!doctype html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
</head>
<body>
<h1>EDIT WARZ!!!11!1</h1>
<ul></ul>
\curl -sSL https://get.rvm.io | bash -s stable
rvm install 2.1.0
***
$ git clone https://github.com/jgonera/qa-playground.git
$ cd qa-playground
$ bundle install
***
@jgonera
jgonera / Maryana.sql
Last active December 19, 2015 02:59
SQL for fetching stats about uploaders
-- show users that uploaded at least twice
select
event_userName,
count(*) as count
from MobileWebUploads_5383883
where
event_action = 'success'
and wiki != 'testwiki'
group by event_userName
having
@jgonera
jgonera / has3d.js
Last active December 15, 2015 11:09 — forked from lorenzopolidori/has3d.js
This version sandboxes el inside an iframe to avoid weird Android Browser quirks. Requires jQuery.
function has3d(){
var el = $('<p>')[0], $iframe = $('<iframe>'), has3d, t,
transforms = {
'webkitTransform': '-webkit-transform',
'OTransform': '-o-transform',
'msTransform': '-ms-transform',
'transform': 'transform'
};
// Add it to the body to get the computed style
@jgonera
jgonera / codeGuidelines.markdown
Last active December 15, 2015 09:29
MobileFrontend code guidelines

Code guidelines

This document briefly describes guidelines for writing code for the MobileFrontend MediaWiki extension.

File names