http://selenium-python.readthedocs.org/en/latest/getting-started.html
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
function foo ( red, blue ) { | |
// default value for red is true. | |
red = typeof red !== 'undefined' ? red : true; | |
// default value for blue is 55. | |
blue = typeof blue !== 'undefined' ? blue : 55; | |
console.log( red ); | |
console.log( blue ); | |
} |
List all the conflicts:
svn st | grep '^C'
To mark a file as executable:
svn propset svn:executable '' [filename]
Delete all unversioned files:
First generate a patch for others to apply.
For this we use diff
where the first argument shall be the original file or directory where did you started making the modifications and the second should be a version of the file or directory with the modifications already made.:
diff -Naur old_file new_file > your_patch_filename.patch
or (if applied against directories):
diff -Naur old_dir new_dir > your_patch_filename.patch
The options on these diff commands are the following
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
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U |
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
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user |
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
bom.db |
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
*.pyc | |
*.db |
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
#!/usr/bin/python | |
# | |
# by Nathan Grigg http://nb.nathanamy.org | |
# | |
import sys | |
import argparse | |
import os.path | |
from subprocess import Popen,PIPE |
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
server { | |
listen 80; | |
server_name app.example.com; | |
rewrite ^ https://$server_name$request_uri? permanent; | |
} | |
server { | |
listen 443; | |
server_name app.example.com; |