Skip to content

Instantly share code, notes, and snippets.

View Matodor's full-sized avatar
👌
👌🏻

Roman Chebykin Matodor

👌
👌🏻
  • Scround
  • Russia, Kurgan
View GitHub Profile
@Matodor
Matodor / Crc32.cs
Created September 1, 2022 07:39
C# Crc32
// Copyright (c) Damien Guard. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
// Originally published at http://damieng.com/blog/2006/08/08/calculating_crc32_in_c_and_net
public class Crc32
{
private static readonly ulong[] Table = {
0x00000000UL, 0x77073096UL, 0xee0e612cUL, 0x990951baUL, 0x076dc419UL,
0x706af48fUL, 0xe963a535UL, 0x9e6495a3UL, 0x0edb8832UL, 0x79dcb8a4UL,
@Matodor
Matodor / plugin.js
Last active January 25, 2021 11:01
Vuetify dynamic creation Snackbar component
import Vue from 'vue';
import { VSnackbar } from 'vuetify/lib';
import _ from 'underscore';
const plugin = {
install: () => {
Vue.prototype.$showSnackbar = function (content = '', props = {}) {
const appEl = document.getElementById('monitoring');
const snackbarEl = document.createElement('div');
@Matodor
Matodor / media-query.css
Created March 3, 2020 08:12 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@Matodor
Matodor / Unity Android Multidex.md
Created June 17, 2018 17:17 — forked from yatyricky/Unity Android Multidex.md
Too many field references max is 65536 / Build-in class shrinker and multidex are not supported yet / there were duplicate class definitions

Environment

OS

Edition : Windows 10 Pro Version : 1709 OS Build : 16299.192

Unity