I hereby claim:
- I am heliosmaster on github.
- I am davide (https://keybase.io/davide) on keybase.
- I have a public key ASAO6rGvv_1jIwwfucCSJAl2ukRskLqbVLYAOoY-y9pPUAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
# | |
# Sets Prezto options. | |
# | |
# Authors: | |
# Sorin Ionescu <sorin.ionescu@gmail.com> | |
# | |
# | |
# General | |
# |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
I hereby claim:
To claim this, I am signing this object:
(ns minesweeper-dojo.core) | |
;; written by Davide Taviani and Mohammad Noureldin | |
(def input1 [3 1 1]) | |
(defn is-full-of-mines? [rows cols mine-count] | |
(= (+ mine-count 1) | |
(* rows cols))) |
(ns nonograms-dojo.core) | |
;; Nonograms by Davide Taviani and Boris Arkenaar | |
(defn transpose [m] | |
(apply mapv vector m)) | |
(def input-data | |
{:size [10 10] | |
:rows [[] [1 1] [1] [2 1 1] [1 1 1] [1 2 1 1] [1] [1] [] []] | |
:cols [[] [1] [] [3] [1 1] [] [5] [1] [1 4] []]}) |
[RF12demo.12] B i2 g212 @ 868 MHz | |
Available commands: | |
<nn> i - set node ID (standard node ids are 1..30) | |
<n> b - set MHz band (4 = 433, 8 = 868, 9 = 915) | |
<nnnn> o - change frequency offset within the band (default 1600) | |
96..3903 is the range supported by the RFM12B | |
<nnn> g - set network group (RFM12 only allows 212, 0 = any) | |
<n> c - set collect mode (advanced, normally 0) |
I hereby claim:
To claim this, I am signing this object:
class Something | |
include DataMapper::Resource | |
property :id, Serial | |
property :value, Float, :required => true | |
property :date, Date, :required => true, :unique => true | |
property :user, Integer | |
validates_within :value, :set => (0..200) | |
end |