Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Piash Sarker Piashsarker

🎯
Focusing
View GitHub Profile
View SoftKeyboard.java
/*
* Author: Felipe Herranz (felhr85@gmail.com)
* Contributors:Francesco Verheye (verheye.francesco@gmail.com)
* Israel Dominguez (dominguez.israel@gmail.com)
*/
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import android.os.Handler;
@kostiakoval
kostiakoval / StringEncryption.java
Created Mar 29, 2014
Encrypted SHA1 string for android
View StringEncryption.java
package no.rocketfarm.festivalcore.util;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class StringEncryption {
private static String convertToHex(byte[] data) {
StringBuilder buf = new StringBuilder();
@rob-murray
rob-murray / add_intellij_launcer
Last active Apr 19, 2021
Add Intellij launcher shortcut and icon for ubuntu
View add_intellij_launcer
// create file:
sudo vim /usr/share/applications/intellij.desktop
// add the following
[Desktop Entry]
Version=13.0
Type=Application
Terminal=false
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png
Name[en_US]=IntelliJ