Skip to content

Instantly share code, notes, and snippets.

View obeid's full-sized avatar
😷
Still masking

Talal Obeid obeid

😷
Still masking
View GitHub Profile
@matula
matula / dev.md
Last active August 29, 2015 13:59
Things a "full stack" developer needs to know

##Things a "full stack" developer needs to know...

  • Backend Languages/ Scripting - specializing in (at least) one, but knowledgable of others: PHP, Python, Ruby, Java, Go, Perl. Bonus points for Erlang, C, C++
  • Unix Shell/Terminal/Console - sh, bash, zsh
  • Frontend Languages/ Scripting - HTML5, CSS3, Javascript
  • Frameworks - the most popular for each language: Symfony, Zend, Laravel, Django, Flask, Pylons, Rails, Sinatra, Play, Grails, Revel, Node, Angular, Backbone
  • Frontend Frameworks - Bootstrap, LESS, SASS
  • IDEs/Code Editors - PHPStorm, Sublime, Eclipse, NetBeans, xCode, Vim
  • OSes - OSX, Linux (Ubuntu 12+, CentOS, Arch), Unix, bonus points for Windows
  • Servers - Apache, Nginx
  • Databases - relational: MySQL, PostgreSQL, SQLite ... non-relational: Mongo, Couch, Cassandra, Redis
@H2CO3
H2CO3 / Ubuntu-Macbook-Setup.md
Created April 27, 2015 18:43
Ubuntu Retina MacBook Pro mid-2014 UI and general Setup

Set up Wi-Fi:

sudo apt-get install bcmwl-kernel-source
sudo modprobe wl

in the file /etc/modules, add the line

wl

in order to start up the wireless service upon reboot.

@mrmrs
mrmrs / vimrc-front-end
Created August 6, 2013 19:48
VIMRC for vim beginners that are Front End Developer types.
set nocompatible
set title
set number " Show line numbers
set history=1000 " Default is 20, I'd rather set this to ∞
set nofoldenable " Don't fold shit
set laststatus=2 " Always show file status line
set encoding=utf-8
setlocal tabstop=4
setlocal shiftwidth=4
#
# to make it work use the multithreaded version like `make -j4`
#
BINPATH = ./node_modules/.bin
SRCDIR = src
TARGETDIR = dist
SUBDIRS = $(SRCDIR) $(TARGETDIR) $(BINPATH)
JSSRC = $(shell find $(SRCDIR)/js -type f -name '*.js')
CSSSRC = $(SRCDIR)/css/main.css
JSTARGET = $(TARGETDIR)/app.js
@hugorodgerbrown
hugorodgerbrown / thesaurus.py
Created July 18, 2012 07:02
Look up words using Big Huge Thesaurus API
'''
Command line script used to grab synonyms off the web using a thesaurus api.
The words come from the "Big Huge Thesaurus", and I make no claims about the
results. In order to use this script you will need a valid API key, which is
available, for free (up to 10,000 calls / day), from here - http://words.bighugelabs.com/getkey.php
If you're really lazy, you can just use my key - eb4e57bb2c34032da68dfeb3a0578b68
but I'd rather you didn't. Thanks.
Examples:
@wookiecooking
wookiecooking / aliases.sh
Created November 30, 2013 00:52
[Shell] Assortment of OSX influenced bash aliases and functions
# Rails Stuff
alias stoprails='kill -9 $(lsof -i :3000 -t)'
alias startrails='rails server -d'
alias restartrails='stopRails && startRails'
#Check PHP For Erroes
alias phpcheck='find ./ -name \*.php | xargs -n 1 php -l'
# ROT13-encode text. Works for decoding, too! ;)
alias rot13='tr a-zA-Z n-za-mN-ZA-M'
@nijikokun
nijikokun / about.md
Last active June 25, 2020 13:57
Revival minimal github pages theme (original by @orderedlist)

Revival Minimal Theme for Github Pages

I was tired of the unreadable minimal theme by @orderedlist so I overhauled the font sizing and typography to generate this beautiful modern style for forward thinking open source projects to use.

If you've ever used Gitbook, you'll be familiar with my modern / crisp styling and attention to detail.

Preview

Install

Build your own private, encrypted, open-source Dropbox-esque sync folder

Prerequisites:

  • One or more clients running a UNIX-like OS. Examples are given for Ubuntu 12.04 LTS, although all software components are available for other platforms as well (e.g. OS X). YMMV
  • A cheap Ubuntu 12.04 VPS with storage. I recommend Backupsy, they offer 250GB storage for $5/month. Ask Google for coupon codes.

Software components used:

  • Unison for file synchronization
  • EncFS for folder encryption
@mgmilcher
mgmilcher / gist:5eaed7714d031a12ed97
Last active March 28, 2023 14:53
Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X

This is my take on how to get up and running with NGINX, PHP-FPM, MySQL and phpMyAdmin on OSX Yosemite.

This article is adapted from the original by Jonas Friedmann. Who I just discovered is from Würzburg in Germany. A stonesthrow from where I was born ;)

Xcode

Make sure you have the latest version of XCode installed. Available from the Mac App Store.

Install the Xcode Command Line Tools:

xcode-select --install

@TheMightyLlama
TheMightyLlama / jira-curl.sh
Last active November 16, 2023 18:22
Perform actions on a jira issue via curl
#Creates a new issue with custom fields
curl -D- -u uname:pass -X POST --data "{\"fields\": {\"project\": { \"id\": \"10430\" },\"summary\": \"This is a test issue\", \"description\": \"Description\",\"issuetype\": { \"id\" : \"1\"}, \"components\" : [{\"id\":\"10731\"}], \"customfield_10711\" : [{\"id\":\"10500\"}] } }" -H "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/issue/
#Returns all information for all versions
curl -D- -u uname:pass -X PUT -d "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/project/AN/versions?
#Returns all issues in a version
#This URL requires the version ID of a single version which is provided by the above query
curl -D- -u uname:pass -X PUT -d "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/search?jql=project="AN"+AND+fixVersion='12345'