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
ERROR in ../kk-vue-components/node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"uglify":true}}],"env"],"plugins":["transform-object-rest-spread",["transform-runtime",{"polyfill":false,"helpers":false}],["transform-runtime",{"polyfill":false}],["transform-object-rest-spread"]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/kk-vue-components/src/svg-icon.vue | |
Module build failed: Error: Duplicate plugin/preset detected. | |
If you'd like to use two separate instances of a plugin, | |
they neen separate names, e.g. | |
plugins: [ | |
['some-plugin', {}], | |
['some-plugin', {}, 'some unique name'], | |
] | |
at assertNoDuplicates (/home/jonasjso/git/kvalitetskontroll/kk-vue-components/node_modules/@babel/core/lib/config/config-descriptors.js:201:13) |
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
!/bin/bash | |
PROJECT=`cat ${HOME}/.goto/active-project` | |
GOTOPATH="${HOME}/.goto/projects/${PROJECT}.json" | |
GOTO="/usr/local/opt/goto/the_real_goto.py" | |
# Special case no 1 | |
if [ "$1" = "cd" ]; then | |
# hack to cd in this shell to the ouput of goto show <magicword> | |
path=`goto show "$2"` |
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
class Vector: | |
""" | |
class -- Represents a Vector with n length | |
""" | |
def __init__(self, nparray): | |
self.array = nparray #1d numpy array | |
self.length = len(self.array) | |
self.x = self.array[0] | |
self.y = self.array[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
# 09.12.2016 - Jonas | |
# Trying to make an efficient collision detection | |
import random | |
import math | |
from . import Blob | |
widtH = 800 |
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
# This is a suggestion to how to have 2d collision detection | |
# Inspired by Sentdex - part 20 intermediate Python tutorial | |
WIDTH = 600 | |
HEIGHT = 400 | |
blob_or_zero = [[ 0 for i in range(WIDTH) ] for i in range(HEIGHT) ] # Making a 2d blob-map, which has the same ratio as the screens pixel-map | |
blobs = [ Blob( random.x, random.y ) for i in range(20) ] # Initializing 20 blobs to random position | |
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 main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
func main () { | |
goRoutineTest() | |
} |
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
#This is the terminal output from when Steam Launches on system startup | |
# during the first loop. | |
Installing breakpad exception handler for appid(steam)/version(1355957371_client) | |
Looks like steam didn't shutdown cleanly, scheduling immediate update check | |
Installing breakpad exception handler for appid(steam)/version(1355957371_client) | |
Installing breakpad exception handler for appid(steam)/version(1355957371_client) | |
SteamUpdater: Error: Download failed: http error 0 | |
unlinked 0 orphaned pipes | |
Installing breakpad exception handler for appid(steam)/version(1355957371_client) |
NewerOlder