echo $0
using backtick (`)
somecommand `anothercommand`
| from datetime import datetime | |
| from sqlalchemy import Column, Integer, DateTime, ForeignKey | |
| from sqlalchemy.orm import relationship | |
| from sqlalchemy.ext.declarative import declared_attr | |
| from flask_security import current_user | |
| class AuditMixin(object): | |
| created_at = Column(DateTime, default=datetime.now) | |
| updated_at = Column(DateTime, default=datetime.now, onupdate=datetime.now) |
| from sqlalchemy.ext.compiler import compiles | |
| from sqlalchemy.sql.expression import Executable, ClauseElement | |
| from sqlalchemy.schema import DDLElement, DropTable | |
| from sqlalchemy.sql import table | |
| from sqlalchemy.orm import Query | |
| from . import db | |
| class CreateView(DDLElement): |
| declare module '@vx/axis' { | |
| import React from 'react'; | |
| import { ScaleTime } from 'd3-scale'; | |
| interface Point { | |
| x: number; | |
| y: number; | |
| } | |
| interface AxisProps { |
| $("[data-provide='select2']").each(function () { | |
| var $element = $(this); | |
| $element.select2({ | |
| placeholder: $element.data("placeholder"), | |
| minimumInputLength: 0, | |
| allowClear: true, | |
| initSelection: function (element, callback) { | |
| callback({ | |
| id: $(element).val(), |
| import dateFns from 'date-fns'; | |
| function getMonthDays(date) { | |
| const startOfMonth = dateFns.startOfMonth(date); | |
| const endOfMonth = dateFns.endOfMonth(date); | |
| let prevMonthDaysNeeded = startOfMonth.getDay(); | |
| const prevMonthDays = prevMonthDaysNeeded ? dateFns.eachDay( | |
| dateFns.subDays(startOfMonth, prevMonthDaysNeeded), | |
| dateFns.subDays(startOfMonth, 1) |
I hereby claim:
To claim this, I am signing this object:
| Enable-PSRemoting | |
| $creds = Get-Credential | |
| Enter-PSSession -ComputerName [NAME] -Credentials $creds | |
| Invoke-Command -ComputerName [NAME] -Credentials $creds { get-UICulture } | |
| http://www.thecodeking.co.uk/2011/02/winrm-with-mixed-domain-environments.html | |
| http://technet.microsoft.com/en-us/library/hh849707.aspx |