Skip to content

Instantly share code, notes, and snippets.

View castellanprime's full-sized avatar
🏠
Working from home

castellanprime

🏠
Working from home
View GitHub Profile
@castellanprime
castellanprime / netclient.py
Created December 23, 2019 14:33
Tornado, ZMQ, Websockets
import zmq
import logging
import asyncio
import os
import signal
from functools import wraps
from ast import literal_eval
from threading import Thread
from zmq.eventloop.zmqstream import ZMQStream
@castellanprime
castellanprime / dotnetlayout.md
Created March 13, 2018 21:11 — forked from davidfowl/dotnetlayout.md
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
project structure
=================
docker-compose.yml
mainweb/
nginx/
README
docker-compose.yml
-----------------
version: '2'
@castellanprime
castellanprime / bash_aliases.sh
Last active February 28, 2017 05:51
my current bash aliases file
/**
* @license:
* The MIT License (MIT)
*
* Copyright (c) 2017 David Okusanya
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@castellanprime
castellanprime / helperlib.sh
Last active February 28, 2017 05:52
Helper library for my user-defined function (cpRecent/ mvRecent)
/**
* @license:
* The MIT License (MIT)
*
* Copyright (c) 2017 David Okusanya
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@castellanprime
castellanprime / HexagonGrid.java
Created September 10, 2016 22:50
Drawing a HexagonGrid in java.awt
/**
* @license:
* The MIT License (MIT)
*
* Copyright (c) 2016 David Okusanya
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell