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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
body { | |
padding: 64px 0; | |
max-width: 660px; | |
margin: 0 auto; | |
} |
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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
body { | |
padding: 64px 0; | |
} | |
@media (max-width: 785px) { | |
body { |
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
#!/bin/sh | |
####Licencia de uso### | |
# Copyright 2016 Jimmy Olano at ks7000.net.ve | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
#!/bin/sh | |
####Licencia de uso### | |
# Copyright 2016 Jimmy Olano at ks7000.net.ve | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
<?php | |
// ###Licencia de uso### | |
// Copyright 2016 Jimmy Olano at ks7000.net.ve | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// |
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
#!/bin/sh | |
#-*- coding: utf-8 -*- | |
#Move to the folder where ep-lite is installed | |
cd `dirname $0` | |
#Was this script started in the bin folder? if yes move out | |
if [ -d "../bin" ]; then | |
cd "../" | |
fi |
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
class calculadora(): | |
def __init__(): | |
print("\nCalculadora encendida.") | |
def sumar( a=0, b=0): | |
print("Suma a={} b={} a+b={}".format(a,b,a+b)) | |
def restar( a=0, b=0): | |
print("Resta a={} b={} a-b={}".format(a,b,a-b)) |
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 | |
logging.basicConfig(level=logging.DEBUG) | |
bita_sum = logging.getLogger("Sum") | |
bita_res = logging.getLogger("Res") | |
bita_mul = logging.getLogger("Mul") | |
bita_div = logging.getLogger("Div") | |
class calculadora(): |
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 sys | |
def factorial(num): | |
'''Return large factorial by Jimmy Olano Sayago | |
(GNU General Public License v3.0) ''' | |
if num<=1: | |
return 1 | |
else: | |
sys.setrecursionlimit(sys.getrecursionlimit()+1) | |
return num * factorial(num - 1) |
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
#!/usr/bin/python | |
#-*-coding:utf-8-*- | |
from datetime import datetime | |
ahora = datetime.now() | |
#Si el año es bisiesto entonces el día 256 es el 12 de septiembre | |
if ( ahora.strftime("%j") == "256" ) : | |
print ("Feliz Día del Programador "+ahora.strftime("%d/%m/%Y")) |
OlderNewer