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
### Keybase proof | |
I hereby claim: | |
* I am micicfilip on github. | |
* I am micicfilip (https://keybase.io/micicfilip) on keybase. | |
* I have a public key ASABqCfGPXARNFHud-Thq9cYcmlkF8psSrUo1-03sWrfnAo | |
To claim this, I am signing this object: |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> | |
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> | |
<link href="style.css" rel="stylesheet" /> | |
<title>Popcorn time</title> | |
<meta charset="utf-8" /> | |
</head> |
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
function EL(id) { return document.getElementById(id); } // Get el by ID helper function | |
function readFile() { | |
if (this.files && this.files[0]) { | |
var FR= new FileReader(); | |
FR.onload = function(e) { | |
EL("img").src = e.target.result; | |
EL("b64").innerHTML = e.target.result; | |
document.getElementById("demo").value = e.target.result; | |
}; |
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
def first(niz = []): | |
return niz.pop(0) | |
def last(niz = []): | |
return niz.pop(-1) | |
def tail(niz = []): | |
niz.pop(0) | |
return niz |
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
#! C:\Strawberry\perl\bin\perl.exe | |
use strict; | |
use warnings; | |
use v5.010; | |
package Vektor2D; | |
sub new { |
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
#! C:\Strawberry\perl\bin\perl.exe | |
use warnings; | |
use strict; | |
use v5.010; | |
use prvi2; | |
my $op1 = new Vector(2, 1, 1); |
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
#! C:\Strawberry\perl\bin\perl.exe | |
use warnings; | |
use strict; | |
use v5.010; | |
use main2; | |
my $operation1 = new VectorPrvi(10 , 20 , 30); |