remove-item alias:basename
remove-item alias:cat
remove-item alias:chmod
remove-item alias:comm
remove-item alias:cp
remove-item alias:cut
remove-item alias:date
remove-item alias:dirname
remove-item alias:echo
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 * as moment from "moment-timezone"; | |
/** | |
* @description | |
* @param {Date | string | moment} date Date to transform. | |
* @param {string} originTZ Timezone in which the date to transform is currently. I.E. "UTC". Defaults to client PC TZ. | |
* @param {string} destinationTZ Timezone to which to convert the date. I.E. "America/Los Angeles". Defaults to "UTC". | |
* @return {string} Date converted to destination timezone in string. | |
* | |
*/ |
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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": "closePane", |
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 javax.swing.JFrame; | |
import javax.swing.JPanel; | |
class Main { | |
private static final String TITLE = "My Game"; | |
private static final int[] DIMENSIONS = {800, 600}; | |
public static void main(String s[]) { | |
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 logging | |
import random | |
ENTER_HIGHEST_VALUE = "What would you like the highest value to be?" | |
NUMBER_NOT_VALID = "That is not a number. :(" | |
NUMBER_NOT_IN_RANGE = "I don't know how to play with negative numbers. Sorry... :(" | |
NUMBER_CANNOT_BE_HIGHER_THAN = "Sorry, but the guess cannot be higher than the highest number:" | |
ENTER_GUESS = "Guess the number. :)" | |
TRY_AGAIN = "Try again." | |
HIGHER = "My number is higher!" |
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 logging | |
import random | |
ENTER_HIGHEST_VALUE = "What would you like the highest value to be?" | |
NUMBER_NOT_VALID = "That is not a number. :(" | |
NUMBER_NOT_IN_RANGE = "I don't know how to play with negative numbers. Sorry... :(" | |
NUMBER_CANNOT_BE_HIGHER_THAN = "Sorry, but the guess cannot be higher than the highest number:" | |
ENTER_GUESS = "Guess the number. :)" | |
TRY_AGAIN = "Try again." | |
HIGHER = "My number is higher!" |
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 logging | |
import random | |
ENTER_HIGHEST_VALUE = "What would you like the highest value to be?" | |
NUMBER_NOT_VALID = "That is not a number. :(" | |
NUMBER_NOT_IN_RANGE = "I don't know how to play with negative numbers. Sorry... :(" | |
NUMBER_CANNOT_BE_HIGHER_THAN = "Sorry, but the guess cannot be higher than the highest number:" | |
ENTER_GUESS = "Guess the number. :)" | |
TRY_AGAIN = "Try again." | |
HIGHER = "My number is higher!" |
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
try | |
{ | |
} | |
catch(e) | |
{ | |
var error = "http://stackoverflow.com/search?q=[js]+"+e.message; | |
window.open(error, '_blank'); | |
} |
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
RECIBIR.php | |
<?php | |
$puerto="/dev/ttyACM0"; | |
if(isset($_GET["codigo"])) | |
{ | |
$codigo = $_GET["codigo"]; | |
if($codigo == 2) | |
{ | |
$conexion = fopen($puerto, "w+"); |
NewerOlder