Skip to content

Instantly share code, notes, and snippets.

View silvawillian's full-sized avatar
:shipit:

Willian Silva silvawillian

:shipit:
View GitHub Profile
/* eslint-disable */
beforeEach(function cb() {
if (!this.currentTest.parent.timerStart) {
this.currentTest.parent.timerIndex = 0;
this.currentTest.parent.timerStart = Date.now();
}
});
afterEach(function cb() {

Keybase proof

I hereby claim:

  • I am silvawillian on github.
  • I am willgupy (https://keybase.io/willgupy) on keybase.
  • I have a public key ASDzSeOSBto2j3LN12JDNH9rDnV12ZWtByb7mPYWjsj6LQo

To claim this, I am signing this object:

@silvawillian
silvawillian / comoNaoDeixarNoVaucoNoWhatsapp.js
Created October 21, 2017 03:13 — forked from callmeloureiro/comoNaoDeixarNoVaucoNoWhatsapp.js
Como não deixar no vácuo no whatsapp
/*
Hoje não deixaremos mais ninguém no vácuo no whatsapp
Para utilizar:
- Abra o web.whatsapp.com;
- Abra o console e cole o código que está no gist;
- Aguarde e verá uma mensagem sendo enviada a cada momento que alguém te enviar alguma mensagem.
Confira também como ser chato no whatsapp: https://gist.github.com/mathloureiro/4c74d60f051ed59650cc76d1da0d32da
import React from 'react';
import { StyleSheet, Text, View, TouchableOpacity, Image } from 'react-native';
import { Button, Grid, Row } from 'react-native-elements'
import Swiper from 'react-native-swiper';
import SwipeableViews from 'react-swipeable-views-native';
export default class App extends React.Component {
render() {
return (
# ===================================================================
# COMMON SPRING BOOT PROPERTIES
#
# This sample file is provided as a guideline. Do NOT copy it in its
# entirety to your own application. ^^^
# ===================================================================
# ----------------------------------------
# CORE PROPERTIES
'use strict';
var secret = require('./secret.js');
var rest = require('restler');
var crypto = require('crypto');
var querystring = require('querystring');
var fatSecretRestUrl = 'http://platform.fatsecret.com/rest/server.api';
var apiKey = process.env.FATKEY ||secret.fatKey;
var sharedSecret = process.env.FATSECRET ||secret.fatSecret;
var querySecret = sharedSecret + '&';
var express = require('express');
var app = express();
app.use(express.static('public')); // uses "public" folder to serve static files.
app.listen(3000, function () {
console.log('Running app on port 3000!')
})
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package datetest;
import java.util.ArrayList;
import java.util.Calendar;