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
| # -*- coding: utf-8 -*- | |
| ####################################################### | |
| # | |
| # @Author: Hardik Mehta <[email protected]> | |
| # | |
| # @version: 0.1 basic script | |
| # | |
| ######################################################## |
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
| # -*- coding: utf-8 -*- | |
| ####################################################### | |
| # | |
| # @Author: Hardik Mehta <[email protected]> | |
| # | |
| # @version: 0.1 basic script | |
| # | |
| ######################################################## |
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
| [default] | |
| country = Germany | |
| unit = SI | |
| city = Munich |
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
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.hardik.jsfinaction</groupId> | |
| <artifactId>HelloJsf</artifactId> | |
| <packaging>war</packaging> | |
| <version>1.0</version> | |
| <name>HelloJsf Maven Webapp</name> | |
| <url>http://maven.apache.org</url> | |
| <dependencies> |
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
| DROP TABLE IF EXISTS TEE; | |
| DROP TABLE IF EXISTS TEE_SET; | |
| DROP TABLE IF EXISTS HOLE; | |
| DROP TABLE IF EXISTS COURSE; | |
| DROP TABLE IF EXISTS FACILITY; | |
| DROP SEQUENCE IF EXISTS SYSTEM_SEQUENCE_FACILITY; | |
| DROP SEQUENCE IF EXISTS SYSTEM_SEQUENCE_COURSE; | |
| DROP SEQUENCE IF EXISTS SYSTEM_SEQUENCE_HOLE; | |
| DROP SEQUENCE IF EXISTS SYSTEM_SEQUENCE_TEE_SET; |
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
| [Midnight-Commander] | |
| show_backups=1 | |
| show_dot_files=1 | |
| verbose=1 | |
| mark_moves_down=1 | |
| pause_after_run=1 | |
| shell_patterns=1 | |
| auto_save_setup=1 | |
| auto_menu=0 | |
| use_internal_view=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
| #change the hardstatus settings | |
| startup_message off | |
| vbell off | |
| hardstatus alwayslastline | |
| hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' | |
| #scrollback | |
| altscreen on | |
| # bindkey -k kD stuff "\010" | |
| termcapinfo xterm 'bc@:bs@' | |
| # termcapinfo rxvt |
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
| ;;to set the cursor color | |
| (set-cursor-color "white") | |
| ;;to set foreground color to white | |
| (set-foreground-color "white") | |
| ;;to set background color to black | |
| (set-background-color "black") |
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
| -- file: ch04/IntParse.hs | |
| import Data.Char (digitToInt) | |
| strToInt :: String -> Int | |
| helper_func :: Int -> Char -> Int | |
| helper_func i c = i * 10 + digitToInt c |
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
| -- file: ch04/Fold.hs | |
| myFilter :: (a -> Bool) -> [a] -> [a] | |
| myFilter p xs = foldr step [] xs | |
| where step x ys | p x = x : ys | |
| | otherwise = ys | |
| myFoldl :: (a -> b -> a) -> a -> [b] -> a |
OlderNewer