Forked from Captain Anonymous's Pen vLQvRx.
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
| Start-AzureVM -ServiceName $serviceName -Name * |
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
| .console-line | |
| { | |
| font-family: monospace; | |
| margin: 2px; | |
| } |
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
| # Remove all images | |
| docker rmi $(docker images -q) | |
| # Remove all untagged images | |
| docker rmi $(docker images | grep "^<none>" | awk '{print $3}') | |
| # Remove all running containers | |
| docker rm -f $(docker ps -a -q) | |
| # Remove all tangling volumes |
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
| # | |
| # Font derived from LED Matrix Studio file: fontv.h | |
| # | |
| # The first element in each array variable is the width of the character | |
| # The remaining 8 elements are the decimal value for each row of | |
| # the character to display | |
| # | |
| # EG for the 'A' character | |
| # | |
| # | *** | = 011100(28) |
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
| <section id="languages" class="row"> | |
| <aside class="col-sm-3"> | |
| <h3>Languages</h3> | |
| </aside> | |
| <div class="col-sm-9"> | |
| <div class="row"> | |
| <div class="col-sm-6"> | |
| <div class="language"> | |
| <strong>Greek</strong> | |
| </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
| import { NativeKeyboardMock } from './../native/services/native-keyboard.service.mock'; | |
| import { Events, Platform, AlertController } from 'ionic-angular'; | |
| import { MockGenerator } from './../mocks/mock-generator.helper'; | |
| import { TabsPageComponent } from './tabs-page'; | |
| import { NativeKeyboard } from '../native/services/native-keyboard.service'; | |
| import { Observable } from 'rxjs/Observable'; | |
| describe('Tabs tests', function () { | |
| let sut: TabsPageComponent = null; |
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 | |
| import sys | |
| import time | |
| import fontv | |
| import ldp | |
| # the matrix is a representation of the led's that are lit on the 80x8 display | |
| # | |
| matrix=[[0 for i in xrange(80)] for i in xrange(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
| // Actual code | |
| ... | |
| public ngOnInit() { | |
| Observable.interval(3000) | |
| .takeUntil(this._componentDestroyed) | |
| .subscribe(() => this._statusStore.refreshStatus()); | |
| } | |
| // Test Code | |
| import { fakeAsync, tick, discardPeriodicTasks } from '@angular/core/testing'; |
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
| import { AccordionTabComponent } from './accordion-tab.component'; | |
| import { AccordionComponent } from './accordion.component'; | |
| describe('AccordionTab::Component', function () { | |
| let accordionComponent: AccordionComponent; | |
| let sut: AccordionTabComponent; | |
| beforeEach(function () { | |
| accordionComponent = new AccordionComponent(); | |
| sut = new AccordionTabComponent(accordionComponent); | |
| }); |