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
# Checkout the branch | |
git checkout branchname | |
# Get the latest master | |
git fetch | |
# Set to lastest master | |
git rebase origin/master | |
# Push changes |
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
<!-- item template --> | |
<script type="text/x-template" id="item-template"> | |
<li> | |
<div | |
:class="{bold: isFolder}" | |
@click="toggle" | |
@dblclick="changeType"> | |
{{ model.name }} | |
<span v-if="isFolder">[{{ open ? '-' : '+' }}]</span> | |
</div> |
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
| Variable | Output | | |
|--|--| | |
| %s | String | | |
| %d | Integer | | |
| %f | Float Point Value | | |
| %o | DOM Object | | |
| %0 | JavaScript Object | | |
| %c | Apply CSS Rules | | |
Example: |
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
-- Show Last Login(s) | |
last -10 | |
-- Show Successful Logins | |
grep -i login /var/log/system.log | |
-- Show Failed Attempts | |
grep -i authe /var/log/system.log |
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
stages: | |
- stage: Build | |
jobs: | |
- job: Build | |
pool: | |
vmImage: 'Ubuntu-16.04' | |
continueOnError: true | |
steps: | |
- script: echo my first build job | |
- stage: Deploy |
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
Setup | |
----- | |
git clone <repo> | |
clone the repository specified by <repo>; this is similar to "checkout" in | |
some other version control systems such as Subversion and CVS | |
Add colors to your ~/.gitconfig file: | |
[color] |
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
' PASTE INTO IMMEDIATE WINDOW | |
for each sh in worksheets: sh.visible=true: next sh |
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
mixin with(val) | |
<!-- ko with: !{val} --> | |
block | |
<!-- /ko --> | |
mixin if(val) | |
<!-- ko if: !{val} --> | |
block | |
<!-- /ko --> |
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
Date | Description | Original Description | Amount | Transaction Type | Category | Account Name | Labels | Notes |
---|
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
{ | |
"Example Wrapper": { | |
"prefix": "bsmd", | |
"body": [ | |
"<div style=\"padding: 1.5rem; margin: 0; border: 0.2rem solid #F8F9FA;\">", | |
"", | |
"$TM_SELECTED_TEXT", | |
"", | |
"</div>" | |
], |