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
use Illuminate\Support\Facades\Schema; | |
public function boot() | |
{ | |
Schema::defaultStringLength(191); | |
} |
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
SELECT * | |
FROM ItemsEntity where item_id=1 | |
FOR JSON AUTO |
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
public class Dependant | |
{ | |
public string id_number { get; set; } | |
public string relationship { get; set; } | |
public string last_name { get; set; } | |
public string first_name { get; set; } | |
public string gender { get; set; } | |
public string birthdate { get; set; } | |
public string photo { get; set; } | |
} |
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
//Hoisting | |
y = 80; // Assign 5 to x | |
x=y+5 // sum up 5 with the value of y | |
var y; // Declare y | |
//JavaScript only hoists declarations, not initializations. | |
var name = "Abel"; |
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
<div class="artlist artlist-grid artlist-6-cols artlist-boxed artlist-homepage-categories"> | |
<div class="heading heading-center"> | |
<h3 class="heading-title fs-h1">Promotions</h3> | |
</div> | |
@foreach (var item_cat in Item_Categories) | |
{ | |
var image_url = "/images/"; | |
var img = image_url + item_cat.item_group_id + ".png"; | |
<article class="art" data-id="183"> | |
<div class="art-picture-block"> |
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
public int UpdateCartCount(int? id, int cartCount) | |
{ | |
// Get the cart | |
var cartItem = db.CartItem.Single( | |
cart => cart.cart_id == ShoppingCartId | |
&& cart.item_id == id); | |
int itemCount = 0; | |
//get Promos | |
var promos = db.Promotions.Single(promo=>promo.Buy_ItemId==id); |
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
import createBrowserHistory from 'history/createBrowserHistory' | |
import queryString from 'query-string'; | |
const history = createBrowserHistory(); | |
history.location.query = queryString.parse(history.location.search); | |
history.listen(() => { | |
history.location.query = queryString.parse(history.location.search); | |
}); |
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
The error message means that some other program has created A-C-arrow hotkeys which blocks VW from using them. There are two changes I can think of that could explain this change in behaviour: | |
1) The default bindings have changed from WIN-arrow (i.e. WIN-up) to A-C-up, which did you use? If you used (and want to continue to use) WIN-up then simply redefine the bindings and it should work as before. | |
2) VrituaWin's startup process changed and is a more delayed, spread out process - insignificant in human terms but required for Win7 as it creates other things like the taskbar in a different order. In theory this would allow another program to steal the bindings, i.e. you always had a conflict but in previous versions, VW won and the other program did not complain like VW does. | |
So can you please look at all other software you are running and check for any that also use hotkeys (I know that some graphics drivers use these hotkeys for rotating the screen). | |
The actual hotkey creation and binding process has not chan |
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
<!DOCTYPE html>" | |
+ "<html>" | |
+ "<head>" | |
+ "<meta http-equiv='Content-Type' content='text/html;charset=utf-8'/>" | |
+ "<meta name='viewport' content='width=device-width,initial-scale=1'>" | |
+ "<meta http-equiv='X-UA-Compatible' content='IE=edge'/>" | |
+ "<title>Saleslife-Commerce</title>" | |
+ "<body style='margin: 0 !important;padding:0 !important;background-color:#eeeeee;' bgcolor='#eeeeee'>" | |
+ "<div style='display:none;font-size:1px;color:#fefefe;line-height:1px;font-family:Open Sans,Helvetica,Arial,sans-serif;max-height:0px;max-width:0px;opacity:0;overflow:hidden;'>" | |
+ "It was really a pleasure doing business with you!Thank you for choosing us!</div>" |
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
<ul class="navbar-nav flex-row flex-nowrap" | |
data-selected-menu-item="128" | |
data-current-category-id="128" | |
data-current-product-id="0" | |
data-current-manufacturer-id="0"> | |
<li class='nav-item selected' id="main-nav-item-183" data-id="183"> | |
<a href="@Html.ActionLink("Index","Home")" class="nav-link"> | |
Pwani Life -All Brands | |
</a> | |
@Html.ActionLink("Pwani Life-All Brands","Index","Home",null, new { @class= "nav-link" }) |