This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Handle Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
create-branch-and-pr: | |
runs-on: ubuntu-latest | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url("https://fonts.googleapis.com/css?family=Candal"); | |
@import url("https://fonts.googleapis.com/css?family=Changa One"); | |
@import url("https://fonts.googleapis.com/css?family=Imprima"); | |
/* Background colors*/ | |
body { | |
overflow: hidden; | |
background-color: rgba(0,0,0,0); | |
} | |
/* Transparent background. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:cloud_firestore/cloud_firestore.dart'; | |
class DatabaseService<T> { | |
final String collection; | |
final Firestore _db = Firestore.instance; | |
final T Function(String, Map<String,dynamic>) fromDS; | |
final Map<String,dynamic> Function(T) toMap; | |
DatabaseService(this.collection, {this.fromDS,this.toMap}); | |
Future<T> getSingle(String id) async { | |
var snap = await _db.collection(collection).document(id).get(); | |
if(!snap.exists) return null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Device Calendar', | |
theme: ThemeData( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Device Calendar', | |
theme: ThemeData( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker rmi $(docker images | grep "^<none>" | awk "{print $3}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 4.0.10deb1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: May 06, 2017 at 03:59 PM | |
-- Server version: 5.5.54-0ubuntu0.14.04.1 | |
-- PHP Version: 5.5.9-1ubuntu4.21 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS `country` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`iso` char(2) NOT NULL, | |
`name` varchar(80) NOT NULL, | |
`nicename` varchar(80) NOT NULL, | |
`iso3` char(3) DEFAULT NULL, | |
`numcode` smallint(6) DEFAULT NULL, | |
`phonecode` int(5) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE currency; | |
-- Create table variable | |
CREATE TABLE currency ( | |
country VARCHAR(100), | |
currency VARCHAR(100), | |
code VARCHAR(100), | |
symbol VARCHAR(100) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
his.nepMap[2000] = [0, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31 ]; | |
this.nepMap[2001] = [0, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30 ]; | |
this.nepMap[2002] = [0, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30 ]; | |
this.nepMap[2003] = [0, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31 ]; | |
this.nepMap[2004] = [0, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31 ]; | |
this.nepMap[2005] = [0, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30 ]; | |
this.nepMap[2006] = [0, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30 ]; | |
this.nepMap[2007] = [0, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31 ]; | |
this.nepMap[2008] = [0, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31 ]; | |
this.nepMap[2009] = [0, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30 ]; |
NewerOlder