Skip to content

Instantly share code, notes, and snippets.

View thedevankit's full-sized avatar
🏠
Working from home

Ankitkumar Singh thedevankit

🏠
Working from home
View GitHub Profile
@thedevankit
thedevankit / firebase-receiver.html
Created January 31, 2018 03:16 — forked from jeromeetienne/firebase-receiver.html
firebase - example - one webpage sending data to another
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
// YOUR CONFIG goes here - https://firebase.google.com/docs/web/setup#add_firebase_to_your_app
};
var firebaseApp = firebase.initializeApp(config);
var rootRef = firebase.database().ref();
// Get a reference to the /users/ada node
var adaRef = firebase.database().ref("users/ada");
@thedevankit
thedevankit / pdf-thumbnail-php.md
Created September 25, 2017 11:49 — forked from umidjons/pdf-thumbnail-php.md
Creating PDF thumbnails in PHP

Creating PDF thumbnails in PHP

Install Ghostscript

Download and install right version of ghostscript. In my case my PHP was x86 architecture, so I download Ghostscript 9.14 for Windows (32 bit).

Enable ImageMagick

@thedevankit
thedevankit / admin.perl
Created May 30, 2017 06:48 — forked from kenkit/admin.perl
admin finder perl
#!/usr/bin/perl
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
#
# ////////////////////////////////////
# dOcToR N!nja
# ////////////////////////////////////
#
# Title : PHPmyadmin Finder
# Category : Remote