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
$.on('click','.dinamic .add',function(e){ | |
/* Elementos dinamicos. Solo es necesario agregar las clases dinamic, add y remove, | |
como se muestra en el ejemplo a continuacion: | |
<div class="dinamic">(contenedor) | |
<div>(elemento inicial) | |
<input/> | |
<button type="button" class="add">agregar</button> | |
</div> | |
<script class="template" type="text/x-jquery-tmpl">(plantilla de nuevo elemento) | |
<div> |
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
<?php | |
/* | |
* simple HttpRequest example using PHP | |
* tom slankard | |
*/ | |
class HttpRequest { | |
public $url = null; |
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
Banco: | |
<select name="banco"> | |
<option value=""></option> | |
<option value="0156">100%BANCO</option> | |
<option value="0196">ABN AMRO BANK</option> | |
<option value="0172">BANCAMIGA BANCO MICROFINANCIERO, C.A.</option> | |
<option value="0171">BANCO ACTIVO BANCO COMERCIAL, C.A.</option> | |
<option value="0166">BANCO AGRICOLA</option> | |
<option value="0175">BANCO BICENTENARIO</option> | |
<option value="0128">BANCO CARONI, C.A. BANCO UNIVERSAL</option> |
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
{"lastUpload":"2020-05-06T02:00:37.303Z","extensionVersion":"v3.4.3"} |
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
getWeeksInMonth(year: number, month: number) { | |
const weeks = []; | |
const firstDay: Date = new Date(year, month, 1); | |
const lastDay: Date = new Date(year, month + 1, 0); | |
const daysInMonth: number = lastDay.getDate(); | |
let dayOfWeek: number = firstDay.getDay(); | |
let start: number; | |
let end: number; |
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 | |
cd "$(dirname "$0")" | |
ROOT_DIR="$(pwd)" | |
FINAL_APK="${FINAL_APK:-$ROOT_DIR/android-release-$(date +%Y%m%d-%H%M).apk}" | |
KEYSTORE="${KEYSTORE:-$ROOT_DIR/android-release.keystore}" | |
if test ! -e "$KEYSTORE"; then | |
echo "ERROR: Keystore file $KEYSTORE not found." |
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
/** | |
* BitMEX JAZZ BEEP | |
* | |
* Aural indication of XBTUSD price movements via BitMEX websocket realtime-trade data. | |
* Uses the blues scale to add some funk to your trading. | |
* | |
*/ | |
var options = { |
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
/** | |
* @description | |
* Takes an Array<V>, and a grouping function, | |
* and returns a Map of the array grouped by the grouping function. | |
* | |
* @param list An array of type V. | |
* @param keyGetter A Function that takes the the Array type V as an input, and returns a value of type K. | |
* K is generally intended to be a property key of V. | |
* | |
* @returns Map of the array grouped by the grouping function. |

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
Dump extensions: | |
code --list-extensions > extensions_list.txt | |
Install extensions with Bash (Linux, OS X and WSL): | |
cat extensions_list.txt | xargs code --list-extensions {} | |
Install extensions on Windows with PowerShell: | |
cat extensions_list.txt |% { code --install-extension $_} |
OlderNewer