Skip to content

Instantly share code, notes, and snippets.

View automaticalldramatic's full-sized avatar
🦊
this is a useless feature

riz automaticalldramatic

🦊
this is a useless feature
View GitHub Profile
@automaticalldramatic
automaticalldramatic / Exercises.md
Last active April 9, 2018 10:04
All those interviews, gave me a good list of interview questions that people generally ask.

Front end coding challenge

Building a simple Web-Application for Analyzing Web-Sites

The objective is to build a web-application that does some analysis of a web-page/URL.

  • The application should show a form with a text-field thus the user can type in the URL of the webpage being analyzed.
  • Additionally to form should contain a button for sending the input to the server as well as to trigger the server-side analysis process.
  • After processing the results should be shown to the user in terms of a simple table below to the form. The result comprises the following information:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text
@automaticalldramatic
automaticalldramatic / laravel-installation.md
Last active December 21, 2015 17:49
Laravel - A collection of gists to help me with my laravel setup
@automaticalldramatic
automaticalldramatic / homebrew-php55.md
Last active December 22, 2015 02:18
Trouble installing php55
dragonstone:~ rizwan$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install php55 2>&1
==> Downloading http://www.php.net/get/php-5.5.3.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php55-5.5.3
tar xf /Library/Caches/Homebrew/php55-5.5.3
==> ./configure --prefix=/usr/local/Cellar/php55/5.5.3 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/etc/php/5.5 --with-config-file-scan-dir=/usr/local/etc/php/5.5/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-xsl=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/
@automaticalldramatic
automaticalldramatic / homebew.md
Last active December 24, 2015 09:38
A gist of all important brew command to run on a new machine. I like brew and its the only (hence the best) package manager available on a mac. I still prefer the synaptic package manager compared to homebrew

Homebrew setup on a new mac

Install HomeBrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Get updates from http://brew.sh/

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

'use strict';
module.exports = function(grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
// configurable paths
var paths = {
@automaticalldramatic
automaticalldramatic / gist:5d83f8dc8d7c6d3ff675
Created June 4, 2015 13:22
Git Flow Values for RE-Quikr
gitflow.branch.master The name of the branch treated as master. Default: master.
gitflow.branch.develop The name of the branch treated as develop. Default: dev.
gitflow.prefix.feature The prefix for feature branches. Default: feature/.
gitflow.prefix.release The prefix for release branches. Default: release/.
gitflow.prefix.hotfix The prefix for hotfix branches. Default: hotfix/.
gitflow.prefix.support The prefix for support branches. Default: support/.
gitflow.prefix.versiontag The prefix for version tags. Default: empty.
gitflow.origin The name of the remote treated as origin. Default: origin.