I hereby claim:
- I am ruimaranhao on github.
- I am ruimaranhao (https://keybase.io/ruimaranhao) on keybase.
- I have a public key ASA5IGnak26zARIq1V0Dc1fsdaUQh7v5lCoE_F_DMiyECgo
To claim this, I am signing this object:
<html> | |
<style> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
width: 960px; | |
height: 500px; | |
position: relative; | |
} | |
</style> |
import asyncio | |
from aiogremlin import GremlinClient | |
QUERY="1+1" | |
loop = asyncio.get_event_loop() | |
gc = GremlinClient(loop=loop) | |
execute = gc.execute(QUERY) | |
result = loop.run_until_complete(execute) |
I hereby claim:
To claim this, I am signing this object:
import multiprocessing | |
import time | |
import os | |
import mmap | |
from math import ceil | |
def size_and_chunks(file_name, processes): | |
sz = os.path.getsize(file_name) | |
return sz, sz / processes + 1 |
#!/bin/sh | |
set -x | |
# For it to work, you need to install | |
# -- jq, https://stedolan.github.io/jq/ | |
# -- http, https://httpie.org/ | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 AUTORIZATION_TOKEN" >&2 |
#!/usr/bin/python | |
import base64 | |
MESSAGE = ''' | |
CVIaWw4CFxIdT0FVUlIOXAgABkZCSEYMHRkFSwwGBwRJSFtPVRAaWggEHwQKT01PVRAPSAITBhJJ SFtPVRwHTR8EFggMBARIXlVOTw4JGwQYDQwKHAFODldBVRQABA4MGRANCUFBVRMPCgMGBgZODldB VRIPDgRIXlVOSAIOVUFUSEYYGxtICRA= | |
''' | |
KEY = 'rui.maranhao' | |
print(''.join(map(lambda x: chr(x[1] ^ ord(KEY[x[0] % len(KEY)])), enumerate(base64.b64decode(MESSAGE))))) |
Run the following to install the gpg agent:
brew upgrade gnupg # This has a make step which takes a while
brew link --overwrite gnupg
brew install pinentry-mac
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent
echo "test" | gpg --clearsign
Software is an integral part of our lives today. It is in the heart of a wide range of systems, from large management systems for health care or electricity power stations to small and local systems as smart home or even coffee machines. Modern software systems are highly complex and often have multiple dependencies on external parts such as other processes or services. This poses new challenges and exacerbate existing challenges in different aspects of Software Engineering (SE) including design, testing, debugging, and software lifec
public class Application { | |
public static void main(String[] args) throws IOException, FontFormatException, URISyntaxException { | |
new Application().run(); | |
} | |
private void run() throws IOException, FontFormatException, URISyntaxException { | |
URL resource = getClass().getClassLoader().getResource("square.ttf"); | |
File fontFile = new File(resource.toURI()); | |
Font font = Font.createFont(Font.TRUETYPE_FONT, fontFile); | |
Software engineering is the study and an application of engineering to the software development lifecycle, including requirements, design, architecture, development, testing, and maintenance. It is important that Universities teach students not only the theory underlying these phases, but also allow students to practice using real systems.
Quoting Arie van Deursen:
When teaching software engineering [architecture] it is hard to strike the right balance between practice (learning how to work with real systems and painful trade offs) and theory (general solutions that any architect needs to thoroughly understand).
To address this, inspired by TUDelft's Software Architecture course, we decided try something different in the Software Engineering course of the University of Porto's [Master in