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
// Hi IT Team | |
// Thanks a lot for taking this case | |
// Calling generateListenKey this get 404 not found error | |
// If I tried https://satangcorp.com/api/v3/userDataStream (no S) I will get 401 Unauthorised error | |
// I also tried adding TDAX-API but didn't work as well | |
// There's no difference when I used apiSecret in plase of apiKey | |
// I made sure 'Read User Data Stream' option is enable for this apiKey | |
// Would be great if you can share how to do this correctly and how to extend key live since that one has a different security protocol |
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
You can setup VS code to directly access your source code on server through ssh | |
It's super convenient | |
You can also do anything on server through VS code's terminal |
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
---------------------------------- | |
Domain Parking for IONOS Server | |
---------------------------------- | |
- Go to domain & ssl section | |
- Add external domain | |
- Use Godaddy's name servers | |
- Add verify record on GoDaddy | |
- Add A record on GoDaddy linking to the server IP | |
* Changing DNS Records takes some time to update depending on TTL |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class SpinAround : MonoBehaviour | |
{ | |
public float rotX, rotY, rotZ; | |
public float moveScale; | |
public Vector3 changeSpeed = Vector3.one; | |
private Rigidbody rb; |
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
{ | |
"nodes": [ | |
{ | |
"id": "A", | |
"group": 1 | |
}, | |
{ | |
"id": "B", | |
"group": 1 | |
}, |
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
mysql --host=[HOST_IP_OR_DOMAIN] --user=[USERNAME] --password |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
//this script colaborates to the tutorial | |
//https://www.youtube.com/watch?v=pK1CbnE2VsI | |
public class MouseDrag : MonoBehaviour { | |
float distance = 10; |
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
// .. includes | |
void scanValues(int* a, int* b) | |
{ | |
//use scanf to get 2 input integers into address a and b | |
} | |
void conditionalSwap(int* a, int* b) | |
{ | |
//swap the values if the value in a is bigger than b's |
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
// ... includes | |
void scanValues(int* a, int* b, int* c) | |
{ | |
} | |
void sort(int* a, int* b, int* c) | |
{ | |
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
// ... includes | |
void scanFloat(float* f) | |
{ | |
//scan a float value from console to the given address | |
} | |
void calculate(float r, float* perimeter, float* area) | |
{ | |
//calculate the results based on the given r and put them into the specified addresses |
NewerOlder