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
| use strict; | |
| use warnings; | |
| # open log.txt | |
| open (my $LOG, '>>', 'log.txt'); | |
| # change to log | |
| select $LOG; | |
| print "hello log!\n"; |
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
| #!/usr/bin/perl | |
| use strict; | |
| use CGI; | |
| use CGI::Carp qw ( fatalsToBrowser ); | |
| use File::Basename; | |
| use JSON; | |
| $CGI::POST_MAX = 1024 * 512; | |
| $CGI::DISABLE_UPLOADS=0; | |
| $|=1; |
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
| #!/usr/bin/perl | |
| use strict; | |
| use CGI; | |
| use CGI::Carp qw ( fatalsToBrowser ); | |
| use File::Basename; | |
| $CGI::POST_MAX = 1024 * 512; | |
| $CGI::DISABLE_UPLOADS=0; | |
| $|=1; | |
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
| Monkey banana, walk on the arena and do not crash with your bananas |
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
| <!DOCTYPE HTML> | |
| <html> | |
| <script> | |
| function drawPicture(){ | |
| // Primero se recupera el objeto canvas a modificar | |
| var canvas = document.getElementById('example'); | |
| // Luego se le indicar la forma de trabajar 2D o 3D | |
| var context = canvas.getContext('2d'); |
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
| # Created by Kevin Kelly (at) devonit.com | |
| # July 16, 2009 | |
| # based on latin american keyboard layout | |
| include common | |
| map 0x080A | |
| # | |
| bar 0x29 | |
| notsign 0x29 altgr |
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 | |
| read -p "Enter your app name: " APP | |
| if [ q$APP == q ] ; then | |
| echo "No app ... aborting" | |
| exit 1 | |
| fi | |
| read -p "Enter database engine [mysql|pgsql] (mysql): " ENG | |
| if [ q$ENG == q ] ; then | |
| ENG=mysql |
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
| " Delete buffer while keeping window layout (don't close buffer's windows). | |
| " Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165 | |
| if v:version < 700 || exists('loaded_bclose') || &cp | |
| finish | |
| endif | |
| let loaded_bclose = 1 | |
| if !exists('bclose_multiple') | |
| let bclose_multiple = 1 | |
| endif |
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
| :syntax on | |
| :set et | |
| :set ts=2 | |
| :set sts=2 | |
| :set nowrap | |
| :set autoindent | |
| :set nocompatible | |
| :set background=light |