Skip to content

Instantly share code, notes, and snippets.

View ridvansumset's full-sized avatar

Rıdvan Şümşet ridvansumset

View GitHub Profile
// soru: ilk row test sayisini verir. testler de labirentlerin kac col'a kac row oldugunu veren satirla baslar.
// kac test verilirse hepsinin labirentlerinde gidilebilecek en uzun yolu hesaplayan bir program yazin.
// .: acik yol, #: kapali yol
/**
ornek:
1
3 3
#.#
#..
export const TRIANGLE_PARTICLES_OPTIONS = {
background: {
color: {
position: 'cover'
}
},
fullScreen: false,
fpsLimit: 120,
particles: {
color: {
getFullPath(path, params = null, query = null) {
let ret = path;
if (params) {
for (const key in params) {
if (Object.prototype.hasOwnProperty.call(params, key)) {
ret = ret.replace(`:${key}`, params[key]);
}
}
}
<template>
<div>
{{`${doubleDigits(h)} : ${doubleDigits(m)} : ${doubleDigits(s)}`}}
</div>
</template>
<script>
export default {
props: {
endTime: {
//model
using System;
using System.Collections;
using System.Collections.Generic;
namespace YNY.Sync
{
public class Column
{
public Column()
public static class Utils
{
public static void QueryGenerator(ref NpgsqlCommand cmd, string tableName, string conflictStr, string returningStr, Params prms, int index)
{
PropertyInfo[] props = null;
List<Column> columns = new List<Column>();
Dictionary<string, bool> confMap = new Dictionary<string, bool>();
Dictionary<string, object> paramMap = new Dictionary<string, object>();
List<string> conflicts = conflictStr.Split(',').ToList();
func dumpInterfaceArray(args interface{}) *int {
val := reflect.ValueOf(args)
fmt.Println(val.Kind())
if val.Kind() == reflect.Slice {
ln := val.Len()
return &ln
} else if val.Kind() == reflect.Struct {
if val.FieldByName("List").IsValid() && !val.FieldByName("List").IsNil() {
ln := val.FieldByName("List").Len()
return &ln