Skip to content

Instantly share code, notes, and snippets.

🐦
Working or IDK

Albert Serrallé Ríos aserrallerios

🐦
Working or IDK
Block or report user

Report or block aserrallerios

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 gist:852775c2c88d56e75b850eeced2660c5
ssh -i ~/.ssh/id_rsa_nq -C -N -L0.0.0.0:1234:qadb.aws.netquestapps.com:3306 bastion-us-east-1.netquest-apps.com
@aserrallerios
aserrallerios / gist:ab84100828cf2afa536a
Last active Aug 29, 2015
Bulk download from API with cURL
View gist:ab84100828cf2afa536a
#!/bin/zsh
echo "First parameter must be the CSV file containing the names and the ids separated by COMMAS"
echo "For example:
name,id
NAME_1,1234
NAME_2,1235
..."
if [[ -z $1 ]]; then
@aserrallerios
aserrallerios / Main.java
Last active Aug 29, 2015
crypto auth java
View Main.java
import java.nio.charset.Charset;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.util.Arrays;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import org.apache.shiro.codec.Base64;
You can’t perform that action at this time.