This file contains hidden or 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 OnPressCraftButton(button) | |
| if not LOCAL_PLAYER.clientUserData.currentlyCrafting and SpamPrevent(itemRecipe.craftTime) and craftButton == button then | |
| CraftProgress.progress = 0 | |
| craftingCount = 0 | |
| currentHealth = LOCAL_PLAYER.hitPoints | |
| craftingTimer = itemRecipe.craftTime or 1 | |
| -- Send a crafting event to the server which checks the player's inventory for | |
| ingredientsPanel.visibility = Visibility.FORCE_OFF | |
| CraftProgress.visibility = Visibility.FORCE_ON | |
| LOCAL_PLAYER.clientUserData.currentlyCrafting = true |
This file contains hidden or 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
| GPU=1 | |
| CUDNN=0 | |
| OPENCV=1 | |
| OPENMP=0 | |
| DEBUG=0 | |
| #ARCH= -gencode arch=compute_30,code=sm_30 \ | |
| -gencode arch=compute_35,code=sm_35 \ | |
| -gencode arch=compute_50,code=[sm_50,compute_50] \ | |
| -gencode arch=compute_52,code=[sm_52,compute_52] |
This file contains hidden or 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
| <?xml version='1.0' encoding='utf-8'?> | |
| <!-- | |
| This file is part of Apache Cordova Barcode Scanner Plugin for Cipherlab RS30, | |
| which shall be referred to as "the Software" | |
| The Software is authored by Michael Ribbons who shall be referred to as "the Author". | |
| The MDR License (MDR) | |
| Copyright (c) 2015 Michael Ribbons | |
| Use of the Software is granted on a case by case basis. |
This file contains hidden or 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 com.example.readersample; | |
| import com.cipherlab.barcode.*; | |
| import com.cipherlab.barcode.decoder.*; | |
| import com.cipherlab.barcode.decoderparams.*; | |
| import com.cipherlab.barcodebase.*; | |
| import android.app.Activity; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; |
This file contains hidden or 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
| gem install spree_cmd | |
| rails new _3.2.13_ my_store | |
| cd my_store | |
| spree_cmd . -A | |
| Process fails with gem deps issues during bundle install "." | |
| Modify Gemfile, | |
| change gem "spree" to |
This file contains hidden or 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
| context "create order" do | |
| current_api_user = Spree.user_class.new(:email => "spree@example.com") | |
| #current_api_user.email = | |
| current_api_user.generate_spree_api_key! | |
| #current_api_user.save | |
| puts "User: #{current_api_user.inspect}" | |
| it "can create an order" do |
NewerOlder