Skip to content

Instantly share code, notes, and snippets.

Keybase proof

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:

@Heliosmaster
Heliosmaster / reclaimWindows10.ps1
Created January 7, 2017 19:45 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# 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

Keybase proof

I hereby claim:

  • I am heliosmaster on github.
  • I am davide (https://keybase.io/davide) on keybase.
  • I have a public key whose fingerprint is F45A 8329 0B03 4310 6C5F 807F 7B03 AA14 4161 2ABB

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)

Keybase proof

I hereby claim:

  • I am heliosmaster on github.
  • I am davide (https://keybase.io/davide) on keybase.
  • I have a public key whose fingerprint is A69F 6A4A B256 ADBE 3342 D1E0 8BF1 0214 1E71 40D0

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