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 | |
# Bash Menu Script Example | |
add_to_log() { | |
command echo $1>>log | |
} | |
crear(){ | |
echo "Nombre Usuario" | |
read namevar | |
echo "- Su respuesta: $namevar" |
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
#exec(open("C:/Users/Pablo.PABLO-XPS/Documents/python/billscript.py").read()) | |
filepath = "C:/Users/Pablo.PABLO-XPS/Documents/python/" | |
filename = "april" | |
fileext = ".txt" | |
bills = {} | |
class Bill: | |
def __init__(self, price, details): |
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
push() //no recibe nada? | |
codegen_logical() //supongo que hace el asm apartir del output? | |
codegen_algebric() // ? | |
int string_to_num(char*) // devuelve 1 o 0 | |
codegen_assign() // ? |
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
/* the "incl" state is used for picking up the name | |
* of an include file | |
*/ | |
%x incl | |
%{ | |
%} | |
%% | |
"include \"" BEGIN(incl); |
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
all: bison | |
bison: main.o lex.yy.c | |
cc -o $@ main.o bison.tab.c lex.yy.c -lfl | |
main.o: main.c | |
cc -c main.c | |
lex.yy.c: bison.l bison.y | |
bison -d bison.y |
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
/* Hello World program */ | |
#include<stdio.h> | |
#include "structs.h" | |
main() | |
{ | |
int a = 3; | |
printf("Hello World %d \n", a); | |
arqui* r; |
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
//______________________CLASE____________________// | |
var urlOrden = '@Url.Action("getOrden", "Account")'; | |
var avesOrden = $('#Orden'); // caches element from a @html.dropdownlist in the HTML | |
$('#Clase').change(function () { | |
onchangeClase($(this).val()); | |
//if i place onchangeSuborden("") here it doesnt work well | |
}); |
NewerOlder