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
ZPA_DROP_DIR=b:\Dropbox\x\_drop |
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
##LXDE (Lightweight X11 Desktop Environment) | |
#LXDE is an incredibly lightweight Linux desktop environment, | |
#which focuses on high performances but using fewer resources. | |
#It does not need any hardware acceleration, rather it can be run on a very old machine. | |
#It’s very fast, customizable, and takes less memory. | |
#Run the following code in Terminal. | |
# Thanks to : https://www.ubuntupit.com/best-linux-desktop-environment-reviewed-and-compared/ | |
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
/** | |
* @stcgoal That Analogical inputs are reliable in the value when we apply logical conditionning on them. #MSE | |
* This threat the Analog input of a pin and return an optimal number we can use | |
* @param int data to threat from analog read | |
* @return Optimally made int that should be constant | |
* @cr Analog input is variable and unprecise | |
*/ |
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
var o = new Object(); | |
o.name = "myname in object"; | |
o.note = "a value we wont care about"; | |
o.description = "my description"; | |
var { description, name } = o; // Trying to destruct only with prop name to see if that can be done (It would be implied too :) ) |
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
// Imports the Google Cloud client library | |
const language = require('@google-cloud/language'); | |
// Instantiates a client | |
const client = new language.LanguageServiceClient(); | |
// The text to analyze | |
const text = 'Afelia stopped working and is crashed!'; | |
const document = { |
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
import RPi.GPIO as GPIO | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(17, GPIO.IN) | |
if GPIO.input(17): | |
print("Pin 11 is HIGH") | |
else: | |
print("Pin 11 is LOW") |
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
var str = "Hello World!"; | |
var res = str.toLowerCase(); |
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
//@stcgoal A String is encoded for URL usage | |
var uri = "pattern to encode ?eouoeue=342342&ueuoeu=oeuoeu"; | |
var res = encodeURI(uri); | |
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
#!/bin/bash | |
# @stcgoal A Content is posted in the Command Line | |
# @v A Content is posted to the APPRouting as plain text or JSON from the HOOKING made on mydomain.com/svn | |
curl --header "Content-Type: application/json" \ | |
--request POST \ | |
--data '{"username":"xyz","password":"xyz"}' \ | |
http://mydomain.com:3000/myrouting |