This file contains 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
curl 'https://api.valleysound.xyz/service-user/user/walletConnect/connectPush' \ | |
-H 'Accept: application/json, text/plain, */*' \ | |
-H 'Accept-Language: en-US,en;q=0.9' \ | |
-H 'Authorization: eyJraWQiOiJiaXl0UG1lNzRxTnQ3Z3BHQ2hGakZcL01HQm9KcVBVT3dWQkRCZEVtRnNVST0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI3ZjM5ODI3My1iOWI1LTRkYjQtODMwYy1iZWIxYWFjNDAwM2YiLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuYXAtc291dGhlYXN0LTEuYW1hem9uYXdzLmNvbVwvYXAtc291dGhlYXN0LTFfNGRxUVdOTU4yIiwiY2xpZW50X2lkIjoiNWowOGQ0dWNwZ2U3MDNzZmczY2F1OGNrNjQiLCJvcmlnaW5fanRpIjoiMWMyNTdjMTctNzJlMi00MWRhLTlmZGUtNzkwZTk3NmRjYmUyIiwiZXZlbnRfaWQiOiJkMGEwM2M4MC1lMmM5LTQ3YmYtOTljZi01MThjNzYzMzE3ZTMiLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6ImF3cy5jb2duaXRvLnNpZ25pbi51c2VyLmFkbWluIiwiYXV0aF90aW1lIjoxNjgwNzU1NjEwLCJleHAiOjE2ODA4NDIwMDksImlhdCI6MTY4MDc1NTYxMCwianRpIjoiNzAxMTVkMGEtZWI2NS00ZGQxLWExZjMtYzcxMzg5MDVmODg0IiwidXNlcm5hbWUiOiJiY2ViYTI4Njg4ZjliMWRhIn0.Wyp0-ER8jqMzSlvRQpOevOUXwaQHybJq_uHgypR5VNftDVIfHJFjG5ReBMslgXuvUF6Q6MVLjm5cUsT63w7xQJj4_aRFhJ5X7-MA82B9BhUOCHTD |
This file contains 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
b() { | |
case "$1" in | |
"app") | |
cd /c/src/Viagogo.Site && ./bin/build.bat | |
;; | |
"js") | |
cd /c/src/Viagogo.Site/Viagogo.Site.Script && gulp scripts | |
;; | |
"less") | |
cd /c/src/Viagogo.Site/Viagogo.Site && gulp styles:local |
This file contains 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
# | |
# Sample configuration file for the Samba suite for Debian GNU/Linux. | |
# | |
# | |
# This is the main Samba configuration file. You should read the | |
# smb.conf(5) manual page in order to understand the options listed | |
# here. Samba has a huge number of configurable options most of which | |
# are not shown in this example | |
# | |
# Some options that are often worth tuning have been included as |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-rc1/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.1/pako.min.js"></script> | |
</head> | |
<body> | |
<form id="my-form"> | |
<input type="file" name="file"> |
This file contains 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
/* | |
* -------------------------------------------------------------------------------------------- | |
* what's in the console, and explian what happened (async programming) | |
* -------------------------------------------------------------------------------------------- | |
*/ | |
console.log("New york"); | |
setTimeout(function(){console.log("Vienne");}, 1000); | |
setTimeout(function(){console.log("London");}); | |
console.log("Ottawa"); |
This file contains 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 factorial(num) { | |
if(num <= 1) return num; | |
return num * factorial(--num); | |
} | |
function factorialSmart(num) { | |
function factorial(acc, num) { | |
if(num <=1) return acc; | |
return function() { return factorial(acc * num, --num); } | |
} |