These affect the calling scene only.
Example:
this.scene.start()
# .github/workflows/dart.yml | |
name: build | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] |
const functions = require('firebase-functions'); | |
const mkdirp = require('mkdirp-promise'); | |
const admin = require('firebase-admin'); | |
const { execFile } = require('child-process-promise'); | |
const path = require('path'); | |
const os = require('os'); | |
const fs = require('fs'); | |
admin.initializeApp(); |
import 'dart:async'; | |
import 'dart:html'; | |
import 'package:flutter/material.dart'; | |
import 'package:firebase/firebase.dart' as fb; | |
import 'package:firebase/firestore.dart' as fs; | |
import 'package:linktree_demo_clone/linktree.dart'; | |
class Settings extends StatefulWidget { | |
@override |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_web: |
import { GraphQLServer, Options } from 'graphql-yoga' | |
import { mergeSchemas } from 'graphql-tools'; | |
import { getRemoteSchema } from "./remoteSchema"; | |
import { SubscriptionClient } from 'subscriptions-transport-ws'; | |
import * as ws from 'ws'; | |
if (process.env.NODE_ENV !== 'production') { | |
require('dotenv').config() | |
} |
There are so many great GIFs out there and I want to have copies of them. Twitter makes that harder than it should be by converting them to MP4 and not providing access to the source material. To make it easier, I made a bash pipeline that takes a tweet URL and a filename, extracts the MP4 from that tweet and uses ffmpeg to convert back to GIF.
brew install ffmpeg
apt install ffmpeg
/* Shadow 0dp */ | |
box-shadow: none; | |
/* Shadow 1dp */ | |
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.20); | |
/* Shadow 2dp */ | |
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.20); | |
/* Shadow 3dp */ |
Navigator.of(context).push( | |
new PageRouteBuilder( | |
pageBuilder: (BuildContext context, _, __) { | |
return new Notes(); | |
}, | |
transitionsBuilder: (_, Animation<double> animation, __, Widget child) { | |
return new FadeTransition( | |
opacity: animation, | |
child: child | |
); |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Example", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "node", | |
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], |