Skip to content

Instantly share code, notes, and snippets.

karan-ta karan-ta

Block or report user

Report or block karan-ta

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test.rb
# new topic
table(autolink: false) do
# Add label in config/locales/en.yml , filter is route of your admin, resource
admin:
filter:
buttons:
myfilter: "View Filter Results"
View test.rb
table(autolink: false) do
View gist:97611759eb3c0eef7a39b8e149a9b427
public class Lesson1neeraj{
public static void main(String[] args){
System.out.println("Hello "+args[0]);// array index out of bounds exception
}
}
View gist:f41f811eaeb82b1b4140db839407852b
public class Lesson1neeraj{
//instance method
private void sayHello(String name){
System.out.println("Hello "+name);
}
public static void main(String[] args){
View gist:1ed7f1f84c26359dbd827f075238c077
//Lesson1neeraj.java
public class Lesson1neeraj{
//instance method
private void sayHello(String name){
System.out.println("Hello "+name);
}
public static void main(String[] args){
{1,2,3,4,5,6}
String[] args = null
View gist:408100c624a12ef18db9a4833c4de6cf
public class Lesson2{
private static void push(int[] stack,int elem,int top){
stack[top] = elem++;
//top = 0
top++;
//top = 1 top is just a local variable -
//changes made to it are not passed to main function
}
View gist:2ced8e8b34a441846c031a13e5382f22
mkdir trydiff
git init
vim -p readme
git status
//predict the status
git diff
//predict the diff
//if diff is ok :
git add
git diff head
You can’t perform that action at this time.