echo `ifconfig $(netstat -nr | grep -e default -e "^0\.0\.0\.0" | head -1 | awk '{print $NF}') | grep -e "inet " | sed -e 's/.*inet //' -e 's/ .*//' -e 's/.*\://'`- compare HEAD with most recent release to determine new semver level (fundemental/breaking changes = bump major, new feature-detects/publically-exposed-util = bump minor, update to existing code (in non behavior changing way) = bump patch). Github compare view is handy here (e.g. https://github.com/Modernizr/Modernizr/compare/v3.3.1...master)
- update package.json version to new semver version
- run
git tag ${semver}(e.g.git tag v3.4.0), then push the tags (git push --tags) - npm publish
- log into the modernizr.com server
cd ~/modernizr-neuenpm update && bower updatenpm run deploypm2 restart 0
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
| #Block the APNIC range of IP addresses - a common source of hacking attempts | |
| sudo ipfw -q add deny src-ip 43.0.0.0/8 | |
| sudo ipfw -q add deny src-ip 58.0.0.0/8 | |
| sudo ipfw -q add deny src-ip 59.0.0.0/8 | |
| sudo ipfw -q add deny src-ip 60.0.0.0/8 | |
| sudo ipfw -q add deny src-ip 61.0.0.0/8 | |
| sudo ipfw -q add deny src-ip 110.0.0.0/8 | |
| sudo ipfw -q add deny src-ip 111.0.0.0/8 | |
| sudo ipfw -q add deny src-ip 112.0.0.0/8 |
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
| # encoding: utf8 1,1 Top# encoding: utf8 | |
| import argparse | |
| from datetime import datetime | |
| import json | |
| from random import randint | |
| import requests | |
| import sys | |
| from time import sleep |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <playlist xmlns="http://xspf.org/ns/0/" version="1"> | |
| <title>WebTV</title> | |
| <creator>raspberry-remote</creator> | |
| <info>https://github.com/dennmtr/raspberry-remote</info> | |
| <trackList> | |
| <track> | |
| <title>ERT1</title> | |
| <location>https://www.youtube.com/watch?v=pFp1gkaq-gE</location> | |
| <extension application="https://github.com/dennmtr/raspberry-remote"> |
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
| #################################### | |
| # BASIC REQUIREMENTS | |
| # http://graphite.wikidot.com/installation | |
| # http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
| # Last tested & updated 10/13/2011 | |
| #################################### | |
| cd | |
| sudo apt-get update | |
| sudo apt-get upgrade |
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
| <?php | |
| /** | |
| * Plugin Name: WP ERP Extends | |
| * Description: Custom filters and hooks for WP ERP | |
| */ | |
| add_filter( 'erp_hr_employee_types', 'erp_hr_employee_types_custom_types' ); | |
| function erp_hr_employee_types_custom_types( $default_types ) { | |
| $custom_types = [ | |
| 'custom_type_1' => 'Custom Type 1', |
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
| jquery.js:8625 POST https://lsapi.seomoz.com/linkscape/url-metrics/?Cols=133211401440&AccessID=…ape-9db4aecd4a&Expires=1467498160&Signature=F5Kl3FwLjtEmwURftEGiqSEpyPk%3D 401 (Your authentication failed. Check your authentication details and try again. For more information on signed authentication, see: http://apiwiki.moz.com/signed-authentication) |
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
| # Configuration options for your blog - customise to taste | |
| # This file contains no secret information, so can be stored in source control (unlike database.yml) | |
| title: <Blog Title> | |
| url: <Blog URL> | |
| author: | |
| name: <Your Name> # For copyright notice and ATOM feeds | |
| email: <Your Email> # Exception emails will go here, and it is used in ATOM feeds | |
| open_id: # These are used to login to the admin area | |
| - <Your open_id url> # Mine is http://dekom.myopenid.com |


