Skip to content

Instantly share code, notes, and snippets.

View sashker's full-sized avatar
💭
Work on Recorn project

Alexander Mustafin sashker

💭
Work on Recorn project
  • Recorn
  • Cyprus
View GitHub Profile
@sashker
sashker / main.dart
Created December 9, 2023 11:39
resonating-diamond-5639
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Animated Scroll Demo',
home: AnimatedScrollDemo(),
@sashker
sashker / main.dart
Created December 9, 2023 08:50
jade-illusion-2842
// 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
@sashker
sashker / form.html
Last active March 21, 2021 16:29 — forked from escopecz/form.html
An example of how to send a form submission to a Mautic form with jQuery
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mautic Form Test</title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

Mobile Apps Privacy Policy

Last updated Sep 16th, 2020

Grama (hereafter referred to as "Creator") is dedicated to protecting the privacy of our users and handling any personal date we obtain from our users with care and respect. An overall principle is that we do not collect more information than is reasonably necessary to provide you with the best user experience.

Creator may use affiliates’ or reputable third parties’ services for the processing of personal data collected on or through our mobile games (“Games”). By using our Games, you are accepting the practices described in this privacy policy.

Our games are for all ages. If a game is for children or for a mixed audience we do not serve interest based advertising to users 12 or under in the US or 15 and under in the EU. We do not actively collect information from users 12 or under in the US.

@sashker
sashker / trigger.json
Created April 21, 2020 08:20
AWS_Cognito_PostAuthenticationTrigger
{
"version":"1",
"triggerSource":"PostAuthentication_Authentication",
"region":"eu-central-1",
"userPoolId":"eu-central-1_2BhSp1izK",
"callerContext":{
"awsSdkVersion":"aws-sdk-unknown-unknown",
"clientId":"obqqb23tn53gt48f5hj2ouqk1"
},
"userName":"1be89f55-17a1-47db-a214-a90d9c4f170a",
@sashker
sashker / main.go
Created February 26, 2020 16:49
Number of adjacent numbers in the line
package main
import (
"fmt"
)
func main() {
line := []int{1, 0, 1, 0, 1, 0}
count := showAdjacent(line)
fmt.Println(count)
@sashker
sashker / gregorianToTimestamp.go
Created April 1, 2019 09:22
An example how you can convert Gregorian timestamp to Unix timestamp
//An example how you may convert Gregorian timestamp to Unix timestamp
package main
import (
"fmt"
"strconv"
"time"
)
@sashker
sashker / md5-example.go
Created November 14, 2018 13:45 — forked from sergiotapia/md5-example.go
Golang - How to hash a string using MD5.
import (
"crypto/md5"
"encoding/hex"
)
func GetMD5Hash(text string) string {
hasher := md5.New()
hasher.Write([]byte(text))
return hex.EncodeToString(hasher.Sum(nil))
}
type T struct {
A int
B string
}
t := T{23, "skidoo"}
s := reflect.ValueOf(&t).Elem()
typeOfT := s.Type()
for i := 0; i < s.NumField(); i++ {