Skip to content

Instantly share code, notes, and snippets.

@kamilkp
kamilkp / fib_log_n.py
Created October 12, 2020 21:20
Find n-th Fibonacci number in O(log n) time
count_of_operations = 0
def scalar_mult(a, b):
global count_of_operations
count_of_operations = count_of_operations + 1
return a * b
def scalar_sum(a, b):
global count_of_operations
@kamilkp
kamilkp / how to.md
Last active March 20, 2020 10:39
How To Install TrueExif for Premiere Pro
<!doctype html>
<html lang="en" ng-app="myApp">
<head>
<meta charset="UTF-8"/>
<title>vsRepeat test2</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<style>
.repeater-container{
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE