Skip to content

Instantly share code, notes, and snippets.

View Nav-Appaiya's full-sized avatar
🏠
Available

Nav Appaiya Nav-Appaiya

🏠
Available
View GitHub Profile
@topdown
topdown / CI_phpStorm.php
Created January 29, 2012 05:21
Code Completion for CodeIgniter in phpStorm
<?php die('This file is not really here!');
/**
* ------------- DO NOT UPLOAD THIS FILE TO LIVE SERVER ---------------------
*
* Implements code completion for CodeIgniter in phpStorm
* phpStorm indexes all class constructs, so if this file is in the project it will be loaded.
* -------------------------------------------------------------------
* Drop the following file into a CI project in phpStorm
* You can put it in the project root and phpStorm will load it.
@barryvdh
barryvdh / _ide_helper.php
Last active May 6, 2024 07:45
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");
@Nav-Appaiya
Nav-Appaiya / FeedBurner.php
Created June 22, 2015 18:49
My FeedBurner class for pulling in news
<?php
/**
* Created by PhpStorm.
* User: Nav
* Date: 7-6-2015
* Time: 20:21
*/
namespace Nav\ToolBoxBundle\Controller;
@Nav-Appaiya
Nav-Appaiya / keychain.md
Last active August 29, 2015 14:25
Backup your keychain

Backup your KeyChain on Mac OS X

Nav Appaiya, 23 July 2015

  • 2 Locations to backup
  • /Library/Keychains/System.keychain => Your keychain (could be more than just 1)
  • Dont forget the second file at /var/db/SysemKey
  • This last file is the key to unlock your keychain.. ur locked out without it!!
@Nav-Appaiya
Nav-Appaiya / reset-phpstorm.sh
Last active October 1, 2023 12:07
Purge PHPStorm 9.x Settings on OSX Yosemite
# PHPStorm v9.0
rm -rf ~/Library/Application\ Support/WebIde90
rm -rf ~/Library/Cache/WebIde90
rm -rf ~/Library/Preferences/WebIde90
# PHPStorm v10.0
rm -rf ~/Library/Application\ Support/WebIde100
rm -rf ~/Library/Cache/WebIde100
rm -rf ~/Library/Preferences/WebIde100
@Nav-Appaiya
Nav-Appaiya / gist:1ec0b99071a3859e2bb3
Last active August 29, 2015 14:26
HTML5 + bootstrap basic template using CDN
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
@Nav-Appaiya
Nav-Appaiya / file.md
Created October 23, 2015 19:24 — forked from nicolewhite/file.md
Datasets for Graph Hack.

Datasets for Graph Hack 2014.

All stores are Neo4j 2.1.3.

Transportation

What is related, and how?

Flight	ORIGIN Airport
@yorammi
yorammi / 2repos-sync.sh
Last active January 11, 2024 07:25
Sync 2 remote repositories script - Just define the 3 variables (use export command for that!)
#!/bin/bash
# REPO_NAME=<repo>.git
# ORIGIN_URL=git@<host>:<project>/$REPO_NAME
# REPO1_URL=git@<host>:<project>/$REPO_NAME
rm -rf $REPO_NAME
git clone --bare $ORIGIN_URL
if [ "$?" != "0" ]; then
echo "ERROR: failed clone of $ORIGIN_URL"
@Nav-Appaiya
Nav-Appaiya / _ide_helper.php
Created July 10, 2016 11:51
Laravel 5 IDE Helper for PHPSTORM
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.1.31 (LTS) on 2016-03-01.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
@clarketm
clarketm / google-dorks
Created January 30, 2017 10:01 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!