This file contains 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 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 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 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 <menangen@gmail.com> | |
COPY ./youtrack-*.jar /opt/youtrack/ | |
EXPOSE 8080 | |
WORKDIR /opt/youtrack/ | |
VOLUME ["/root/.youtrack", "/root/teamsysdata"] |
This file contains 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 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 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
int ipow(int base, int exp) | |
{ | |
int result = 1; | |
while (exp) | |
{ | |
if (exp & 1) | |
result *= base; | |
exp >>= 1; | |
base *= base; | |
} |
This file contains 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
LD_RUNPATH_SEARCH_PATHS = ( | |
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx", | |
"@executable_path", | |
); | |
SWIFT_FORCE_DYNAMIC_LINK_STDLIB = YES; | |
SWIFT_FORCE_STATIC_LINK_STDLIB = NO; |
This file contains 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); |
This file contains 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
ffmpeg -y -i src/IMG.MOV -x265-params level=5.1:vbv-maxrate=4000:vbv-bufsize=7000:qcomp=0.5:vbv-init=0.5:crf=23:crf-min=17 -vf scale=1280:720 -sws_flags spline -map_metadata:g 0:g -f mp4 -c:v libx265 -preset medium -tag:v hvc1 -copyts -vsync 0 -time_base 1/60 -video_track_timescale 600 -c:a copy -threads 8 out/[h265-720p]IMG.mp4 |
OlderNewer