Python symbol | Description |
---|---|
print |
print "Something" . print "This", 25 the , allows us to join a string and another string, number or variable together. , also allows us to join things on the same line (space separated): print "this",; print "that" . |
""" |
Can be used as either a code block (wrap with three """ or to print a block of text print """ ) |
== != |
Equal to, Not equal to |
< > <= >= |
Less-than, Greater-than, less-than-equal, greater-than-equal |
+= -= |
Original variable with + or - the value to the right of the symbol. E.g x = 1 so x += 1 is now equal to 2 |
; |
The semi-colon allows us to write commands on one line, e.g variableOne = 1; variable2 = 2 |
This file contains 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
# Some handy snippets for Cardinal Stylus framework |
This file contains 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
# Some handy Stylus snippets for Material Design | |
- https://github.com/badlydrawnrob/cardinal-material |
This file contains 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
// Homepage search ============================= | |
// - #1: Example of column > row stacking: | |
// http://codepen.io/HugoGiraudel/pen/pkwqH | |
// - #2: Remove `overflow:hidden` to align input with button | |
// - #3: flex: 0 1 100%; breaks layout on mobile safari | |
// width: 100% is required for some reason! | |
@selectize-color-border: @color-primary; | |
@selectize-color-item-active-border: @color-primary; | |
@selectize-border-radius: 0; |
This file contains 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains 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
# editorconfig.org | |
root = true | |
[*] | |
indent_style = tab | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains 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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
This file contains 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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/query.php | |
*/ | |
$args = array( |
This file contains 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
// | |
// | |
// Forms | |
// ==================================================================== | |
form { | |
margin: 0 0 @line-height-base; | |
} | |
label { | |
display: block; |
NewerOlder