Skip to content

Instantly share code, notes, and snippets.

View yashodhank's full-sized avatar
🎯
Manifesting

Yashodhan yashodhank

🎯
Manifesting
View GitHub Profile
@yashodhank
yashodhank / magento-repo-locations.csv
Created January 23, 2017 09:13 — forked from tegansnyder/magento-repo-locations.csv
Github Repos that contain Magento - listing location from owners profile (if available)
sailthru New York, NY sailthru/sailthru-magento-extension 2011-06-30 19:01:37 +0000 UTC
yireo Netherlands yireo/plg_magentoapi 2012-08-09 07:54:21 +0000 UTC
mferracioli São José do Rio Preto mferracioli/magento-pagseguro 2011-10-20 17:24:14 +0000 UTC
Vinai Germany Vinai/customer-activation 2012-07-20 06:21:41 +0000 UTC
jacquesbh Paris jacquesbh/jbh_connectas 2012-07-19 06:45:41 +0000 UTC
magento not found magento/magento2 2011-11-30 15:30:13 +0000 UTC
mollie Amsterdam, Netherlands mollie/Magento 2012-01-24 14:35:15 +0000 UTC
sheerid not found sheerid/sheerid-magento 2012-05-02 15:23:51 +0000 UTC
netz98 Mainz netz98/n98-magerun 2012-08-01 13:13:14 +0000 UTC
PayU Grunwaldzka 182, 60-166 Poznań PayU/plugin_magento 2012-05-16 20:04:10 +0000 UTC
@yashodhank
yashodhank / phpzmqinstall.sh
Created February 1, 2017 00:30 — forked from Kamisama666/phpzmqinstall.sh
Installation of ZeroMQ and php-zmq extension on Ubuntu 14.04. Must be run as root
#!/bin/bash
cd /tmp
apt-get update
apt install -y libtool pkg-config build-essential autoconf automake uuid-dev git wget
git clone git://github.com/jedisct1/libsodium.git
cd libsodium/
./autogen.sh
./configure && make check
make install
ldconfig
@yashodhank
yashodhank / iterm2-solarized.md
Created February 1, 2017 01:09 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@yashodhank
yashodhank / Backup site plan.txt
Created February 1, 2017 06:21
SYSADMIN: Collection of useful commands and configs
#### Backup web directories ####
cd /data/web/; for i in */; do tar -cvzf "${i%/}-$(date '+%Y%m%d').tar.gz" "$i"; done;
find / -iname "*-.tar.gz" -exec mv {} /data/backups/web \;
#### Backup sql ####
sudo service mysql stop;
sudo mysqld_safe --skip-grant-tables &
cd /data/backups/sql;
for I in $(mysql -u root -e 'show databases'); do mysqldump -u root $I | gzip > "$I.sql.gz"; done;
#find . -type f -name '*.sql.gz' -exec mv {} /data/backups/sql \;
@yashodhank
yashodhank / user.sql
Created February 17, 2017 22:17 — forked from drmmr763/user.sql
mautic user
INSERT INTO `users` (`id`, `role_id`, `is_published`, `date_added`, `created_by`, `created_by_user`, `date_modified`, `modified_by`, `modified_by_user`, `checked_out`, `checked_out_by`, `checked_out_by_user`, `username`, `password`, `first_name`, `last_name`, `email`, `position`, `timezone`, `locale`, `last_login`, `last_active`, `online_status`, `preferences`)
VALUES
(2, 1, 1, '2015-04-01 15:15:07', 1, 'Nobody', NULL, NULL, NULL, NULL, NULL, NULL, 'madmin', '$2y$13$VkE7UjFetqAM13oT4v/VYOfRCGrJ4hbr0zuwRZo6KVfDnNb16WFwy', 'Administrator', 'Uuser', '[email protected]', NULL, NULL, NULL, NULL, NULL, 'offline', 'N;');
@yashodhank
yashodhank / kali-usb.md
Created February 19, 2017 13:55 — forked from chrisdiana/kali-usb.md
Kali with USB Persistence

Kali USB Persistence


1.Partition USB to 3 sections (KaliLinux, Persistence, USBStorage)

2.Run Mac Linux USB Loader for KaliLinux partition and install with iso

3.In KaliLinux partition, set 'efi/boot/enterprise.cfg' to this:

@yashodhank
yashodhank / kali-linux-wl-fix.sh
Last active November 13, 2017 11:43 — forked from speeddragon/kali-linux-wl-fix.sh
Kali Linux fix for "modprobe: FATAL: Module wl not found"
# Update and install necessary packages
apt-get update
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
# Download some extra packages, that do the trick for "wl module not found"
wget http://http.kali.org/kali/pool/main/l/linux-tools/linux-kbuild-4.3_4.3.1-2kali1_amd64.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-common_4.3.3-5kali4_amd64.deb
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-amd64_4.3.3-5kali4_amd64.deb
# Install with correct order
#!/bin/sh
DEBUG="0"
VERBOSE="0"
ELITE="0"
USERID=""
IFACE=""
checkvm_status=""
MAC80211=0
IW_SOURCE="https://www.kernel.org/pub/software/network/iw/iw-4.7.tar.xz"
IW_ERROR=""
@yashodhank
yashodhank / LAMP_Stack_Installation.md
Created March 17, 2017 16:44 — forked from dhavalv/LAMP_Stack_Installation.md
Document for lamp stack is only apache 2.4 & php5.6 Installation...

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 12.04

About Lemp

LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual private server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest.

If any existing lamp installation & you need to upgrade your old server, uninstall all things & backup first all databases & files.

sudo apt-get purge php5*
@yashodhank
yashodhank / zeromq.sh
Created March 17, 2017 23:49 — forked from mnlcandelaria/zeromq.sh
How to install ZeroMQ on Ubuntu
# run in sudo
# Before installing, make sure you have installed all the needed packages
sudo apt-get install libtool pkg-config build-essential autoconf automake
sudo apt-get install libzmq-dev
# Install libsodium
git clone git://github.com/jedisct1/libsodium.git
cd libsodium
./autogen.sh
./configure && make check