Skip to content

Instantly share code, notes, and snippets.

View ParaSpl01t's full-sized avatar
πŸ™ƒ
Procrastinating

Tushar ParaSpl01t

πŸ™ƒ
Procrastinating
View GitHub Profile
@parth812
parth812 / UPIPaymentActivity.java
Last active May 9, 2024 17:24
How to make UPI to UPI payment in android and get confirmation status, without any payment gateway integration.
package com.parthdarji812;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.widget.Toast;
import com.wlc.utils.AppUtils;
import java.util.ArrayList;
@LnLcFlx
LnLcFlx / archlogo.txt
Last active October 10, 2025 23:00
Arch Linux logo using unicode block characters
\033[38;2;23;147;209m β–„
β–Ÿβ–ˆβ–™
β–Ÿβ–ˆβ–ˆβ–ˆβ–™
β–Ÿβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–™
β–Ÿβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–™
β–‚β–”β–€β–œβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–™
β–Ÿβ–ˆβ–ˆβ–…β–‚β–β–œβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–™
β–Ÿβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–™
β–Ÿβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–™
β–Ÿβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–™
@bradtraversy
bradtraversy / node_nginx_ssl.md
Last active October 17, 2025 20:13
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@micky2be
micky2be / Makefile
Last active September 2, 2017 07:45
Makefile for Cordova publish
SCRIPTS = ./scripts
RESOURCES = ./resources
BIN = ${shell npm bin}
JSDOC = $(BIN)/jsdoc
null :=
SPACE := $(null) $(null)
# Configuration: Git releases
@simsam7
simsam7 / Compiling-release-APK-for-Android-using-Cordova
Created March 12, 2014 19:11
Compiling release APK for Android using Cordova
Had some 'fun' doing this the first time around, so posting it here for myself & hopefully will help others too :-)
Not going into all the details, you should have Cordova, Android SDK, etc installed, your app created & tested etc, this is for the point where you want to submit your glorious new shiny app to the Google Play Store and you suddenly realize that you're running into things like, how to get a release APK created using Cordova.
1. Create a key if you don't have one, e.g. http://developer.android.com/tools/publishing/app-signing.html#cert
2. Alter your ...\platforms\android\AndroidManifest.xml, set debuggable to false:
android:debuggable="false"
3. Create file 'custom_rules.xml' under platforms\android, put this in there:
@discomplex
discomplex / conkytoggle
Last active June 27, 2024 06:45
CONKY TOGGLE INSTRUCTIONS [turn your conky on/off with a keyboard shortcut]
#CONKY TOGGLE INSTRUCTIONS [turn your conky on/off with a keyboard shortcut]
#Code borrowed from several forums... don't quite rememeber where I found it exactly ;)
#Better used with GNU/Linux CrunchBang <3 #! http://crunchbang.org/donate
---------------------------------------------------------------
#1) Paste the following uncommented line into a blank file:
if pgrep conky; then pkill conky; else conky; fi
@quchen
quchen / trolling_haskell
Last active October 10, 2025 04:32
Trolling #haskell
13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF
| FUCKIN PUSSIES
13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS
13:16 <luite> | hello
13:16 <ChongLi> | somebody has a mental illness!
13:16 <merijn> | Wow...I suddenly see the error of my ways and feel
| compelled to write Node.js!
13:16 <genisage> | hi
13:16 <luite> | you might be pleased to learn that you can compile
| haskell to javascript now