Shop Mobile More Submit  Join Login
About Deviant RashiVatican City Recent Activity
Deviant for 8 Years
Needs Core Membership
Statistics 43 Deviations 539 Comments 25,586 Pageviews
×

Newest Deviations

Pet the Cat! by Omorashi Pet the Cat! :iconomorashi:Omorashi 4 6 Green Violet Nightmare by Omorashi Green Violet Nightmare :iconomorashi:Omorashi 0 2
Literature
Haskell: Love life
love = True
sex = True
cuddleMe love sex =
    if love && sex
        then putStrLn "Awww, that's so cute <3"
    else if love && (not sex)
        then putStrLn "Wow, are you a nun or monk?"
    else if (not love) && sex
        then putStrLn "You like bed-hopping, do you?"
    else
        putStrLn "Uh... you sure you want this relationship?"
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 7 2
Literature
SJP: Leap year
class LeapYear {
    
    public static void main(String[] args) {
        System.out.println(input(Integer.parseInt(args[0]))); //you must pass an argument when you start the program, like this: java LeapYear 1999
    }
    
    static String input(int number) {
        if(number % 400 == 0) { //1st test: is the number evenly divisible by 400?
            return "Leap year!"; //if it is, get out of the condition fork
        } else if(number % 100 == 0) { //2nd test if test #1 didn't lead to a return: evenly divisible by 100?
            return "Not a leap year!"; //if it is not, get out of the fork
        } el
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 5 5
Literature
SJP: Adjust a string's length
public class AdjustStringToLength {
    /*Given a string and a certain length,
     *this program's task is to adjust
     *the string's length to the given length.
     *
     *If the string is shorter than the given length,
     *append as many zeros to it as needed.
     *If the string is longer, cut it by the given length.
     *
     *Feel free to change the value of someLength and
     *the content of str to see how the program reacts!
     */
    
    public static void main(String[] args) {
        int someLength = 4;
        String str = "ThisIsJava!";
       
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 4 7
Literature
SJP: Abstract + Constructors
public abstract class Console {
    /*This is a so-called abstract class, which means that you cannot instantiate
     *objects from it. So if you try something like this in the main method:
     *Console c = new Console();
     *you'll get an error message from the compiler.
     */
    
    String developer;
    String colour;
    int coolness;
    
     /*This is an abstract method. It has no method body and must be overridden
      *by the first concrete class that implements it, in this case Wii or Xbox.
      *Don't get confused because of the semicolon ;)
      */
    abstract void playWithIt();
    
 
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 2 0
ASCII heART by Omorashi ASCII heART :iconomorashi:Omorashi 9 5
Literature
Simple Java Programs: 1101
class DecToBin {
    public static String number(int x) {
        String result = "";
        do {
            result = x % 2 + result; //"2" can be replaced with any other base below 10
            x = x / 2;
        } while(x != 0);
        return result;
    }
    public static void main(String[] args){
        System.out.println(number(Integer.parseInt(args[0])));
    }
}
/*If you want to transform a decimal number into a binary,
*you divide the decimal number by 2 again and again until
*only zero remains (this is what this code does).
*Like this:
*
*13/ 2 = 6 remainder 1
*6 / 2 = 3 remain
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 9 0
Literature
Simple Java Programs: Lottery
public class LotteryNumbers {
    
    public static int[] calculateNumbers() {
        int[] numbers = new int[6]; //this array contains six variables, ranging from numbers[0] through numbers[5]
        for(int i = 0; i
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 0 10
Literature
Simple Java Programs: CatchUp
public class CatchUp {
    
    public static void main(String[] args) {
        
        int x = 0;
        int y = 0;
        
        while(x
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 0 0
Preggers and happy by Omorashi
Mature content
Preggers and happy :iconomorashi:Omorashi 2 0
Evolution of the wolf by Omorashi Evolution of the wolf :iconomorashi:Omorashi 1 2
Mature content
Replay :iconomorashi:Omorashi 7 15
Doshibako -rainbow style by Omorashi Doshibako -rainbow style :iconomorashi:Omorashi 1 1 Doshibako-chan by Omorashi Doshibako-chan :iconomorashi:Omorashi 0 0
Literature
Tagwerdung mit Huhn
Tagwerdung mit Huhn
Der Schlafstatt entstiegen,
der Schnabel noch benetzt von Tau,
reckt es empor die weißen Schwingen,
und bringt, an Eos' Seite,
den Morgen übers Land!
:iconOmorashi:Omorashi
:iconomorashi:Omorashi 1 1

Random Favourites

my space by akirakirai my space :iconakirakirai:akirakirai 2,513 214 Sofia by Sorendesu Sofia :iconsorendesu:Sorendesu 2 1 Dragoness by leovictor Dragoness :iconleovictor:leovictor 211 12 Fursona experiment 1 by Thevakien Fursona experiment 1 :iconthevakien:Thevakien 12 5 This war is ours by billy-911 This war is ours :iconbilly-911:billy-911 4 1 Girl Render 5 by AyameYve
Mature content
Girl Render 5 :iconayameyve:AyameYve 8 0
cat by cbogdana cat :iconcbogdana:cbogdana 8 0 Winxee by Untilia Winxee :iconuntilia:Untilia 5 0 Tomoyo sketch4 Winged Sakura by FaisLittleWhiteRaven Tomoyo sketch4 Winged Sakura :iconfaislittlewhiteraven:FaisLittleWhiteRaven 9 8 balloons :3 by pancakesx0x balloons :3 :iconpancakesx0x:pancakesx0x 2 0 umixerik by Sorendesu umixerik :iconsorendesu:Sorendesu 2 3 Gate 2 by lihockeyplaya3 Gate 2 :iconlihockeyplaya3:lihockeyplaya3 2 0 free llama running :3 by MenInASuitcase free llama running :3 :iconmeninasuitcase:MenInASuitcase 3,715 890 Diego latin lover XD by Wolficka Diego latin lover XD :iconwolficka:Wolficka 3 0 Sephiroth by DYKC Sephiroth :icondykc:DYKC 3,554 267 Chrono Trigger by BettyKwong Chrono Trigger :iconbettykwong:BettyKwong 639 113

Activity


deviantID

Omorashi
Rashi
Vatican City
Operating System: GNU/Linux (Linux Mint Debian Edition, Debian Squeeze)
MP3 player of choice: M.O.C.
Shell of choice: Bourne Again Shell
Favourite cartoon character: Zuko (Avatar, the last airbender)
Interests

Donate

Omorashi has started a donation pool!
10 / 10
I want to buy stuff for my llamas >:3

You must be logged in to donate.
  • :iconwinree:
    Winree
    Donated Oct 7, 2013, 4:06:50 AM
    5
  • :iconwitchlady750:
    witchlady750
    Donated Aug 17, 2010, 11:24:32 PM
    2
  • Anonymous
    Anonymous Deviant
    Donated Jul 28, 2010, 6:04:33 AM
    1
  • Anonymous
    Anonymous Deviant
    Donated Jun 21, 2010, 4:34:35 PM
    2

Groups

Comments


Add a Comment:
 
:iconedofenrir:
Edofenrir Featured By Owner May 27, 2015  Hobbyist General Artist
Happy slightly belated borfday.
Reply
:iconagile-eagle1994:
AGiLE-EaGLE1994 Featured By Owner Dec 17, 2014  Hobbyist General Artist
By any chance, could you help me with a Minecraft mod I'm making? I've been using a GUI based program to do it because I'm not patient enough to learn to use a CLI.
Anyways, I've been trying to make a liquid in the game that hurts you when you touch it, but based off of water instead of lava, because I don't want it setting things on fire and flowing slowly.
Reply
:iconunico-chan:
unico-chan Featured By Owner Nov 14, 2013  Hobbyist Digital Artist
i hope u knew what ur username means
Reply
:iconomorashi:
Omorashi Featured By Owner Feb 20, 2014
Yes, I do, thank you very much.
Reply
:iconmengluoli:
Mengluoli Featured By Owner Apr 9, 2012  Professional Digital Artist
Thanks for the favorite!
Reply
Add a Comment: