Skip to content

Instantly share code, notes, and snippets.

View deda9's full-sized avatar
๐Ÿ
Learning is always fun

Bassem Qoulta deda9

๐Ÿ
Learning is always fun
View GitHub Profile
@deda9
deda9 / factory.java
Created July 11, 2016 15:46 — forked from rishi93/factory.java
Design Patterns - Factory Pattern
import java.io.*;
interface Shape
{
public void draw();
}
class Square implements Shape
{
@Override
@deda9
deda9 / AppHelper.java
Created October 8, 2016 21:12 — forked from anggadarkprince/AppHelper.java
Upload file with Multipart Request Volley Android
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import java.io.ByteArrayOutputStream;
/**
* Sketch Project Studio
* Created by Angga on 12/04/2016 14.27.
*/
public class AppHelper {

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor