I created a gist to easy install composer deps. Can be found here: https://gist.github.com/naxmefy/a31832574cf56a3841c452ab60489b4d
just execute
# shell
private Dictionary<string, Object[]> atlanten = new Dictionary<string, Object[]>(); | |
function Start() { | |
atlanten.Add("Leather", AssetDatabase.loadAll...); | |
} | |
function Update() { | |
string type = ... | |
if (!atlanten.ContainsKey(type)) |
I created a gist to easy install composer deps. Can be found here: https://gist.github.com/naxmefy/a31832574cf56a3841c452ab60489b4d
just execute
# shell
Following requires major
and minor
and patch
^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
Following requires major
and minor
only see https://regex101.com/r/P0vQnX/1 (check unit test too)
public class Rotate { | |
public static int[][] rotateImage(int[][] a) { | |
final int len = a.length; | |
println("LEN: " + len / 2); | |
println("========"); | |
for (int s = 0; s < len / 2; s++) { | |
println("S: " + s); | |
for (int i = 0; i < len - 2 * s - 1; i++) { |
# small fix for use in latest docker under windows... | |
COMPOSE_CONVERT_WINDOWS_PATHS=1 |
######################### | |
# CMD: | |
# $ svn propset svn:ignore -F .svnignore . | |
######################### | |
######################### | |
# vscode | |
######################### | |
.vscode |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', | |
theme: ThemeData( |
import Foundation | |
func load<T:Decodable>(_ filename:String, as type:T.Type = T.self) -> T { | |
let data:Data | |
guard let file = Bundle.main.url(forResource: filename, withExtension: nil) | |
else { | |
fatalError("Couldn't find \(filename) in main bundle.") | |
} | |
do { |
#include <iostream> | |
#include <typeinfo> | |
int main(){ | |
auto x = *<:??)()??<%>; | |
std::cout << typeid(x).name() << std::endl; | |
typedef void (*cfunp_t) (); | |
std::cout << typeid(cfunp_t).name() << std::endl; | |
} |
import 'package:flutter/material.dart'; | |
import 'package:simple_animations/simple_animations/controlled_animation.dart'; | |
import 'package:simple_animations/simple_animations/multi_track_tween.dart'; | |
class FadeAnimation extends StatelessWidget { | |
final double delay; | |
final Widget child; | |
const FadeAnimation(this.delay, this.child); |