Last active
October 4, 2016 13:23
-
-
Save tk120404/6174750 to your computer and use it in GitHub Desktop.
Prints India Map as shown below in the india.txt node india.js
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
var a,b=0,c=10,qwer ="TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBLOFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm SOn TNn ULo0ULo#ULo-WHq!WFs XDt!"; | |
while ((a = qwer.charCodeAt(b++)) != 0) { | |
while (a-- > 64) { | |
require('sys').print( ++c==90 ? String.fromCharCode(c = c/ 9):String.fromCharCode(33^b&1)); | |
} | |
} | |
//Source : http://codepad.org/ngiITeZ4 |
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
!!!!!! | |
!!!!!!!!!! | |
!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!! | |
!!!!!!!!!!!! | |
!!!!!!!!!!!! | |
!!!!!!!!!!!! | |
!!!!!!!! | |
!!!!!!!!!! | |
!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!! !!!!! | |
!!!!!!!!!!!!!!!!!!! !!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!! ! !!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! !!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! !!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!! | |
!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! | |
!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!!! | |
!!!!!!!!!!!!!! | |
!!!!!!!!!!!! | |
!!!!!!!!!!!! | |
!!!!!!!!!!!! | |
!!!!!!!! | |
!!!!!! | |
!!!! |
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
var sys =require('sys'); | |
(function(){ | |
var a=10, b=0, c=10,d=33, | |
India ="TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBLOFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm SOn TNn ULo0ULo#ULo-WHq!WFs XDt!"; | |
// qwer ="TFy!QJu"; | |
while (a != 0) { | |
a = India.charCodeAt(b); | |
b++; | |
while (a > 64) { | |
a--; | |
c++; | |
if (c=== 90) { | |
c = c / 9; | |
sys.print(String.fromCharCode(c)); | |
//sys.print('\n'); | |
} else { | |
var e = b%2; | |
if(e){ | |
// sys.print('!'); | |
//sys.print(String.fromCharCode(33^1)); | |
sys.print(India.charAt(b-1)); | |
} | |
else | |
{ | |
//sys.print(' '); | |
sys.print(India.charAt(b-1)); | |
//sys.print(String.fromCharCode(33^0)); | |
} | |
} | |
} | |
} | |
})(); | |
//goo.gl/2M8LJ1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awesome