Here are links from a discussion held during the Melb Django Peer to Peer Learning Night | Meetup on 2018-08-02 at Commoncode.
We covered some challenges that CSS presents:
- specificity,
- source ordering,
- scoping;
Here are links from a discussion held during the Melb Django Peer to Peer Learning Night | Meetup on 2018-08-02 at Commoncode.
We covered some challenges that CSS presents:
made with esnextbin
I hereby claim:
To claim this, I am signing this object:
| # http://stackoverflow.com/questions/12723375/python-line-highlight-on-sublime-text-2-from-ipdb | |
| import pdb | |
| from PdbSublimeTextSupport import preloop, precmd | |
| pdb.Pdb.preloop = preloop | |
| pdb.Pdb.precmd = precmd | |
| try: | |
| from ipdb.__main__ import Pdb as ipdb_Pdb | |
| except ImportError: |
This handy 'alias' is actually a bash function allowing you to run bs from the directory you want to serve, giving you a dev server, with live reload, directory indexes, and the goodness of sync'd scrolling across multiple devices!
It prints out the command that's run and a link to the docs so that I don't completely forget what I'm actually doing!
bs() {
echo
echo "browser-sync start --server --directory --files \"**\""
echo "http://www.browsersync.io/docs/command-line/"
echo
browser-sync start --server --directory --files "**"
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>D3 Sheetsu</title> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| <style> | |
| * { | |
| box-sizing: border-box; | |
| } | |
| body { |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Update Route53 DNS A name record for home IP. | |
| # | |
| # Uses the *route53* library, rather than boto. | |
| from __future__ import print_function | |
| import os | |
| import re |
| import sublime, sublime_plugin | |
| ''' | |
| Paste the current file's Relative Path From Project (Encoded). | |
| Requires https://github.com/titoBouzout/SideBarEnhancements to be installed | |
| First save this file as: | |
| ~/Library/Application Support/Sublime Text 3/Packages/User/paste-path.py | |
| More details about writing plugins: http://docs.sublimetext.info/en/latest/reference/plugins.html |
| import sublime, sublime_plugin | |
| ''' | |
| A response to: http://stackoverflow.com/questions/19831757/how-to-create-macro-in-sublime-text-3-with-saveas-and-close-file-command | |
| Save the current file with encoding UTF8, then close. | |
| To trigger the command with 'Command Option Shift 8', | |
| add the following to your Sublime Text > Preferences > Keybindings - User |