I hereby claim:
- I am darccio on github.
- I am dario (https://keybase.io/dario) on keybase.
- I have a public key ASCJSKu3vOdil45zRxc-f9uDSCtuf1dPSSg7LCRQjXMNjwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
The project documentation (stored in the docs
directory) is a git subtree of the project wiki. This allows for the documentation to be referenced and edited from within the main project.
When cloning the main project repository for the first time, the wiki repository must be added as a remote.
git remote add wiki https://github.com//.wiki.git
Since Golang version 1.11 this process is finally (almost) as easy as it should (!!). You can see full docs here. For older guides see here.
These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.
import nsq | |
class NSQWorker: | |
def __init__(self, *args, **kwargs): | |
self.banner = 'Hello from worker' | |
def process_message(self, message): | |
print(self.banner) |
Verifying my Blockstack ID is secured with the address 1tTTtWN8ZxHHWmEgpMnQ5mzds5akh9cs9 https://explorer.blockstack.org/address/1tTTtWN8ZxHHWmEgpMnQ5mzds5akh9cs9 |
/** | |
* Use this file to configure your truffle project. It's seeded with some | |
* common settings for different networks and features like migrations, | |
* compilation and testing. Uncomment the ones you need or modify | |
* them to suit your project as necessary. | |
* | |
* More information about configuration can be found at: | |
* | |
* truffleframework.com/docs/advanced/configuration | |
* |
package electoral | |
import ( | |
"sort" | |
) | |
// CandidatureResult is all the votes tallied for a candidature. | |
type CandidatureResult struct { | |
Name string | |
Votes int |
Author: Ben Brady Licensed: MIT
Allows selected elements to be changed (shown/hidden or callback) based on a set of field validation rules.
This is useful for large forms where you may want to hide/disable various fieldsets which are relevant only if a particular input element is selected/checked.
#!/bin/bash | |
## | |
## PID Shield: protect your commands against parallel execution | |
## | |
## Author: Dario Castañé <[email protected]> | |
## | |
## License: Public domain; do as you wish | |
## |
[Unit] | |
Description=Mount Data Volume at boot | |
[Mount] | |
What=UUID="$(blkid)" | |
Where=/mnt/data | |
Type=ext4 | |
Options=defaults | |
[Install] |