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
$('#bid-area').hide(); | |
loadJavascript('scripts/jquery.signalR-2.2.2.min.js', () => { | |
loadJavascript('signalr/hubs', () => { | |
fetchProduct(); | |
getActivePoints(); | |
getNumberOfBids(); | |
getBidRanking(); | |
}); | |
}); |
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
- | |
github: luizs81 | |
slack: luiz |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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
#!/bin/sh | |
# size of swapfile in megabytes | |
swapsize=8000 | |
# does the swap file already exist? | |
grep -q "swapfile" /etc/fstab | |
# if not then create it | |
if [ $? -ne 0 ]; then |
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
Sub MergeCSV() | |
'Author: Jerry Beaucaire | |
'Date: 8/16/2010 | |
'Summary: Import all CSV files from a folder into separate sheets | |
' named for the CSV filenames | |
'Update: 2/8/2013 Macro replaces existing sheets if they already exist in master workbook | |
Dim fpath As String | |
Dim fCSV As String | |
Dim wbCSV As Workbook | |
Dim wbMST As Workbook |
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
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
if ( ! function_exists('format_yen')) | |
{ | |
/** | |
* Returns a number in Japanese currency format | |
* @param float $value The number to be formated | |
* @param string $symbol_position Define if should use the pre or post aligned kanji | |
* @param string $decimal Define what to do with decimal part of number | |
* @return boolean|string Returns the formated number or FALSE in case of error. |