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
| -- phpMyAdmin SQL Dump | |
| -- version 3.5.2 | |
| -- http://www.phpmyadmin.net | |
| -- | |
| -- Servidor: localhost | |
| -- Tiempo de generación: 22-03-2013 a las 22:35:42 | |
| -- Versión del servidor: 5.1.49-3 | |
| -- Versión de PHP: 5.3.3-7+squeeze8 | |
| SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
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
| Este sitio tiene los mas recientes cambios de https://github.com/alanboy/teddy-online-judge. | |
| - La base de datos fue clonada de teddy.itc.mx, pero es diferente, los cambios que aqui se hagan no se veran reflejados en teddy.itc.mx | |
| - Esta primer fase fue para hacer un refactor y cerrar vulnerabilidades. No hay nuevos features singificantes. Una vez terminado este refactor y validado el funcionamiento, nuevos features seran agregados mucho mas rapido. | |
| - Estoy revisando los logs, y si hay algun error no recuperable, lo vere. Fuera de ahi, agradecere cualquier comentario/bug/etc a alanboy@alanboy.net, @_alanboy, @teddyOJ, bug en https://github.com/alanboy/teddy-online-judge o comentario en este gist. | |
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
| set nocompatible | |
| source $VIMRUNTIME/vimrc_example.vim | |
| source $VIMRUNTIME/mswin.vim | |
| behave mswin | |
| set list | |
| set listchars=tab:>-,trail:~,eol:¶,precedes:<,nbsp:· | |
| set nobackup | |
| set tabstop=4 |
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 | |
| include ("html-to-markdown-2.1.1/HTML_To_Markdown.php"); | |
| @include_once ("/opt/omegaup/frontend/server/bootstrap.php"); | |
| $omegaup = $conn; | |
| include_once ("teddy.php"); | |
| $teddy = $db; |
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 | |
| >----include("../server/bootstrap.php"); | |
| >----define("OAUTH" , ""); | |
| >----define("SPIDER_LAST_UPDATE" , "20110905"); | |
| >----$options = array('http'=>array( | |
| >---->----'method'=>"GET",· |
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 java.net.*; | |
| import java.io.*; | |
| import java.util.Date; | |
| import java.util.regex.*; | |
| import java.util.*; | |
| import java.sql.*; | |
| import java.util.Date; |
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 | |
| class wget{ | |
| static function fetch($url){ | |
| return system('wget -r ' . $url, $retval); | |
| } | |
| } |
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 requests | |
| from bs4 import BeautifulSoup | |
| from urllib.parse import urlparse | |
| from urllib.parse import urljoin | |
| # | |
| # Add a found URL to the list of links | |
| # | |
| def add_url(url, href): | |
| #url_parsed = urlparse(href) |
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
| const { mailGenerator } = require('./mail'); | |
| const hubspot = require('./hubspot'); | |
| const dateFormat = require('dateformat') | |
| const DATE_FORMAT = "mmmm d, yyyy, h:MM TT" | |
| const mailchimp = require('./mailchimp'); | |
| require("dotenv").config() | |
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
| const { User, sequelize } = require('../models') | |
| async function usersHandler(event, context) { | |
| const { routeKey } = event | |
| const userId = event?.pathParameters?.id | |
| switch (routeKey) { | |
| case 'GET /api/users': | |
| return { | |
| statusCode: 200, |
OlderNewer