Skip to content

Instantly share code, notes, and snippets.

@aczietlow
aczietlow / selenium-php-webdriver-cheatsheet.md
Last active March 6, 2024 22:48 — forked from huangzhichong/selenium-webdriver-cheatsheet.md
Cheat sheet for using php webdriver (facebook/webdriver).

Webdriver PHP API workthough

  • Open a browser

    # start an instance of firefox with selenium-webdriver
    
    $browser_type = 'firefox'
    $host = 'http://localhost:4444/wd/hub'
    

$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);

@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
@denji
denji / README.md
Last active April 26, 2024 18:09 — forked from istepanov/gist:3950977
Remove/Backup – settings & cli for macOS (OS X) – DataGrip, AppCode, CLion, Gogland, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm
@jvns
jvns / interview-questions.md
Last active May 14, 2024 18:47
A list of questions you could ask while interviewing

A lot of these are outright stolen from Edward O'Campo-Gooding's list of questions. I really like his list.

I'm having some trouble paring this down to a manageable list of questions -- I realistically want to know all of these things before starting to work at a company, but it's a lot to ask all at once. My current game plan is to pick 6 before an interview and ask those.

I'd love comments and suggestions about any of these.

I've found questions like "do you have smart people? Can I learn a lot at your company?" to be basically totally useless -- everybody will say "yeah, definitely!" and it's hard to learn anything from them. So I'm trying to make all of these questions pretty concrete -- if a team doesn't have an issue tracker, they don't have an issue tracker.

I'm also mostly not asking about principles, but the way things are -- not "do you think code review is important?", but "Does all code get reviewed?".

@sairam
sairam / etc-init.d-redis.conf
Last active October 16, 2018 17:29
Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. This works on Fedora. After adding the description for chkconfig the error "service redis_6379 does not support chkconfig" disappeared.
#!/bin/sh
#
# redis - this script starts and stops the redis daemon
#
# chkconfig: - 85 15
# description: Redis is an open source, BSD licensed, advanced \
# key-value store. It is often referred to as a \
# data structure server since keys can contain \
# strings, hashes, lists, sets and sorted sets.
# processname: redis
@istepanov
istepanov / gist:3950977
Created October 25, 2012 07:00
Remove PHPStorm settings from Mac OS X 10.8 Mountain Lion
#!/usr/bin/sh
rm -rf "$HOME/Library/Preferences/WebIde40"
rm -rf "$HOME/Library/Caches/WebIde40"
rm -rf "$HOME/Library/Application Support/WebIde40"
rm -rf "$HOME/Library/Logs/WebIde40"
@davidwkeith
davidwkeith / index.html
Last active April 10, 2024 12:01
NOTE: This was a great hack in days gone by, but now both Apple and Google have improved their support for custom protocol handlers. Licensed under the WFTPL http://www.wtfpl.net/txt/copying/
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>App Redirection</title>
</head>
<body>
<!--
NOTE: This was a great hack in days gone by, but now both Apple and Google have improved their support for custom
protocol handlers.