Skip to content

Instantly share code, notes, and snippets.

View jpaucar's full-sized avatar
🏠
Working from home

José Paucar jpaucar

🏠
Working from home
  • SEVENMEDIA
  • Ecuador
View GitHub Profile
@Klerith
Klerith / instalaciones-angular-adv.md
Last active July 23, 2024 19:00
Instalaciones recomendadas para el curso Avanzado de Angular
@Klerith
Klerith / plugins.md
Last active August 21, 2024 13:56
Lista de plugins que uso en VSC
@jpaucar
jpaucar / xampp_php7_xdebug.md
Created October 2, 2018 06:35 — forked from odan/xampp_php7_xdebug.md
Installing Xdebug for XAMPP

Installing Xdebug for XAMPP with PHP 7.x

Requirements

Setup

@willianmano
willianmano / mydashboard.php
Created March 23, 2018 19:54
Moove without moodledata calculation
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
{
"1": {
"provincia": "AZUAY",
"cantones": {
"101": {
"canton": "CUENCA",
"parroquias": {
"10101": "BELLAVISTA",
"10102": "CAÑARIBAMBA",
"10103": "EL BATÁN",
var app = angular.module('printModal', ['ui.bootstrap']);
app.directive('printModal', ['$window', function($window) {
return function(scope, element, attrs) {
var printMe = function() {
document.getElementById('main-content').style.visibility = 'hidden';
$window.print();
document.getElementById('main-content').style.visibility = 'visible';
}
element.bind('click', printMe);
@oscarvs
oscarvs / forex_killzones
Last active April 4, 2023 14:59
Forex Kill Zones
// Created by https://www.tradingview.com/u/oscarvs @ 19 October 2014 | @theoscarvs
// Inspired by @ICT_MHuddleston concepts, code based on @ChrisMoody scripts
// https://github.com/oscarvs/forex-killzones
// Time sessions are directly sync from exchange/tv data (Change manually if you need to adjust DST Daylight saving time)
study(title="Forex Kill Zones v1 [oscarvs]",shorttitle="Forex Kill Zones v1", overlay=true)
timeinrange(res, sess) => time(res, sess) != 0
// **** Checkboxes and custom Session
iKZNY = input(true, title="New York Kill Zone")
@oscarvs
oscarvs / Bitcoin_KillZones
Last active July 2, 2020 21:22
PineScript "Bitcoin Kill Zones" for TradingView.com
// Created by https://www.tradingview.com/u/oscarvs @ 18 October 2014 | @theoscarvs
// Inspired by @ICT_MHuddleston concepts and @CRInvestor courses, code based on @ChrisMoody scripts
// https://github.com/oscarvs/bitcoin-killzones
// Time sessions are directly sync from exchange/tv data (Change manually if you need to adjust DST Daylight saving time)
study(title="Bitcoin Kill Zones v2 [oscarvs]",shorttitle="Bitcoin Kill Zones v2", overlay=true)
timeinrange(res, sess) => time(res, sess) != 0
// **** Checkboxes and custom Session
iKZNY = input(true, title="New York Kill Zone")
@DavidWells
DavidWells / add-wordpress-settings-page.php
Created January 28, 2013 05:59
WordPress :: Add Settings Page with All Fields
<?php
/*
Plugin Name: Homepage Settings for BigBang
Plugin URI: http://www.inboundnow.com/
Description: Adds additional functionality to the big bang theme.
Author: David Wells
Author URI: http://www.inboundnow.com
*/
// Specify Hooks/Filters