Skip to content

Instantly share code, notes, and snippets.

@AndreMikulec
AndreMikulec / main.dart
Last active October 1, 2023 23:48
Flutter Demo
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@AndreMikulec
AndreMikulec / main.dart
Created October 1, 2023 23:24
Dart for loop
void main() {
for (int i = 0; i < 5; i++) {
print('hello ${i + 1}');
}
}
@AndreMikulec
AndreMikulec / OOP_F2003_Part_2.md
Created February 23, 2020 04:54 — forked from n-s-k/OOP_F2003_Part_2.md
Object-Oriented Programming in Fortran 2003 Part 2: Data Polymorphism

Object-Oriented Programming in Fortran 2003 Part 2: Data Polymorphism

Original article by Mark Leair, PGI Compiler Engineer

Note: This article was revised in March 2015 and again in January 2016 to bring it up-to-date with the production software release and to correct errors in the examples.

This is Part 2 of a series of articles:

@AndreMikulec
AndreMikulec / OOP_F2003_Part_1.md
Created February 23, 2020 04:53 — forked from n-s-k/OOP_F2003_Part_1.md
Object-Oriented Programming in Fortran 2003 Part 1: Code Reusability
@AndreMikulec
AndreMikulec / pylogger.R
Created March 16, 2017 11:41 — forked from jonathancallahan/pylogger.R
R script that wraps futile.logger to emulate python style logging for six levels: TRACE, DEBUG, INFO, WARN, ERROR, FATAL.
#' @name logger.setup
#' @export
#' @title Set Up Python-Style Logging
#' @param traceLog file name or full path where \code{logger.trace()} messages will be sent
#' @param debugLog file name or full path where \code{logger.debug()} messages will be sent
#' @param infoLog file name or full path where \code{logger.info()} messages will be sent
#' @param warnLog file name or full path where \code{logger.warn()} messages will be sent
#' @param errorLog file name or full path where \code{logger.error()} messages will be sent
#' @param fatalLog file name or full path where \code{logger.fatal()} messages will be sent
#' @return No return value.
## meant to be an R Package zoo S3 object
#
seq.yearqtr <- function(from, to, by, length.out = NULL, along.with = NULL, ...) {
# R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
#
require(zoo) # zoo_1.7-13
<html>
<body>
<script type="text/javascript"
src="http://yui.yahooapis.com/3.4.0/build/yui/yui-min.js"></script>
<script>
YUI().use('oop', function(Y) {
<html><head><script src="http://yui.yahooapis.com/3.3.0/build/yui/yui-min.js"></script></head><body>
<div class="children" style="">
<div class="myitem">
<li>
<div>
<span>_98</span>
</div>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Simple IE style overrides problem</title>
<script type="text/javascript" src="http://yui.yahooapis.com/3.1.0pr2/build/yui/yui-debug.js"></script>
We couldn’t find that file to show.