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 / fuck-you-brew.patch
Last active July 15, 2019 21:59
Ignore homebrew updates and make it work with older XCode version
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index ba6592eba..fe6ef0c9a 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -432,6 +432,7 @@ update-preinstall-timer() {
}
update-preinstall() {
+ return
[[ -z "$HOMEBREW_HELP" ]] || return
import 'package:flutter/material.dart';
class Feed extends StatelessWidget {
@override
Widget build(BuildContext context) {
final items = [
'Small description',
'Medium description and text which will be bigger',
'Large description and text which will be even bigger and occupy a lot of lines and more and more and more and more',
];
#!/usr/bin/env bash
if [[ "$OSTYPE" != "darwin"* ]]; then
echo "macOS only. Sorry."
exit 1
fi
function changeWallpaper() {
osascript -e 'tell app "finder" to get posix path of (get desktop picture as alias)' > /tmp/old_wallpaper_path

Privacy Policy

Igor Borges built this app as a Free app. This SERVICE is provided by Igor Borges at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Feijoada unless otherwise defined in this Privacy Policy.

@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
[
"https://i.imgur.com/3opt0I5.jpg",
"https://i.imgur.com/ivs4PQu.jpg",
"https://i.imgur.com/qnXOaXM.jpg",
"https://i.imgur.com/6NK8S6f.jpg",
"https://i.imgur.com/r9nCNne.jpg",
"https://i.imgur.com/KB80xwQ.jpg",
"https://i.imgur.com/2fo0mu3.jpg",
"https://i.imgur.com/xSN0QBW.jpg",
"https://i.imgur.com/XVbF1H7.jpg",
@comigor
comigor / graphbrainz.schema.graphql
Created February 22, 2020 17:48
GraphBrainz SDL
# [Aliases](https://musicbrainz.org/doc/Aliases) are variant names
# that are mostly used as search help: if a search matches an entity’s alias, the
# entity will be given as a result – even if the actual name wouldn’t be.
type Alias {
# The aliased name of the entity.
name: String
# The string to use for the purpose of ordering by name (for
# example, by moving articles like ‘the’ to the end or a person’s last name to
# the front).
@comigor
comigor / github.schema.graphql
Created February 22, 2020 17:58
GitHub SDL
# Autogenerated input type of AcceptEnterpriseAdministratorInvitation
input AcceptEnterpriseAdministratorInvitationInput {
# The id of the invitation being accepted
invitationId: ID!
# A unique identifier for the client performing the mutation.
clientMutationId: String
}
# Autogenerated return type of AcceptEnterpriseAdministratorInvitation