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
#!/bin/bash | |
# rm /home/hackerman/TecMul/TM/*.txt #Cambiar ruta por la que contenga los txt #Change route containing the txt | |
cd ~/p2psp-console/bin/ #Cambiar ruta por la que tenga el p2psp-console #Change path for the p2psp-console | |
#clear | |
#echo -e "\n\nKilling All VLC\n\n" | |
#killall Vlc | |
while getopts "a:" opt; do |
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
import createIsPristine from './isPristine'; | |
var createIsDirty = function createIsDirty(structure) { | |
return function (form, getFormState) { | |
var isPristine = createIsPristine(structure)(form, getFormState); | |
return function (state) { | |
return !isPristine(state); | |
}; | |
}; |
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
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | |
import createIsPristine from './isPristine'; | |
var createIsDirty = function createIsDirty(structure) { | |
return function (form, getFormState) { | |
var isPristine = createIsPristine(structure)(form, getFormState); | |
return function (state) { | |
for (var _len = arguments.length, fields = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { |
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
var createIsPristine = function createIsPristine(_ref) { | |
var deepEqual = _ref.deepEqual, | |
empty = _ref.empty, | |
getIn = _ref.getIn; | |
return function (form, getFormState) { | |
return function (state) { | |
var nonNullGetFormState = getFormState || function (state) { | |
return getIn(state, 'form'); | |
}; | |
var formState = nonNullGetFormState(state); |
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
var createIsPristine = function createIsPristine(_ref) { | |
var deepEqual = _ref.deepEqual, | |
empty = _ref.empty, | |
getIn = _ref.getIn; | |
return function (form, getFormState) { | |
return function (state) { | |
for (var _len = arguments.length, fields = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | |
fields[_key - 1] = arguments[_key]; | |
} |
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
#!/usr/bin/env node | |
const readline = require('readline').createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
// usage represents the help guide | |
function usage() { | |
const usageText = ` | |
Tic Tac Toe application |
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
function BlackjackHighest(strArr) { | |
cardValues = { | |
"two": {"value": 2, "order": 2}, | |
"three": {"value": 3, "order": 3}, | |
"four": {"value": 4, "order": 4}, | |
"five": {"value": 5, "order": 5}, | |
"six": {"value": 6, "order": 6}, | |
"seven": {"value": 7, "order": 7}, | |
"eight": {"value": 8, "order": 8}, | |
"nine": {"value": 9, "order": 9}, |
OlderNewer