This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create new file: | |
touch newfile.txt | |
type nul >> newfile.txt | |
# Open file (from current directory) in default application: | |
open newfile.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Manuals, Specs and Documentation | |
# DevDocs | |
http://devdocs.io/ | |
# Best Practices | |
http://bp.sapient-lab.com/ | |
## Focus on forms (in ascending specificity) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Document title</title> | |
<meta charset='utf-8'> | |
<meta name='description' content='Description of document content'> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find files named aida.pdf, aida.png, etc. anywhere | |
find ~/* -name "aida*" | |
# More on find | |
# http://www.codecoffee.com/tipsforlinux/articles/21.html | |
# Show size of subdirectories, total | |
# disk usage (estimated) | sorted by numerical value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Haupt-FTP Passwort ist gleichzeitig SSH Passwort | |
# per SSH anmelden: | |
ssh [email protected] | |
mkdir repo | |
cd repo | |
git init --bare my_repo.git | |
# Repo auf dem lokalen Rechner klonen: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
☼ ☀ ☉ ☽ ☾ ☁ ☂ ☔ ☃ ★ ☆ ✩ ✭ ✮ ✯ ☞ ☜ ✌ ☹ ☺ ✆ ☠ ⚠ | |
⚡ ♩ ♪ ♫ ♬ ☕ ⌚ ⌛ ✎ ∀ ∃ ∅ √ ∫ ∩ ∪ ∨ ∧ ∡ ∞ ℃ ™ ⌘ ⌫ ⌥ ⏎ ␛ 𝄞 | |
✿ | |
┌───┬───┐ | |
| | │ | |
├───┼───┤ | |
│ │ │ | |
└───┴───┘ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command line crypting text files (Mac/Linux). | |
# Encrypting: | |
openssl aes-256-cbc -a -salt -in text_original.txt -out text_encrypted.txt | |
# Decrypting: | |
openssl aes-256-cbc -d -a -in text_encrypted.txt -out text_decrypted.txt |
NewerOlder