This file contains 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
qemu-system-aarch64 \ | |
-cpu cortex-a72 \ | |
-M virt,highmem=off \ | |
-m 512 \ | |
-drive file=freebsd.qcow2 \ | |
-bios QEMU_EFI.fd \ | |
-device intel-hda \ | |
-device qemu-xhci \ | |
-device ramfb \ | |
-display default,show-cursor=on \ |
This file contains 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 | |
# | |
# Copyright IBM, Corp. 2010 | |
# | |
# Authors: | |
# Anthony Liguori <aliguori@us.ibm.com> | |
# | |
# This work is licensed under the terms of the GNU GPL, version 2. See | |
# the COPYING file in the top-level directory. |
This file contains 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 | |
def login(): | |
import requests | |
session = requests.session() | |
request = session.get('http://google.com') | |
user = raw_input("Username: ") | |
passwd = raw_input("Password: ") | |
data = dict(username=user,password=passwd,magic=request.url[39:]) | |
if 'IIIT-D' in str(request.content): |
This file contains 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
#include <iostream> | |
#include <thread> | |
#include <mutex> | |
using namespace std; | |
mutex m1; | |
mutex m2; | |
void hello() | |
{ |