This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
200 Mb: | |
diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://409600` | |
1 Mb: | |
diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://2048` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.swift | |
// Multithreading | |
// | |
// Created by menangen on 16/01/2019. | |
// Copyright © 2019 menangen. All rights reserved. | |
// | |
import Foundation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_policy = allow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:jre-alpine | |
MAINTAINER Menangen <[email protected]> | |
COPY ./youtrack-*.jar /opt/youtrack/ | |
EXPOSE 8080 | |
WORKDIR /opt/youtrack/ | |
VOLUME ["/root/.youtrack", "/root/teamsysdata"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import Cocoa | |
import PlaygroundSupport | |
let evening: CGFloat = 0.1 | |
var square_side: CGFloat = 10 | |
var countRects = 50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import GameKit | |
class View: UIView { | |
let square_side = 5 | |
let height_pixels = 115 | |
let width_pixels = 80 | |
override func draw(_ rect: CGRect) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cl_hud_color "0" | |
cl_teammate_colors_show "1" | |
cl_color "3" | |
sv_competitive_official_5v5 "1" | |
host_writeconfig | |
sv_hegrenade_damage_multiplier 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const stringBuffer = new Buffer("Wikip"); | |
const stringBuffer2 = new Buffer("edia"); | |
const totalLength = stringBuffer.length + stringBuffer2.length; | |
adlerRoller_B = function (buffer, firstCharPosition) { | |
let length = buffer.length; | |
let sum = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// fileIO.c | |
// hashreader | |
// | |
// Created by menangen on 01/03/2018. | |
// Copyright © 2018 Andrey Menangen. All rights reserved. | |
// | |
#include <stdlib.h> // malloc, free, exit | |
#include <stdio.h> // fprintf, perror, fopen, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint8_t hash_coord( uint32_t x, uint32_t y, uint32_t seed) { | |
uint32_t m = ~x >> 19; | |
m |= 899809343; | |
uint32_t n = ~y >> 27; | |
//n += 0x1b873593; | |
n |= 0x1b873593; | |
seed ^= (m ^ 0x27d4eb2d); | |
seed ^= (n ^ 0xe6546b64); |
OlderNewer