Skip to content

Instantly share code, notes, and snippets.

View FylmTM's full-sized avatar
🦀
Chillin.

Dmitry Vrublevsky FylmTM

🦀
Chillin.
View GitHub Profile
package app.sample.api.admin.users
import app.sample.api.Page
import app.sample.api.Pageable
import app.sample.common.extensions.page
import app.sample.common.nowUTC
import app.sample.db.tables.references.PARTNERS
import app.sample.db.tables.references.USERS
import app.sample.domain.User
import app.sample.domain.UserInfo
@FylmTM
FylmTM / HelloWorldScene.ts
Created April 13, 2020 13:07
Phaser/ Resize
import Phaser from "phaser";
export class HelloWorldScene extends Phaser.Scene {
private logo: null | Phaser.Physics.Arcade.Image = null;
constructor() {
super("hello-world");
}
@FylmTM
FylmTM / instruction.txt
Last active July 20, 2017 11:59
OS X Code Signing
1. Open Keychain
2. Keychain access -> Certificate assistant -> Create certificate...
3. Enter data:
- Name: Desired name
- Identity type: Self signed Root
- Certificate type: Code signing
4. Create
5. Right click created certificate and choose `Export certificate`
6. Choose name and destination and press 'Save'
7. Type in certificate password
package com.duck
import java.util.concurrent.TimeUnit;
import org.openjdk.jmh.annotations.*;
import org.openjdk.jmh.infra.Blackhole;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.*;
@FylmTM
FylmTM / Cypher.g4
Last active April 3, 2017 09:35
Cypher.g4
/*
* Copyright (c) 2015-2016 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* 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
*
@FylmTM
FylmTM / wow-addons.sh
Last active January 1, 2017 13:28
wow-addons.sh
# UI
rm -rf AddOns/pfUI
git clone https://github.com/shagu/pfUI.git AddOns/pfUI
# Quests
rm -rf "AddOns/\!Questie"
git clone --branch v3.5 https://github.com/AeroScripts/QuestieDev
mv "QuestieDev/\!Questie" "AddOns/\!Questie"
rm -rf QuestieDev/
# Reload tmux configuration
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
set -g default-shell /bin/zsh
# improve colors
#set -g default-terminal 'screen-256color'
# enable mouse
set -g mouse on
@FylmTM
FylmTM / file.cyp
Created August 30, 2016 11:01
delete all data
MATCH (n) WHERE NOT n:DatabaseMetadata DETACH DELETE n
@FylmTM
FylmTM / README.md
Last active July 30, 2016 10:23
League of Graphs