The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
| λ tail -f master/twistd.log | |
| 2015-02-19 16:52:11-0500 [-] adding scheduler 'IOS Master Platform' | |
| 2015-02-19 16:52:11-0500 [-] adding scheduler 'Android Master Platform' | |
| 2015-02-19 16:52:11-0500 [-] adding scheduler 'CLI tooling tests' | |
| 2015-02-19 16:52:11-0500 [-] adding scheduler 'Android Build Windows' | |
| 2015-02-19 16:52:11-0500 [-] WebStatus using (C:\Users\Willy\master\public_html) | |
| 2015-02-19 16:52:11-0500 [-] Loading builder cordova-firefoxos's build 0 from on-disk pickle | |
| 2015-02-19 16:52:11-0500 [-] RotateLogSite starting on 8010 | |
| 2015-02-19 16:52:11-0500 [-] Starting factory <buildbot.status.web.baseweb.RotateLogSite instance at 0x0437DD78> | |
| 2015-02-19 16:52:11-0500 [-] Setting up http.log rotating 10 files of 10000000 bytes each |
| cp -a cldc1.1.1/. build-src/; cp -a vm/. build-src/; cp -a midp/. build-src/; cp -a jsr-075/. build-src/; cp -a custom/. build-src/; cp -a jsr-256/. build-src/; cp -a jsr-082/. build-src/; cp -a jsr-179/. build-src/; | |
| javac -cp build-src -g:none -source 1.3 -target 1.3 -bootclasspath "" -extdirs "" -d ./build `find ./build-src -name *.java` > /dev/null | |
| /bin/sh: /c/Program Files/Java/jdk1.7.0_45/bin/javac: Bad file number | |
| make[1]: *** [classes.jar] Error 126 | |
| make[1]: Leaving directory `/g/j2me.js/java' | |
| make: *** [java] Error 2 |
| pyg = 'ay' | |
| original = raw_input('Escribi una palabra:') | |
| if len(original) > 0 and original.isalpha(): | |
| palabra = original.lower() | |
| primera = palabra[0] | |
| nueva_palabra = palabra + primera + pyg | |
| nueva_palabra = nueva_palabra[1:len(nueva_palabra)] | |
| print nueva_palabra |
| function cambiarLetras(letra){ | |
| var resultado = letra.replace(/Á|_/g, "Á").replace(/á|_/g, "á") | |
| .replace(/É|_/g, "É").replace(/é|_/g, "é") | |
| .replace(/Í|_/g, "Í").replace(/í|_/g, "í") | |
| .replace(/Ó|_/g, "Ó").replace(/ó|_/g, "ó") | |
| .replace(/Ú|_/g, "Ú").replace(/ú|_/g, "ú") | |
| .replace(/ñ|_/g, "ñ").replace(/Ñ|_/g, "Ñ") | |
| .replace(/´|_/g, "´").replace(/ý|_/g, "ý") | |
| .replace(/Ý|_/g, "Ý"); | |
| return resultado; |
| --local Quad = {} --love.graphics.newQuad | |
| function Quad:flip( sx, sy ) -- sx, sy = new scale for Quad. | |
| self.sx, self.sy = nx, ny | |
| end | |
| --load our assets | |
| function love.load() | |
| --load all assets here | |
| character= {} |
| --load our assets | |
| function love.load() | |
| --load all assets here | |
| end | |
| --update event | |
| function love.update(dt) | |
| --do the maths | |
| end |
| String queryUpdateClases = "select MAX(fecha) from Reunion where clase_id = 3189499 and fecha > '2014-09-04'"; | |
| Query ejecutarUpdateClases = JPA.em().createNativeQuery(queryUpdateClases); | |
| ejecutarUpdateClases.getResultList(); | |
| System.out.println("fechaa " + ejecutarUpdateClases.getResultList().get(0)); |
| ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); | |
| PdfReader reader = new PdfReader(pdfYExcelStream); | |
| Rectangle psize = reader.getPageSize(1); | |
| Document document = new Document(PageSize.A4); | |
| reader.getPageContent(1); | |
| PdfWriter writer = PdfWriter.getInstance(document, outputStream); | |
| writer.addPageDictEntry(PdfName.ROTATE, PdfPage.LANDSCAPE); |
| ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); | |
| // we create a reader for a certain document | |
| PdfReader reader = new PdfReader(pdfYExcelStream); | |
| Rectangle psize = reader.getPageSize(1); | |
| System.out.println("tamaño pdf original "+psize); | |
| // we retrieve the total number of pages and the page size | |
| //int total = reader.getNumberOfPages(); | |
| /*Rectangle pageSize = reader.getPageSize(1); |