Skip to content

Instantly share code, notes, and snippets.

View nexxos's full-sized avatar

Oliver Schafeld nexxos

View GitHub Profile
@nexxos
nexxos / RWD Cheat Sheet
Last active December 25, 2015 12:29
Cheat sheet for responsive web design / media queries.
<!DOCTYPE HTML>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
<title>test</title>
<style type="text/css">
h1 {
text-align:center;
}
@nexxos
nexxos / Tips & Tools for Frontend Web Developers
Last active December 25, 2015 20:49
Collection of links to tools and tricks for frontend web developers.
### Manuals, Specs and Documentation
# DevDocs
http://devdocs.io/
# Best Practices
http://bp.sapient-lab.com/
## Focus on forms (in ascending specificity)
@nexxos
nexxos / dabblet.css
Created October 25, 2013 11:21
Login form
/**
* Login form
*/
/* Inspired by : http://dribbble.com/shots/307980-Ticket
* Found here: http://medleyweb.com/resources/css-form-examples-tools-and-solutions/
* On CodePen: http://codepen.io/nexxos/pen/FoDbx
*/
* {
box-sizing:border-box;
@nexxos
nexxos / Windows CLI equivalents to Linux or Mac OSX
Created December 18, 2013 10:13
Notes for Windows CLI equivalents to Linux and/or Mac OSX. First line is Linux/OSX, second line Windows. (File extensions used for legibility / analogy's sake.)
# Create new file:
touch newfile.txt
type nul >> newfile.txt
# Open file (from current directory) in default application:
open newfile.txt
@nexxos
nexxos / github-dalek-test
Last active August 29, 2015 14:05
Dalek script for Tutsplus article, adapted for changed Github frontpage. Article: https://code.tutsplus.com/tutorials/google-chrome-hegemony--cms-21478
var url = 'https://github.com/';
module.exports = {
'should perform search in GitHub': function (test) {
test
.open(url)
// .type('#js-command-bar-field', 'dalek')
.type('body > div.wrapper > div.header.header-logged-out > div > div.site-search.js-site-search > form > input[type="text"]', 'dalek')
// .submit('#top_search_form')
.submit('.js-site-search-form')
.assert.text('.repolist h3 a', 'dalekjs/dalek', 'There is a link with label dalekjs')