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
u@LAPTOP-31E3HV7R MINGW64 /c/u/ok/groses-projekt-mdt | |
$ python -m venv test | |
Looking in links: c:\Users\u\AppData\Local\Temp\tmp0yr8vk15 | |
Processing c:\users\u\appdata\local\temp\tmp0yr8vk15\setuptools-58.1.0-py3-none-any.whl | |
Processing c:\users\u\appdata\local\temp\tmp0yr8vk15\pip-22.0.4-py3-none-any.whl | |
Installing collected packages: setuptools, pip | |
Successfully installed pip-22.0.4 setuptools-58.1.0 | |
u@LAPTOP-31E3HV7R MINGW64 /c/u/ok/groses-projekt-mdt | |
$ source test/bin/activate |
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 traceMethodCalls(obj) { | |
const handler = { | |
get(target, propKey, receiver) { | |
console.log('GET', propKey); | |
const targetValue = target[propKey]; // Reflect.get(target, propKey, receiver); | |
if (typeof targetValue === 'function') { | |
return function(...args) { | |
console.log('CALL', propKey, args); | |
return targetValue.apply(target, args); // (A) | |
} |
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
import colors from "https://cdn.skypack.dev/ansi-colors@v4.1.1"; | |
import * as readline from "./readline.js"; | |
; | |
var global$1 = typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}; | |
var lookup = []; | |
var revLookup = []; | |
var Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array; | |
var inited = false; | |
function init() { | |
inited = true; |
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
export const propertyA = "A"; | |
export const propertyB = "B"; | |
//export something lodash_mapvalues; | |
export default function( x ){ // <---- declared as a default function | |
return x * x; | |
} |
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
// create a graph class | |
class Graph { | |
// defining vertex array and | |
// adjacent list | |
constructor() | |
{ | |
this.AdjList = new Map(); | |
} |
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
//sersly | |
((a)=>{let xPathResult = document.evaluate(a, document, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null ); | |
const nodes = []; | |
let node = xPathResult.iterateNext(); | |
while (node) { | |
nodes.push(node); | |
node = xPathResult.iterateNext(); | |
}; | |
return nodes})('//input') |
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
(* ::Package:: *) | |
(*Import like Import["https://gist.githubusercontent.com/Kreijstal/\ | |
2a34158a1cf159b4ddc5ab3460f6efd0/raw/\ | |
6bfc3328d9538844fabbbce9691fb3c63824ed9f/promises.m"]*) | |
Promise::usage="Promise[Function[{accept,reject},CustomLogic[accept[\"Success!\"],reject[\"Oh no! Error!\"]]]]" | |
Promise := | |
Module[{local, success, failure, listen, counter = 0, Promise}, | |
success[x_] := (local["s"] = x;(*Print[{"I've been executed",x, | |
local}];*)Through[local["t"][local["s"]]]; local["t"] = {}; | |
local["resolved"] = True); |
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
console.log("hello world") |
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
apt-get install -qqy --no-install-recommends \ | |
apt-utils \ | |
ffmpeg \ | |
sox \ | |
libcairo2-dev \ | |
texlive \ | |
texlive-fonts-extra \ | |
texlive-latex-extra \ | |
texlive-latex-recommended \ | |
texlive-science \ |
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
https://web.archive.org/web/20200622213752if_/https://a.uguu.se/thJbKW17Mu6a_paint-over11.psd |