This file contains 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
package org.dinesh.code; | |
import java.text.NumberFormat; | |
import java.util.List; | |
import java.util.concurrent.CountDownLatch; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import java.util.concurrent.atomic.AtomicLong; | |
import java.util.concurrent.atomic.LongAdder; |
This file contains 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
require 'benchmark' | |
module Base | |
def boom | |
false | |
end | |
end | |
class A | |
include Base |
This file contains 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
require 'benchmark' | |
module Base | |
end | |
class A | |
include Base | |
def boom | |
true | |
end |
This file contains 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
# ————————————————- | |
# Start-up Commands | |
# ————————————————- | |
fortune | cowsay | lolcat | |
# ———————————————— | |
# Dinesh’s Aliases | |
# ———————————————— | |
alias vimconfig="vim ~/.vimrc" |
This file contains 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
package org.dinesh.code; | |
import java.text.NumberFormat; | |
import java.util.concurrent.CountDownLatch; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import java.util.concurrent.atomic.AtomicLong; | |
import java.util.concurrent.atomic.LongAdder; |
This file contains 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
import java.util.Arrays; | |
import java.lang.*; | |
public class NpeThief { | |
public void callManyNPEInLoop() { | |
for (int i = 0; i< 1000000; i++) { | |
try { | |
((Object)null).getClass(); | |
} catch (Exception e) { | |
System.out.println(Arrays.toString(e.getStackTrace()).length()); |
This file contains 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=input() | |
leng=len(var) | |
rev=[] | |
flag=0 | |
for i in range(1,len(var)): | |
rev.append(var[leng-i]) | |
rev.append(var[0]) | |
#print(*rev,sep="") | |
for i in range(0,len(var)): | |
if var[i]!=rev[i]: |
This file contains 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
str=input() | |
print("yes" if str == str[::-1] else "no") |
This file contains 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
Agasthiya - Aathin | |
Agasthiya - Alakathin | |
Agasthiya - Bheemun | |
Agasthiya - Boruttaan | |
Agasthiya - Devendrun | |
Agasthiya - Gaamdan | |
Agasthiya - Gundudhipaan | |
Agasthiya - Gunniyaan | |
Agasthiya - Kesavun | |
Agasthiya - Kommaan |
This file contains 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
# ————————————————- | |
# Start-up Commands | |
# ————————————————- | |
fortune | cowsay | lolcat | |
# ———————————————— | |
# Dinesh’s Aliases | |
# ———————————————— | |
alias vimconfig="vim ~/.vimrc" |
NewerOlder