Skip to content

Instantly share code, notes, and snippets.

View pareshchouhan's full-sized avatar
🎯
Focusing

Paresh Chouhan pareshchouhan

🎯
Focusing
View GitHub Profile
[playerService] [pserv.remove] Removed Player :{"uid":"TEST_53","sid":"_GkAWm8HO5wZonu3AAAA","token":"b76d577a3df899f8c
59405af38fe0210f4c4f41","tableIndex":null,"canPlay":true,"hasFolded":false,"hand":null,"isActive":false,"playerCards":[
,"totalCards":[],"playerData":{}}
[gameNetworking] [io.on.connection] Got a hit!
[gameNetworking] [socket.on.join] checking token
{"uid":"TEST_29","token":"b76d577a3df899f8cb59405af38fe0210f4c4f41"}
[playerService] [pserv.add] Verifying token of client ...
[playerService] [pserv.add] Token Verified
[player] [player.player] Registering Player
[ { uid: 'TEST_29',
gyp ERR! configure error
gyp ERR! stack Error: Command failed: ImportError: No module named site
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:648:15)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at maybeClose (child_process.js:756:16)
gyp ERR! stack at Socket.<anonymous> (child_process.js:969:11)
gyp ERR! stack at Socket.emit (events.js:95:17)
gyp ERR! stack at Pipe.close (net.js:465:12)
gyp ERR! System Windows_NT 6.2.9200
H:\SteamDev\Raijin\node_modules\steam\node_modules\protobuf>node "C:\Program Fil
es\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\nod
e-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:1001:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:792:
34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
H:\SteamDev\Raijin\node_modules\steam\node_modules\protobuf>node "C:\Program Fil
es\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\nod
e-gyp.js" rebuild
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node
-gyp\\bin\\node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
https://docs.angularjs.org/error/$injector/modulerr?p0=Bets4You&p1=Error:%20%5B$injector:unpr%5D%20http:%2F%2Ferrors.angularjs.org%2F1.3.0-rc.4%2F$injector%2Funpr%3Fp0%3D%2524routeProvider%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:6:421%0A%20%20%20%20at%20http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:37:408%0A%20%20%20%20at%20d%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:35:430)%0A%20%20%20%20at%20Object.e%20%5Bas%20invoke%5D%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:36:185)%0A%20%20%20%20at%20d%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:34:396)%0A%20%20%20%20at%20http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:35:19%0A%20%20%20%20at%20q%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:7:298)%0A%20%20%20%20at%20f%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:34:297)%0A%20%20%20%20at%20Gb%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:38:12
var bets4you = angular.module('Bets4You', []);
bets4you.value('appName', 'Bets4You');
bets4you.config(['$routeProvider', function($routeProvider) {
// Configure existing providers
$routeProvider
.when('/', {templateUrl: 'partials/home.html',
controller: 'HomePageCtrl'
});
<html ng-app="Bets4You">
<head>
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Bets4You</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="css/style.css">
@echo off
cls
echo oAo Server Restarter.
echo If you want to close srcds press ctrl + c twice.
title oAo watchd0g
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game csgo +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
var bets4you = angular.module('bets4you', ["ngRoute"]);
bets4you.value('appName', 'Bets4You');
bets4you.config(['$routeProvider', function($routeProvider) {
// Configure existing providers
$routeProvider
.when('/', {templateUrl: 'index.html',
controller : 'NavBarController',
function NavBarController($scope,$routeParams) {
this.activeTab = 1;
this.loggedIn = false;
this.setLoggedInState = function(loginState) {
if(loginState == 1) {
this.loggedIn = true;
}
else {