sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo reboot
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
public static Result doLogin() { | |
com.feth.play.module.pa.controllers.Authenticate.noCache(response()); | |
final Form<MyLogin> filledForm = MyUsernamePasswordAuthProvider.LOGIN_FORM | |
.bindFromRequest(); | |
if (filledForm.hasErrors()) { | |
// User did not fill everything properly | |
return badRequest(login.render(filledForm)); | |
} else { | |
// Everything was filled | |
return UsernamePasswordAuthProvider.handleLogin(ctx()); |
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
ssjdf |
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
package processor; | |
import spoon.processing.AbstractProcessor; | |
import spoon.reflect.declaration.CtAnnotation; | |
import spoon.reflect.declaration.CtElement; | |
import spoon.reflect.reference.CtTypeReference; | |
import java.lang.annotation.Annotation; | |
import java.util.ArrayList; |
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
package processor; | |
import java.lang.annotation.Annotation; | |
import java.math.BigInteger; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Optional; | |
import java.util.stream.Collectors; | |
import annotation.FeatureAnnotation; |
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
-- Debemos crear una unica base de datos para todos | |
pre { | |
var db : new DB!Database; | |
} | |
-- Esta regla se encarga de todo! | |
rule MarketPlace2Relacional | |
transform | |
c : mp!ClassUnit | |
to |
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
pre { | |
var config = CONFIG!Config; | |
var DataBase = DB!Database; | |
var ParentTable = DB!Table; | |
} | |
--This Rule is creating and extra empty database | |
rule Config2Database | |
transform c: CONFIG!Config | |
to db: DB!Database{ | |
config = c ; |
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
Copyright (c) 2015, Shahar Evron | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, | |
are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, |
OlderNewer