Skip to content

Instantly share code, notes, and snippets.

View edufolly's full-sized avatar

Eduardo Folly edufolly

View GitHub Profile
@fernandadegolin
fernandadegolin / git.md
Created May 12, 2020 16:32 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@YukiFinamore
YukiFinamore / clearing_docker_images.md
Last active May 12, 2020 16:36
Clean Docker Images

1 . Delete the orphaned volumes in Docker, you can use the built-in docker volume command. The built-in command also deletes any directory in /var/lib/docker/volumes that is not a volume so make sure you didn't put anything in there you want to save.

Warning be very careful with this if you have some data you want to keep

Cleanup:

$ docker volume rm $(docker volume ls -qf dangling=true)

Additional commands:

@phelewski
phelewski / GitHub-workflow.yaml
Created May 12, 2020 14:56
Visual Studios Code Remote - Container Blog | Example Docker Hub Publishing GitHub Workflow Action
name: VS Code DockerHub Build & Push
on:
push:
branches:
- 'master'
paths:
- '.devcontainer/build/Dockerfile'
jobs:
@madhalle
madhalle / adopt_dont_shop_melanie_madeleine.md
Last active May 11, 2020 17:42 — forked from aperezsantos/dtr_futbol_colin_mike_ana.md
DTR Adopt Don't Shop Paired Melanie Madeleine

DTR: Define the Relationship

Use this template to when conducting DTR with your project partners. It's recommended that you copy/paste this template into your own gist each time you conduct a DTR to take notes on the conversation.

Guiding Questions to Define The Relationship:

  • What are each of our learning goals for this project? What drives us in this project?
  • What is your collaboration style? How do you feel about pair programming vs. divide-and-conquer approaches?
  • How do you communicate best? How do you appreciate receiving communication from others?
  • How would you describe your work style?
@fnicastri
fnicastri / article_dao.dart
Created May 10, 2020 21:14 — forked from ForceTower/article_dao.dart
Fetch relations using floor
@Query('SELECT * FROM article ORDER BY publishedAt DESC')
Stream<List<Article>> getAllArticles();
@Query('SELECT Author.*, _junction.articleId as articleId FROM ArticleAuthor AS _junction inner join Author ON (_junction.authorId = Author.id) WHERE _junction.articleId IN (:ids)')
Future<List<AuthorArticleId>> getAuthorsFromArticles(List<int> ids);
Stream<List<ArticleWithAuthor>> getAllArticlesWithAuthors() {
final stream = getAllArticles();
final controller = StreamController<List<ArticleWithAuthor>>.broadcast();
Screen Inventory - https://github.com/users/brendenrdowd/projects/2
User flows - https://drive.google.com/open?id=1rt5a3AqEb5WOO_LDF7GK0pE3jS8bAYvT
Wireframes - https://gist.github.com/brendenrdowd/73d0b6be47e1878d6c9715386fc127bd
@morshedalam
morshedalam / OSX UTC Time Zone
Created April 21, 2020 18:30 — forked from nick-desteffen/OSX UTC Time Zone
Set Time zone in OSX to UTC
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime
http://compose.mail.yahoo.com/?to={email_address}&subject={title}&body={url}
http://digg.com/submit?url={url}
http://pinterest.com/pin/create/link/?url={url}
http://service.weibo.com/share/share.php?url={url}&appkey=&title={title}&pic=&ralateUid=
http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={url}
http://surfingbird.ru/share?url={url}&description={text}&screenshot={image}&title={title}
http://vk.com/share.php?url={url}&title={title}&comment={text}
http://widget.renren.com/dialog/share?resourceUrl={url}&srcUrl={url}&title={title}&description={text}
http://www.addthis.com/bookmark.php?url={url}
http://www.douban.com/recommend/?url={url}&title={title}
import 'package:flutter/foundation.dart';
import 'package:graphql_flutter/graphql_flutter.dart';
ValueNotifier<GraphQLClient> client = ValueNotifier(
GraphQLClient(
cache: InMemoryCache(),
link: HttpLink(uri: 'http://10.0.2.2:3000'),
),
);
@Travmatth
Travmatth / Dockerfile
Created April 13, 2020 04:21
Dockerfile starter
FROM ubuntu:latest
ARG USER_NAME="dockerdude"
ARG USER_PASSWORD="p@$$w0d"
ENV USER_NAME $USER_NAME
ENV USER_PASSWORD $USER_PASSWORD
ENV CONTAINER_IMAGE_VER=v1.0.0
RUN echo $USER_NAME