Skip to main content

Posts

CXX object

[ 93%] Building CXX object plugins/tools/selectiontools/CMakeFiles/kritaselectiontools.dir/KisMagneticWorker.cc.o In file included from /home/boud/dev/hellozee/plugins/tools/selectiontools/KisMagneticWorker.cc:25:0: /usr/include/boost/graph/astar_search.hpp: In instantiation of 'void boost::astar_search_no_init(const VertexListGraph&, typename boost::graph_traits<Graph>::vertex_descriptor, AStarHeuristic, AStarVisitor, PredecessorMap, CostMap, DistanceMap, WeightMap, ColorMap, VertexIndexMap, CompareFunction, CombineFunction, CostInf, CostZero) [with VertexListGraph = KisMagneticGraph; AStarHeuristic = AStarHeuristic; AStarVisitor = AStarGoalVisitor; PredecessorMap = boost::reference_wrapper<PredecessorMap>; CostMap = boost::associative_property_map<std::map<VertexDescriptor, unsigned int> >; DistanceMap = boost::associative_property_map<DistanceMap>; WeightMap = boost::associative_property_map<WeightMap>; ColorMap = boost::associative_proper...

import json

class Pocket(BasicNewsRecipe):     title = 'Pocket'     __author__ = 'Darko Miletic, Przemyslaw Kryger, Keith Callenberg, tBunnyMan'     description = '''Personalized news feeds. Go to getpocket.com to setup up                   your news. This version displays pages of articles from                   oldest to newest, with max & minimum counts, and marks                   articles read after downloading.'''     publisher = ' getpocket.com '     category = 'news, custom'     # Settings people change     oldest_article = 7.0     max_articles_per_feed = 50     minimum_articles = 10     mark_as_read_after_dl = True  # Set this to False for testing     sort_method = 'newest'  # MUST be either 'oldest' or 'newest'     # To filter by tag this needs to be a single tag in quotes; IE 'calibre'     only_pull_tag = None     # You don't want to change anything under     no_stylesheets = True     use_em...

COMPATIBLE_MACHINE

COMPATIBLE_MACHINE = "ouya" require linux.inc DESCRIPTION = "Linux kernel for the Ouya" PR = "r1" # Bump MACHINE_KERNEL_PR in the machine config if you update the kernel. # This is on the rpi-patches branch #SRCREV = "523029f607564ab2080e83a3384feac4439b2b38" #3.6.9 #SRCREV = "95009dbb77849634cefea237dc952881406b0119" #3.6.11 #SRCREV = "b7153abdcb98a2ce2fcf74474f97fa9ffb2b0ba0" #3.6.11+ SRCREV = "daea9942a8b09b905d998ad3837479de8c5127b1" SRCREV = "00f7e2cba75c7762a9fe579d034692db082095e5" # https://github.com/ouya/ouya_1_1-kernel.git #SRC_URI = "git:// github.com/raspberrypi/linux.git;protocol=git;branch=rpi-i3.6.y SRC_URI = "git:// github.com/ouya/ouya_1_1-kernel.git;protocol=git;branch=master \         file://kern_kexec.patch\         file://kern_video.patch \         file://defconfig \ "           #       LINUX_VERSION ?= "3.1.10-ouya" #PV = "${LINUX_VERSION}+${PR}+git${SR...

showRecipe

function showRecipe(recipe) {   if (!recipe) {     return <p>Recipe not found!</p>;   }   return (     <div>       <h1>{recipe.title}</h1>       <p>{recipe.description}</h1>     </div>   ); } function UserProfile(props) {   return (     <div className="user-profile">       <img src={props.userProfile.picture} />       <p>{ props.userProfile.name }</p>     </div>   ); }

apps dependent

[buildout] parts = init develop = apps [init] recipe = zc.recipe.egg eggs =     argparse     MySQL-python     django==1.3     apps dependent-scripts = true interpreter = py

sample_data

import recipes from '../sample_data/recipes.json' class App extends Component {   constructor(props) {     super(props);     this.recipes = recipes.results;     this.arr = []     Object.keys(this.recipes).forEach(index => {       this.arr.push(this.recipes[index])     })     this.state = {       searchString: '',       filteredList: this.arr     };   }   handleFilter = (newFilteredList, newSearchString) => {     this.setState({filteredList: newFilteredList,  searchString: newSearchString });   }   render() {     return (       <div className="App">         <Navbar onChangeFilter={this.handleFilter} listOfRecipes={this.arr}/>         <div className="container mt-10">           <div className="row">               {this.state.filteredList.map((food, index) => <RecipeItem key={index} recipe={food} searchString={this.state.searchString}/>)}           </div>         </div>       </div>     ...

cornBread

<recipe name="cornBread" count="1" scrapable="False" craft_area="campfire" craft_tool="bowlWater"> <ingredient name="cornMeal" count="1"/> </recipe> <recipe name="cornOnTheCob" count="1" scrapable="False" craft_area="campfire" craft_tool="bowlWater"> <ingredient name="corn" count="1"/> </recipe> <recipe name="eggboiled" count="1" scrapable="False" craft_area="campfire" craft_tool="bowlWater"> <ingredient name="egg" count="1"/> </recipe> <recipe name="meatStew" count="1" scrapable="False" craft_area="campfire" craft_tool="cookingPot"> <ingredient name="rawMeat" count="1"/> <ingredient name="potato" count="1"/> <i...

python-software

$ sudo apt-get install python-software-properties git $ sudo apt-get install build-essential cmake g++ $ sudo apt-get install libboost-all-dev $ sudo apt-get install cmake-curses-gui $ sudo apt-get install gcc $ git clone https://github.com/m-schuetz/LAStools.git $ cd LAStools/LASzip $ mkdir build && cd build $ cmake -DCMAKE_BUILD_TYPE=Release .. $ make $ git clone https://github.com/potree/PotreeConverter.git $ cd PotreeConverter $ mkdir build && cd build   $ sudo cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=/home/opengeo/LAStools/LASzip/dll -DLASZIP_LIBRARY=/home/opengeo/LAStools/LASzip/build/src/liblaszip.so .. **$ sudo make && sudo make install** $ sudo ln -s ~/LAStools/LASzip/build/src/liblaszip.so /usr/lib $ PotreeConverter -h Scanning dependencies of target PotreeConverter  [  8%] Building CXX object PotreeConverter/CMakeFiles/PotreeConverter.dir/src/BINPointReader.cpp.o [ 16%] Building CXX object PotreeConverter/CMakeFiles/PotreeConverter...

/luarocks

[james]$ ./luarocks install cudnn Installing https://raw.githubusercontent.com/torch/rocks/master/cudnn-scm-1.rockspec. .. Using https://raw.githubusercontent.com/torch/rocks/master/cudnn-scm-1.rockspec. .. switching to 'build' mode Missing dependencies for cudnn: cutorch Using https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec. .. switching to 'build' mode Cloning into 'cutorch'... remote: Counting objects: 135, done. remote: Compressing objects: 100% (129/129), done. remote: Total 135 (delta 10), reused 66 (delta 4), pack-reused 0 Receiving objects: 100% (135/135), 186.56 KiB | 0 bytes/s, done. Resolving deltas: 100% (10/10), done. Checking connectivity... done. cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/local/pavels/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/local/pavels/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j...

angular.module

angular.module("recipeDetail").component("recipeSummary", {   templateUrl:     "modules/recipe-detail/recipe-summary/recipe-summary.template.html",   bindings: { recipe: "<" },   controller: function RecipeSummaryController() {} });       describe("recipeSummary ViewUnitTest", () => {   let scope;   let $compile;   beforeEach(module("recipeDetail"));   beforeEach(inject(($rootScope, _$compile_) => {     scope = $rootScope.$new();     $compile = _$compile_;   }));   it("should display the steps", () => {     scope.recipe = recipe;     let el = angular.element('<recipe-summary recipe="recipe"/>');     el = $compile(el)(scope);     scope.$digest();     expect(el[0].querySelectorAll("p").length).toBe(1); // to make sure this whole thing is working     expect(el[0].querySelectorAll(".recipe-summary-step").length).toBe(3);   }); });       Chrome 74.0.3729 (Mac OS X 10...

Hardened Clay Recipe

# Quark Hardened Clay Recipe furnace.addRecipe(<minecraft:hardened_clay>, <quark:hardened_clay_tiles>); furnace.addRecipe(<minecraft:hardened_clay>, <quark:stained_clay_tiles:*>); # Quark Redstone Lamp Recipe recipes.remove(<quark:lit_lamp>); recipes.addShapeless(<quark:lit_lamp>, [<minecraft:lever>, <minecraft:redstone_lamp>]); recipes.addShapeless(<minecraft:redstone_lamp>, [<minecraft:lever>, <quark:lit_lamp>]); # Chisel Tweaks var diamondChisel =  <chisel:chisel_diamond>.withTag({Unbreakable:1}); recipes.remove(<chisel:chisel_diamond>); recipes.addShaped(diamondChisel, [[null, <ore:gemDiamond>], [<ore:stickWood>, null]]); recipes.addShaped(<chisel:factory>*16, [[<ore:ingotAluminum>, <minecraft:stone>, <ore:ingotAluminum>], [<minecraft:stone>, null, <minecraft:stone>], [<ore:ingotAluminum>, <minecraft:stone>, <ore:ingotAluminum>]]); # Remove...

Minecraft Crash Report

java.lang.IllegalArgumentException: Could not get provider type for dimension 2, does not exist at net.minecraftforge.common.DimensionManager.getProviderType(DimensionManager.java:148) at net.minecraftforge.common.DimensionManager.createProviderFor(DimensionManager.java:302) at net.minecraft.world.WorldProvider.func_76570_a(WorldProvider.java:160) at net.minecraft.client.multiplayer.WorldClient.<init>(WorldClient.java:54) at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:238) at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70) at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13) at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:78) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1661) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973) ...

parts44Magnum_frame

<recipe name="parts44Magnum_frame" count="1" craft_area="forge" material_based="true"> <ingredient name="unit_iron" count="20"/> <ingredient name="unit_clay" count="10"/> </recipe> <recipe name="parts44Magnum_cylinder" count="1" craft_area="forge" material_based="true"> <ingredient name="unit_iron" count="10"/> <ingredient name="unit_clay" count="5"/> </recipe> <recipe name="parts44Magnum_parts" count="1" craft_area="workbench"> <ingredient name="forgedSteel" count="2"/> <ingredient name="spring" count="2"> <ingredient name="oil" count="1"> </recipe> <recipe name="parts44Magnum_grip" count="1" craft_area="workbench"> ...

Boiled Fish

<recipe name="Boiled Fish" count="1" scrapable="False" craft_area="campfire" craft_tool="cookingPot" >         <ingredient name="Raw Fish" count="1"/>         <ingredient name="bottledWater" count="1"/>     </recipe>     <recipe name="Fish Stew" count="1" scrapable="False" craft_area="campfire" craft_tool="cookingPot" >         <ingredient name="bottledWater" count="1"/>         <ingredient name="Raw Fish" count="1"/>         <ingredient name="potato" count="1"/>         <ingredient name="corn" count="1"/>     </recipe>     <recipe name="Grilled Fish" count="1" scrapable="False" craft_area="campfire" craft_tool="cookingGrill" >         <ingredient name...

VfrCompile

make -C VfrCompile make[4]: Entering directory '/home/jja2000/gitzooi/coreboot-4.8.1/payloads/external/tianocore/tianocore/BaseTools/Source/C/VfrCompile' g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2 -Wno-unused-result VfrUtilityLib.cpp -o VfrUtilityLib.o VfrUtilityLib.cpp: In member function 'CHAR8* CVfrStringDB::GetVarStoreNameFormStringId(EFI_STRING_ID)': VfrUtilityLib.cpp:3375:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]    if (mStringFileName == '\0' ) {                           ^~~~ ../Makefiles/footer.makefile:30: recipe for target 'VfrUtilityLib.o' failed make[4]: *** [VfrUtilityLib.o] Error 1 make[4]: Leaving directory '/home/jja2000/gitzooi/coreboot-4.8.1/payloads/external/tianocore/tianocore/BaseTools/Source/C/VfrCompile' GNUmakefile:79: recipe for target 'VfrCompile' failed make[3]: *** [VfrCompile...

Vanilla Recipes

<!-- Expanded Vanilla Recipes --> <recipe name="woodCross" count="1" scrapable="False"> <ingredient name="wood" count="10"/> </recipe> <recipe name="woodCrossCtr" count="1" scrapable="False"> <ingredient name="wood" count="10"/> </recipe> <recipe name="woodStairsBoard" count="1" scrapable="False"> <ingredient name="wood" count="10"/> </recipe> <recipe name="burningBarrel" count="1" scrapable="False"> <ingredient name="scrapIron" count="10"/> <ingredient name="wood" count="10"/> </recipe> <recipe name="Carpet1WoodPainted2Block" count="1" scrapable="False" > <ingredient name="woodFrameBlock" count="1"/> </recipe> ...

xiaomi

FAILED: TARGET_KERNEL_BINARIES /bin/bash -c "(rm -rf /home/jarjar669/aosp-o/out/target/product/land/system/vendor/lib/modules ) && (mkdir -p /home/jarjar669/aosp-o/out/target/product/land/system/vendor/lib/modules ) && (rm -rf /home/jarjar669/aosp-o/out/target/product/land/obj/PACKAGING/depmod_vendor_intermediates ) && (make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/msm8937 O=/home/jarjar669/aosp-o/out/target/product/land/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /home/jarjar669/aosp-o/prebuilts/gcc/linux-x86/aarch64/aarch64-8.0/bin/aarch64-linux-android-\"   Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/jarjar669/aosp-o/out/target/product/land/obj/KERNEL_OBJ/.config; then                    echo \"Building DTBs\";                         make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/msm8937 O=/home/jarjar669/aosp-o/out/target/product/land/obj/KERNEL_OBJ ARCH=a...

regRecipes

function regRecipes(b: boolean): reset all recipes loop 3 times: register new shapeless recipe for glistering melon named "&fGlistering Melon" using air, air, air, melon slice, gold block, air, air, air, air register new shaped recipe for golden apple item named "&6Golden Head" using gold ingot, gold ingot, gold ingot, gold ingot, player head, gold ingot, gold ingot, gold ingot, gold ingot if {features.darrow} is true: register new shaped recipe for 8 arrows using air, flint, air, air, stick, air, air, feather, air register new shaped recipe for 8 arrows using flint, air, air, stick, air, air, feather, air, air register new shaped recipe for 8 arrows using air, air, flint, air, air, stick, air, air, feather on skript load: command "/difficulty hard" regRecipes(true)

java.util.Objects.requireNonNull

[23:06:55] [main/ERROR] [jei]: Found a broken recipe: frogcraftrebirth.common.lib.AdvChemRecRecipe@de8b927 Failed to get ingredients from recipe wrapper java.lang.NullPointerException: Null string not allowed at java.util.Objects.requireNonNull(Unknown Source) ~[?:1.8.0_171] at net.minecraft.nbt.NBTTagString.<init>(NBTTagString.java:19) ~[gm.class:?] at net.minecraft.nbt.NBTTagCompound.func_74778_a(NBTTagCompound.java:137) ~[fy.class:?] at net.minecraftforge.fluids.FluidStack.writeToNBT(FluidStack.java:108) ~[FluidStack.class:?] at net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack.setFluid(FluidHandlerItemStack.java:89) ~[FluidHandlerItemStack.class:?] at net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack.fill(FluidHandlerItemStack.java:116) ~[FluidHandlerItemStack.class:?] at frogcraftrebirth.common.lib.recipes.FrogRecipeInputUniversalFluidCell.getActualInputs(FrogRecipeInputUniversalFluidCell.java:101) ~[FrogRecipeInputUniversalFluidC...