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
| /* | |
| * Copyright 2017 Beldaz (https://github.com/beldaz) | |
| * Licensed to the Apache Software Foundation (ASF) under one or more | |
| * contributor license agreements. See the NOTICE file distributed with | |
| * this work for additional information regarding copyright ownership. | |
| * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| * (the "License"); you may not use this file except in compliance with | |
| * the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |
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
| apt-get install -y --allow-downgrades --allow-unauthenticated libgdiplus libglade2.0-cil=2.12.26-0xamarin1 libglib2.0-dev libglib2.0-cil=2.12.26-0xamarin1 libgtk2.0-cil=2.12.26-0xamarin1 libjavascriptcoregtk-1.0-0 libmono-2.0-1=3.12.1-0xamarin1 libmono-2.0-dev=3.12.1-0xamarin1 libmono-accessibility4.0-cil=3.12.1-0xamarin1 libmono-cairo4.0-cil=3.12.1-0xamarin1 libmono-cecil-private-cil=3.12.1-0xamarin1 libmono-cil-dev=3.12.1-0xamarin1 libmono-codecontracts4.0-cil=3.12.1-0xamarin1 libmono-compilerservices-symbolwriter4.0-cil=3.12.1-0xamarin1 libmono-cscompmgd0.0-cil=3.12.1-0xamarin1 libmono-csharp4.0c-cil=3.12.1-0xamarin1 libmono-custommarshalers4.0-cil libmono-data-tds4.0-cil=3.12.1-0xamarin1 libmono-db2-1.0-cil=3.12.1-0xamarin1 libmono-debugger-soft4.0a-cil=3.12.1-0xamarin1 libmono-http4.0-cil=3.12.1-0xamarin1 libmono-ldap4.0-cil=3.12.1-0xamarin1 libmono-management4.0-cil=3.12.1-0xamarin1 libmono-messaging-rabbitmq4.0-cil=3.12.1-0xamarin1 libmono-messaging4.0-cil=3.12.1-0xamarin1 libmono-microsoft-build-engin |
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
| /* | |
| * Dump sqlite statements as they are executed. Tested with sqlite 3.6.20 | |
| * | |
| * Prereqs: | |
| * sudo yum install systemtap-client systemtap-devel kernel-devel gcc yum-utils | |
| * sudo debuginfo-install sqlite | |
| * | |
| * Running: | |
| * sudo stap -DMAXUPROBES=800 sqlite-dump.stp | |
| * |
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
| // SPDX-FileCopyrightText: 2015 Marek Rusinowski | |
| // SPDX-License-Identifier: MIT | |
| #include <memory> | |
| #include <cstdio> | |
| template<typename F> | |
| class defer_finalizer { | |
| F f; | |
| bool moved; | |
| public: |
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
| Per https://code.google.com/p/v8/codesearch#v8/trunk/src/runtime.cc | |
| %CreateSymbol | |
| %CreatePrivateSymbol | |
| %CreateGlobalPrivateSymbol | |
| %NewSymbolWrapper | |
| %SymbolDescription | |
| %SymbolRegistry | |
| %SymbolIsPrivate |
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
| #!/bin/sh | |
| # You can optionally connect to the VM with | |
| # virt-viewer -c qemu:///system Debian7 | |
| export OS=Debian7 | |
| virt-install \ | |
| --connect qemu:///system \ | |
| --name ${OS} \ | |
| --ram 1024 \ | |
| --vcpus 1 \ |