Coding and Decoding Questions Shortcut Tricks in Reasoning of Aptitude
6 Fun Coding Tricks That You Can Show Your Friends
-
Upload
tito-besaleel -
Category
Documents
-
view
224 -
download
3
description
Transcript of 6 Fun Coding Tricks That You Can Show Your Friends
-
26/3/2015 6FunCodingTricksThatYouCanShowYourFriends!
http://efytimes.com/e1/fullnews.asp?edid=126173 1/5
| Electronics | Solar | ConsumerElectronics | Infotech | Linux&OpenSource | Smartphones | Tablets |
PhoneFinder | MWC2015 | AZURE |
Thursday,March26,2015 SelectLanguage
Search
Home>>Infotech>>Features
6FunCodingTricksThatYouCanShowYourFriends!
Webringyousomefuncodesthatyoucanplaywith!Havealook...
Ratethisnews: (5Votes)
Tuesday,January07,2014:EverwantedtoknowhowyoucanmakethatfallingcodeeffectfromtheMatrixmovie?Programmersaren'tjustseriousgeekssittinginfrontofthecomputersallday,theydohaveasenseofhumour.Don'tbelieveus?Takealookatthesecodesbelow!
Note:Thesecodesdonotharmyourcomputer.IfyouneedtostoptheVisualBasicscripts,justdosofromthetaskmanager.
1.MatrixFallingCode
WhetheryouvewatchedtheHollywoodflickMatrixornot,youknowaboutthefallingcodeinthemovieforsure.Everycoderhasdonethistrickatleastonceinhislife,whethertoshowofforjustforfun.Heresacodethatdoesit!
CopyandpastethisontoNotepadandsavethefileas*.bat.
@echooffcolor02:tricksecho%random%%random%%random%%random%%random%%random%%random%%random%gototricks
2.KeyboardWillTypeAnyMessageContinuously
ThisisaVisualBasicScriptingtrickthatyoucanuseasaprankeven.Thiscodewillmakethecomputerskeyboardtypeyourchosenmessagecontinuously.CopythecodegivenbelowontoyourNotepadandsavethefileas*.vbs.
SetwshShell=wscript.CreateObject("WScript.Shell")dowscript.sleep100wshshell.sendkeys"ThisisaVirus.Youhavebeeninfected."Loop
Note:Dothisoneafteryouveclosedallotherprograms.
3.Emailattachmenttrick
Inessencethisisavirusthatyouaresending,butonethatiscompletelyharmless.Youcanusethisoneasaprankonyourfriendstoo.TheviruscontinuouslykeepsejectingthecomputersCD/DVDdrives.ThisisalsoaVisualBasicScripting(VBS)trick.CopythecodeontoNotepad.
SetoWMP=CreateObject("WMPlayer.OCX.7")SetcolCDROMs=oWMP.cdromCollectiondoifcolCDROMs.Count>=1thenFori=0tocolCDROMs.Count1colCDROMs.Item(i).EjectNextFori=0tocolCDROMs.Count1colCDROMs.Item(i).EjectNextEndIfwscript.sleep5000loop
Free time-stretching?For iOS and Android? Low latency. High Performance.
Android OpenSLES agony?
Android audio done right.Stable. Low Latency.
-
26/3/2015 6FunCodingTricksThatYouCanShowYourFriends!
http://efytimes.com/e1/fullnews.asp?edid=126173 2/5
Daily Weekly Overall
4.PersonalDiarywithNotepad
ThisisactuallyanEasterEgg.ThiswillletyoumakeapersonallogusingNotepad,thatis,thecurrentdateandtimewillautomaticallybeaddedbeforeeachnotethatyoumake.AllyouhavetodoisopenNotepadandtype.LOGincapitalsandthenpressEnter.Savethisfileandthencloseit.Now,wheneveryouopenthefile,thedateandtimewillcomebeforeyournoteautomatically.Allyouhavetodoissaveaftermakinganentry.
5.Getyourselfanautomatedchat
CopythiscodeontoNotepadandsavethefileas.vbssinceitsaVBStrick.
idimfnamefname=inputbox("Hiwhatsyourname?")fname=inputbox("Whatsup?")fname=inputbox("Thatskool.")
6.Shutdowncomputer
Thiscodewillshutdownyourcomputer.Youcanchangethe00toasmanysecondsasyouwant.
avidemux2_clirunj1.jsrunj2.jsendshutdown.exest00
Print Email PostComment (TotalViews:10996)
TweetStumbleUponSubmit
InfotechNews
HCLPartnersWithStrontiumToDistributeFlashMemoryInIndiaKoenigSolutionsOpensFirstInternationalTrainingCentreInDubai,InvestsRs40mnFortinetLeveragesSpirentSolutionsToValidateBestInClassPerformanceOfFortiGate3810DNASSCOMWelcomesSupremeCourt's'Landmark'JudgementOnSection66ARiverbedRecognizedAsALeaderInGartners2015MagicQuadrantForWANOptimization
SUBSCRIBETOEFYTIMESReceivethelatestreviews,howtos,news&more.
Enteryouremailaddress:
Subscribe
DeliveredbyFeedBurner
Mostpopular
NewAndroidInstallerHijacking
VulnerabilityExposesAndroidDevice
UsersToDataTheftAndMalware
OPPOTakesPartInMercedesBenz
FashionWeekInNewYork
TEConnectivityLaunchesAutosafeKitTo
MakeAftermarketAutoRepairsSafer
TwitterLaunchesFirstTweetPowered
DigitalGovernanceServiceAsPartOf
DigitalIndiaInitiative
Features6MustHaveToolsForJavaProfessionalsHereisthelistoftoolsforJavadevelopersthatareproventogetthejobdoneefficiently....
8CoolestCloudProgrammingLangaugesIfyouarelookingtomasterinprogramminglanguages,hereareeightgreatoptionsamongcloudcomputingworld....
7TipsToMitigateDataBreachesHereareseventipsyoucanfollowtoavoiddatabreachesinyourorganisation!...
Top8PythonFrameworksForWebDevelopersWorkingwithawebframeworkhelpsyoujumpstartyourwebapplication.HereareeightbestPythonFrameworksforwebdevelopers....
BestAlternativesToGoogleCodeForProgrammersGoogleisshuttingdownGoogleCode,theirhostingserviceforopensourceprojectsandcodinginitiatives.Hereareafewalternativesthatcangety...
Top8BestPHPToolsForAnalysingAndParsingCodeHerearesomeofthebestPHPToolsthatwillhelpprogrammerstoanalyseandparsetheirprogrammingcode....
155
Share
Coding AllFun AllFriends VBScript
-
26/3/2015 6FunCodingTricksThatYouCanShowYourFriends!
http://efytimes.com/e1/fullnews.asp?edid=126173 3/5
8OpenSourceToolsForWindowsHerearetopeightfreeopensourcetoolsbyMicrosoft....
7TipsToAvoidGettingScammedOnInternetOnlinefraudsandscamsarenothingnewtous.Hereareseventipsthatyoucanfollowtoprotectyourselfonline....
7BestJavaIDEsForProgrammersHereisthecomprehensivelistofsomeofthemostpopularandpraisedIDEsforJava....
5ReasonsToTakeUpJobInATechCompanyAreyoulookingforaninformalworkplacefullofnewideasandadvancementopportunities?Youshouldconsideracareerintech!...
8NewTrendsAmongMobileDevelopersAnewsurveyofmobileappdevelopersrevealssomeinterestingfactsabouttheirwork....
6TipsToProtectImportantDataHerearefewconsiderationssecurityprocessesthatcanbegoodenoughtoensureathebasiclevelofsecuritytousers....
Top8BestAngularJSToolsForWebDevelopersThereisalongrangeofAngularJStoolsavailableintheinternet.TodaywehavementionedeightbestAngularJStoolsforwebdevelopers....
8TipsToBuildHTML5BasedMobileAppsAgreatHTML5app,whichcouldmakewavesinappstores,requirestobebuiltwithplanning.Hereare8tipsthatcanhelpyouinbuildingHTML5based...
5LatestVersionsOfTopLinuxDistrosLinuxhasover600existingdistributionsamongwhich300areinactivedevelopment.Herearetopfivelatestlinuxdistros....
Dialogue
WeHaveRegistered50PerCentGrowthInTheLastTwoYears:ArihantLightingApartfromLEDs,ArihantisassociatedwiththepromotionofrenewableenergyinIndiaandtherefore,manufacturesvariousenergysavingproducts....
ElcomPlansToBuildANewStateOfTheArtR&DAndManufacturingUnitInMaharashtra",RevealsMDGirishVVazeStartingoutasasmallbusinesstocatertotheindustrysneedforimportsubstitutes,ElcomInternationalhasgrowntobealeaderinthefieldof...
NewsPoweredbyPRNewsWire
BANGALORE,India,Wednesday,March25,10:23AM
StratasysAppointsRajivBajajasGeneralManagerforIndia
NEWDELHI,Wednesday,March25,6:49AM
OnlineFashionBrandAmericanSwanTiesupWithIndiaPost
HYDERABAD,India,Wednesday,March25,4:12AM
IndianITCompany,Raybiztech,TeamedupWithPlanetWaterFoundationtoProvideCleanWatertoSchoolChildren
RoltaandHitachiIndiaPvt.Ltd.EstablishPartnershiptoExploreNewBusinessOpportunities
-
26/3/2015 6FunCodingTricksThatYouCanShowYourFriends!
http://efytimes.com/e1/fullnews.asp?edid=126173 4/5
MUMBAI,Wednesday,March25,2:34AMMOSCOW,Tuesday,March24,11:30PM
"DefendingRussia"AnnouncesAnotherSuccessfulExportoftheSu30SM,theWorld'sMostPopularRussianAircraft
NOIDA,India,Tuesday,March24,3:19AM
VibrationControlMarketLeaderGERBNowOffersCuttingedgeMassSpringSystem(TrackBedIsolation)TechnologytoMitigateVibrationTransmissionFromMetroTunnelstoOverlyingBuildings
CHENNAIandCALIFORNIA,Tuesday,March24,1:09AM
NeeyamoInc.ContinuesitsPartnershipWithHRTechEuropeasaSponsorfortheMostAwaitedHRTechnologyEventof2015settoTakePlaceatLondon
MoreNews
FeaturedResources:ComoasoperadorasderedesdaAmricaLatinapodemofereceracessodebandalarganasreasruraisComoasoperadorasderedesdaAmricaLatinapodemofereceracessodebandalarganasreasrurais>>
UltimateGuidetoRaspberryPiOpenELECMediaCenterThisbookwillhelpyouinstallHomeTheaterPCsoftwareandintegrateitseamlesslytomanageyourmedialibrary.>>
Videos
FirstLook:LGOptimusGThephonesportsahighenddisplayandcomespoweredbyapowerfulprocessor....
CreateQRCodesForFreeTECITreleasesthefreewareQRCodeStudiotoprovideaquickandconvenientwayofQRcodecreationforeveryapplicationscenario....
IFA2014
IFA2014:LGLaunches34InchesCurvedMonitorThecompanyisyettoconfirmpriceandavailabilityofthedevice....
IFA2014:IntelLaunchesFirstCoreMRangeOfProcessorsThisrangeofprocessorsistailormadefor2in1deviceswhichincludeatabletandalaptop....
-
26/3/2015 6FunCodingTricksThatYouCanShowYourFriends!
http://efytimes.com/e1/fullnews.asp?edid=126173 5/5
EFYIndia
A13297personaslesgustaEFYIndia.
PluginsocialdeFacebook
Megusta
Comments
jobaersaid:"Allareawesome"on10Greatest
ComputerProgrammers...'
DhananjayaMahaMalagesaid:"nicearticle.thanks"on
20ToolsAndResourcesForBuilding...'
Events19thConsumerElectronicImagingFairToBeHeldOn...
home archives contactus advertisewithus Magazines Portals Directories Events NewsVerticals EducationalInstitute ElectronicsforYouOpenSourceforYouElectronicsBazaar
electronicsforu.comefytimes.comopensourceforu.comelectronicsb2b.com
ElectronicsAnnualGuide EFYEXPOINDIAEFYEXPOWESTELECTRONICSROCKSEFYAwardsOSIDAYSExpo
ElectronicsInfotechLinux&OpenSourceConsumerElectronicsScience&TechnologyBPO
EFYTechcenter
EducationalKitsKitsnspares.com
Copyright2015EFYEnterprisesPvt.Ltd.Allrightsreserved.Reproductioninwholeorinpartinanyformormediumwithoutwrittenpermissionisprohibited.
UsageofthecontentfromthewebsiteissubjecttoTermsandConditions