Skip to content

Instantly share code, notes, and snippets.

View utkinis's full-sized avatar
🤔
pondering

Ivan Utkin utkinis

🤔
pondering
  • ETH Zürich
  • Zürich, Switzerland
View GitHub Profile

Keybase proof

I hereby claim:

  • I am krjackvinator on github.
  • I am krjackvinator (https://keybase.io/krjackvinator) on keybase.
  • I have a public key whose fingerprint is 2D96 70DC DAB0 1A88 4C60 00F1 244D E0A0 8D02 E6AC

To claim this, I am signing this object:

@utkinis
utkinis / polyfound.c
Last active August 29, 2015 14:16
Поиск многочленов
#include <stdio.h>
#include <stdlib.h>
void iteratePolys(int i, int* a, int* found);
int checkPoly(int *a);
void printArray(int *a);
int main(void) {
int k, a[8], found=0;
for(k=0; k<8; k++) {
@utkinis
utkinis / basic.go
Created June 21, 2015 19:18
go-julia concept
import "github.com/krjackvinator/go-julia/julia"
func main() {
// Init julia runtime
julia.Init(nil)
// Run finalisers and do some magic
defer julia.AtExitHook()
// Must apper in every function that will not return as long as calls into Julia will be made
julia.SetStackBase()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@utkinis
utkinis / cooling.jl
Last active October 1, 2015 00:36
Cooling of one-dimensional static lava column
const σ = 5.67051e-8
const ɛ = 0.8
type CoolingData
matrix::Tridiagonal{Float64}
results::Vector{Vector{Float64}}
temp_evol::Vector{Float64}
time_grid::Vector{Float64}
space_grid::Vector{Float64}