Skip to content

Instantly share code, notes, and snippets.

View comigor's full-sized avatar
:shipit:
Shippin'

Igor Borges comigor

:shipit:
Shippin'
View GitHub Profile
@comigor
comigor / scratch_card.dart
Last active March 8, 2019 17:47 — forked from slightfoot/scratch_card.dart
Scratch Card - Unfinished Flutter implementation of https://allu.io/react-scratchcard/
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'dart:math' as math;
void main() => runApp(ScratchApp());
class ScratchApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@comigor
comigor / introspection-query.graphql
Last active May 30, 2019 17:25 — forked from craigbeck/introspection-query.graphql
Introspection query for GraphQL
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
@comigor
comigor / http-toolkit-export.js
Last active September 2, 2026 00:17 — forked from maxammann/http-toolkit-export.js
Export all intercepted HTTP exchanges from HTTP Toolkit to JSON
// HTTP Toolkit full export v2 (requests + responses + bodies).
// Paste into the DevTools console inside the HTTP Toolkit desktop app.
(async function () {
var findEventsStore = function () {
var elements = document.querySelectorAll('*');
for (var i = 0; i < elements.length; i++) {
var el = elements[i];
var keys = Object.keys(el);
for (var j = 0; j < keys.length; j++) {
var key = keys[j];