Before starting I validate the HTML. The HTML is valid, meaning that it does not have syntax errors. After completing tasks I then re-validate the HTML to verify that no errors were introduced.
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
06:29:42: ERROR[main]: ========== ERROR FROM LUA =========== | |
06:29:42: ERROR[main]: Failed to load and run script from | |
06:29:42: ERROR[main]: /home/bas/Games/minetest/bin/../games/minimal/mods/1x1textureresizer/init.lua: | |
06:29:42: ERROR[main]: ...bin/../games/minimal/mods/1x1textureresizer/init.lua:33: bad argument #1 to 'output' (/home/bas/Games/minetest/bin/../games/minimal/mods/1x1textureresizer/textures/default_tnt_side_4x4.png: No such file or directory) | |
06:29:42: ERROR[main]: stack traceback: | |
06:29:42: ERROR[main]: [C]: in function 'output' | |
06:29:42: ERROR[main]: ...bin/../games/minimal/mods/1x1textureresizer/init.lua:33: in function 'filecopy' | |
06:29:42: ERROR[main]: ...bin/../games/minimal/mods/1x1textureresizer/init.lua:134: in main chunk |
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
100 minetest.add_particle({ | |
101 pos = {x=pos.x, y=pos.y+1, z=pos.z}, | |
102 velocity = {x=10 ,y=2,z=5}, | |
103 acceleration = {x=10,y=-0.5,z=0}, | |
104 expirationtime = 2, | |
105 size = 1, | |
106 collisiondetection = true, | |
107 texture = 'bees_wax.png', | |
108 }) |
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
#!/usr/bin/env python | |
import sys | |
def matrix( text, seperator_x='\t', seperator_y='\n'): | |
table = [] | |
rows = text.split( seperator_y ) | |
for index, row in enumerate( rows ): | |
table.insert( index, row.split( seperator_x ) ) | |
return table |
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
(defn throw-die [] (inc (rand-int 6))) | |
(defn throw-dice [] (repeatedly throw-die)) | |
(defn yahtzee? [numbers] (apply = numbers)) | |
(defn printlnrt [v] (do (println v) v)) | |
(defn throw-yahtzee [] (while (not (yahtzee? (printlnrt (take 14 (throw-dice))))))) |
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
(ns lor.core | |
(:gen-class)) | |
(require '[clojure.java.io :as io] | |
'[clojure.string :as string]) | |
(defn user-home | |
"get the user home directory" | |
[] | |
(System/getProperty (str "user.home"))) |
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
// The only function is like once but with a predicate. It remembers the return | |
// value and keeps returning that value every time the inner function is called | |
// except when the predicate returns true. In that case the new value to be | |
// stored is returned from the fn. | |
// | |
// For convenience the only function runs the fn the first time the inner | |
// function is called regardless of the return value of the predicate. | |
// | |
// The function that inspired this one: http://ramdajs.com/0.19.0/docs/#once |
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
var _ = require('ramda'); | |
_.exists = exists; | |
_.args = args; | |
_.ap = ap; | |
_.Either = Either; | |
_.Either.either = _.curry(either); |
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
<form> | |
<!-- does nothin more then create a fieldset, add legend and nest elements | |
within it --> | |
<form-fieldset title="Hello World"> | |
<!-- already got this working still needs a config --> | |
<form-entity-generated entity="someEntity"></form-entity-generated> | |
<!-- only show a specific set of properties -->> |
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 FormElementGeneratedCustomElement { | |
@bindable entity; | |
@bindable property; | |
constructor(config) => { | |
this.entity = config.entityStrategy(this.entity); | |
this.validations = []; |
OlderNewer