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
#include <iostream> | |
struct Perlin { | |
float freq; | |
explicit | |
Perlin (float f = 1.0) { | |
freq = f; | |
} |
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 | |
// CGImageTest | |
// | |
// Created by menangen on 09.10.2020. | |
// | |
import Foundation | |
import SpriteKit | |
import GameKit |
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
lcc = llc | |
ld = ld.lld | |
src=.. | |
SYS = /root/src/musl/root | |
GCCPATH = /usr/lib64/gcc/x86_64-slackware-linux/9.3.0 | |
llcflags = -march=x86-64 -relocation-model=pic -filetype=obj | |
ldflags = -s $SYS/lib/crt1.o -static -nostdlib --lto-O3 -sysroot $SYS -L $SYS/lib -L $GCCPATH | |
ldlibflags = -lgcc -lc -lm -ldl -lpthread |
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:8u265-jre | |
LABEL maintainer "menangen" | |
COPY 1.16.2/* /data/ | |
EXPOSE 25565/tcp | |
EXPOSE 25565/udp | |
EXPOSE 25575/tcp |
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
SYS=/root/src/musl/musl-1.2.1/build/root | |
MAIN=main.c | |
OBJ=hello.c.o | |
clang -std=c11 -nostdinc -nodefaultlibs --sysroot $SYS -isystem $SYS/include -c $MAIN -o $OBJ |
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 Vue from "vue" | |
import App from "components/App.vue" | |
new Vue(App); |
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 Foundation | |
class Cat { var name = "Kisa" } | |
let cat = Cat() | |
class State { | |
static var instance = cat | |
} |
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
GIT_ARGS="--single-branch --depth 1 --branch swift-5.2.5-RELEASE" | |
CLONE="git clone" | |
URL_GITHUB="https://github.com" | |
G=".git" | |
REPOS=( \ | |
swift \ | |
swift-package-manager \ | |
swift-cmark \ |
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
$value: 100; | |
$value2: $value + 24; | |
$A: 100 / 12; | |
$B: 360 / 12; | |
$bgcolor: hsl($value, $A * 12, $A * 10 - ($A / 4) * 1 ); | |
$color-1: hsl($value, 72%, 83%); | |
$color-2: hsl($value2 + $B, $A * 8, $A * 8); |
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.c | |
// rdrand | |
// | |
// Created by menangen on 26.03.2020. | |
// Copyright © 2020 menangen. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <immintrin.h> |