DWTFYW
Disclaimer:
- no warranty this will work for you!
- I'm not responsible of how you use this!
- READ, VERIFY and TEST the CODE before using!
$( document ).ready(function() { | |
var bbox_re = /bbox (\d+) (\d+) (\d+) (\d+)/i; | |
var posr = function(i) { | |
var t = $(this).attr('title'); | |
var result = t.match(bbox_re); | |
if ( result ) { | |
var top = result[2] / 3; | |
var left = result[1] / 3; |
DWTFYW
Disclaimer:
<filetype binary="false" description="PowerShell" name="PowerShell"> | |
<highlighting> | |
<options> | |
<option name="LINE_COMMENT" value="#" /> | |
<option name="COMMENT_START" value="<#" /> | |
<option name="COMMENT_END" value="#>" /> | |
<option name="HEX_PREFIX" value="" /> | |
<option name="NUM_POSTFIXES" value="" /> | |
<option name="HAS_BRACES" value="true" /> | |
<option name="HAS_BRACKETS" value="true" /> |
{ | |
"cmd": ["$file"], | |
"working_dir": "$file_path", | |
"selector": "source.dosbatch" | |
} |
These instructions build on those provided here and here.
Before doing the following, create a new virtual disk and attach it to your VM. The size of the virtual disk just depends on what you intend to use/run and how many containers you intend to run. The default, 8 GB, is probably more than enough and is reasonable to use if in doubt since the default mode dynamically allocates the drive as needed.
Boot the VM and run just
fdisk -l
To see the disk device name(s) and their size. In this case it's the /dev/sda
shown here that has 8 GB capacity:
hello: venv | |
$(VENV)/python hello.py | |
include Makefile.venv | |
Makefile.venv: | |
curl \ | |
-o Makefile.fetched \ | |
-L "https://github.com/sio/Makefile.venv/raw/v2019.11.06/Makefile.venv" | |
echo "d32b54ae7cb0e99ec75cff9c4ef78c7050bc0c351f834464674fe4aa328ca370 *Makefile.fetched" \ | |
| sha256sum --check - \ |
import json, datetime | |
class RoundTripEncoder(json.JSONEncoder): | |
DATE_FORMAT = "%Y-%m-%d" | |
TIME_FORMAT = "%H:%M:%S" | |
def default(self, obj): | |
if isinstance(obj, datetime.datetime): | |
return { | |
"_type": "datetime", | |
"value": obj.strftime("%s %s" % ( |
import { | |
Injectable, | |
Injector, | |
ComponentFactoryResolver, | |
EmbeddedViewRef, | |
ApplicationRef | |
} from '@angular/core'; | |
@Injectable() | |
export class DomService { |
URL: http://teamcity:8111/httpAuth/app/rest/projects/
Method: POST
Accept: application/xml