commit fdb47bde36d086ca40e2e1aa0175044c142d4f60 Author: praticamentetilde Date: Thu Jul 7 21:05:01 2016 +0200 First commit. Hope it'll work... diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..52ee24f --- /dev/null +++ b/_config.yml @@ -0,0 +1,21 @@ +# Welcome to Jekyll! +# +# This config file is meant for settings that affect your whole blog, values +# which you are expected to set up once and rarely need to edit after that. +# For technical reasons, this file is *NOT* reloaded automatically when you use +# 'jekyll serve'. If you change this file, please restart the server process. + +# Site settings +title: Ramblings of an archer archer +#email: maggioniclaudio1999[at]gmail.com +description: > # this means to ignore newlines until "baseurl:" + Things which an Arch Linux user that also owns an recurve bow can write. +baseurl: "" # the subpath of your site, e.g. /blog +url: "http://praticamentetilde.github.io" # the base hostname & protocol for your site +github_username: praticamentetilde +future: true + +# Build settings +markdown: kramdown +collections: + - slides diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..e7f19d2 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,35 @@ + diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..247755f --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,33 @@ + + + + + + {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..cf60cd9 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,28 @@ + diff --git a/_includes/icon-github.html b/_includes/icon-github.html new file mode 100644 index 0000000..e501a16 --- /dev/null +++ b/_includes/icon-github.html @@ -0,0 +1 @@ +{% include icon-github.svg %}{{ include.username }} diff --git a/_includes/icon-github.svg b/_includes/icon-github.svg new file mode 100644 index 0000000..4422c4f --- /dev/null +++ b/_includes/icon-github.svg @@ -0,0 +1 @@ + diff --git a/_includes/icon-linkedin.html b/_includes/icon-linkedin.html new file mode 100644 index 0000000..bd2a538 --- /dev/null +++ b/_includes/icon-linkedin.html @@ -0,0 +1,3 @@ + + {{ include.name }} + diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..4e1d027 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,51 @@ + + + {% include head.html %} + + {% include header.html %} +
+ {% for slide in site.slides %} + {{ slide }} + {% endfor %} +
+ +
+
+ {{ content }} +
+
+ {% include footer.html %} + + diff --git a/_layouts/main.html b/_layouts/main.html new file mode 100644 index 0000000..95b71e0 --- /dev/null +++ b/_layouts/main.html @@ -0,0 +1,13 @@ + + + {% include head.html %} + + {% include header.html %} +
+
+ {{ content }} +
+
+ {% include footer.html %} + + diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..62a94e0 --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,14 @@ +--- +layout: main +--- +
+ +
+

{{ page.title }}

+
+ +
+ {{ content }} +
+ +
diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..a4be6b3 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,15 @@ +--- +layout: main +--- +
+ +
+

{{ page.title }}

+ +
+ +
+ {{ content }} +
+ +
diff --git a/_layouts/slide.html b/_layouts/slide.html new file mode 100644 index 0000000..cfb104a --- /dev/null +++ b/_layouts/slide.html @@ -0,0 +1,6 @@ +
+
+

{{ page.title }}

+ {{ content }} +
+
diff --git a/_posts/2016-07-07-get-a-bluetooth-keyboard-work-with-arch.markdown b/_posts/2016-07-07-get-a-bluetooth-keyboard-work-with-arch.markdown new file mode 100644 index 0000000..8805366 --- /dev/null +++ b/_posts/2016-07-07-get-a-bluetooth-keyboard-work-with-arch.markdown @@ -0,0 +1,51 @@ +--- +layout: post +title: "Get a Bluetooth keyboard work with Arch Linux" +date: 2016-07-07 14:49:18 +0200 +categories: linux +--- +I've recently got a Rapoo E6100. This is a minimal and space saving Bluetooth 3.0 keyboard. If you pair it with Windows 10, it will remain paired after reboot, giving the possibility to use it since the login screen. After installing the Bluetooth stack on my Arch via the `bluez` and `bluez-utils` packages I thought the pairing process would be as simple as Windows if I used the KDE GUI menus for Bluetooth management. That's not true. The keyboard, once paired, will reconnect automatically just after `plasmashell` loaded, leaving me without keyboard during the SDDM login screen and, of course, during a non-graphical session. + +As usual, i've searched help in the ArchWiki, founding [this](https://wiki.archlinux.org/index.php/Bluetooth_keyboard) article. With that, i've succesfully reconnected my Bluetooth keyboard using the `bluetoothctl` utility. The next step was configuring the service for auto connection during boot. I've created the `btkbd.conf` and the `btkbd.service` files, enabling the last one with systemd. Let's give a look to the service file: + +{% highlight bash linenos %} +[Unit] +Description=systemd Unit to automatically start a Bluetooth keyboard +Documentation=https://wiki.archlinux.org/index.php/Bluetooth_Keyboard +Requires=dbus-org.bluez.service +After=dbus-org.bluez.service +ConditionPathExists=/etc/btkbd.conf +ConditionPathExists=/usr/bin/hcitool +ConditionPathExists=/usr/bin/hciconfig + +[Service] +Type=oneshot +EnvironmentFile=/etc/btkbd.conf +ExecStart=/usr/bin/hciconfig ${HCIDEVICE} up +# ignore errors on connect, spurious problems with bt? +# so start next command with - +ExecStart=-/usr/bin/hcitool cc ${BTKBDMAC} + +[Install] +WantedBy=multi-user.target +{% endhighlight %} + +Line 13 enables the Bluetooth dongle, and line 16 connects it to the keyboard we gave the mac address in `/etc/btkbd.conf`. This should work flawlessly, right? Of course it doesn't. The service starts before the `dbus-org.bluez.service` is loaded and fails. However, if the service is started manually after login the Bluetooth keyboard works. After hours of trying figuring out what was wrong I've almost asked for a return on Amazon! The last attempt I made was with sddm disabled and involved built from scratch service: + +{% highlight bash linenos %} +[Unit] +Description=systemd Unit to automatically start a Bluetooth keyboard + +[Service] +Type=oneshot +ExecStart=/bin/hciconfig hci0 up +ExecStart=/bin/hcitool cc 00:11:22:33:44:55 + +[Install] +WantedBy=bluetooth.target +{% endhighlight %} + +This incredibly worked. I think the problem was that `multi-user.target` that needs to be reached earlier than `bluetooth.target`. I got rid of all the tidiness of the ArchWiki solution just to be sure that was not the problem, but I think you can use all of that just correcting `WantedBy=`. Currently I haven't an ArchWiki account nor a forum one, but as soon as I'll register I'll correct the article. + +Let me know in the comments if this solution is well made or if it's just a bodge. +Last thing: I discovered that my Bluetooth dongle is CSR 8510 A10 based so expect some ramblings about [hid proxy](http://www.0xf8.org/2014/02/the-crux-of-finding-a-hid-proxy-capable-usb-bluetooth-adapter/). diff --git a/_sass/_base.scss b/_sass/_base.scss new file mode 100644 index 0000000..99bcbee --- /dev/null +++ b/_sass/_base.scss @@ -0,0 +1,281 @@ +/** + * Reset some basic elements + */ +body, h1, h2, h3, h4, h5, h6, +p, blockquote, pre, hr, +dl, dd, ol, ul, figure { + margin: 0; + padding: 0; +} + + + +/** + * Basic styling + */ +body { + font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family; + color: $text-color; + background-color: $background-color; + -webkit-text-size-adjust: 100%; + -webkit-font-feature-settings: "kern" 1; + -moz-font-feature-settings: "kern" 1; + -o-font-feature-settings: "kern" 1; + font-feature-settings: "kern" 1; + font-kerning: normal; +} + + + +/** + * Set `margin-bottom` to maintain vertical rhythm + */ +h1, h2, h3, h4, h5, h6, +p, blockquote, pre, +ul, ol, dl, figure, +%vertical-rhythm { + margin-bottom: $spacing-unit / 2; +} + + + +/** + * Images + */ +img { + max-width: 100%; + vertical-align: middle; +} + + + +/** + * Figures + */ +figure > img { + display: block; +} + +figcaption { + font-size: $small-font-size; +} + + + +/** + * Lists + */ +ul, ol { + margin-left: $spacing-unit; +} + +li { + > ul, + > ol { + margin-bottom: 0; + } +} + + + +/** + * Headings + */ +h1, h2, h3, h4, h5, h6 { + font-weight: $base-font-weight; +} + + + +/** + * Links + */ +a { + color: $brand-color; + text-decoration: none; + + &:visited { + color: darken($brand-color, 15%); + } + + &:hover { + color: $text-color; + text-decoration: underline; + } +} + + + +/** + * Blockquotes + */ +blockquote { + color: $grey-color; + border-left: 4px solid $grey-color-light; + padding-left: $spacing-unit / 2; + font-size: 18px; + letter-spacing: -1px; + font-style: italic; + + > :last-child { + margin-bottom: 0; + } +} + + + +/** + * Code formatting + */ +pre, +code { + font-size: 15px; + /*border: 1px solid $grey-color-light;*/ + border-radius: 3px; + background: rgb(66,66,66); +} + +code { + padding: 1px 5px; +} + +pre { + padding: 8px 12px; + overflow-x: auto; + + > code { + border: 0; + padding-right: 0; + padding-left: 0; + } +} + + + +/** + * Wrapper + */ +.wrapper { + max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2)); + max-width: calc(#{$content-width} - (#{$spacing-unit} * 2)); + margin-right: auto; + margin-left: auto; + padding-right: $spacing-unit; + padding-left: $spacing-unit; + @extend %clearfix; + + @include media-query($on-laptop) { + max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit})); + max-width: calc(#{$content-width} - (#{$spacing-unit})); + padding-right: $spacing-unit / 2; + padding-left: $spacing-unit / 2; + } +} + +.header{ + background: #ffcc00; + float: left; + width: -webkit-calc(100% - #{$spacing-unit}); + width: calc(100% - #{$spacing-unit}); + max-width: -webkit-calc(100% - #{$spacing-unit}); + max-width: calc(100% - #{$spacing-unit}); + z-index: 1; + box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24); + margin: 0; + padding-left: 0; + + @include media-query($on-laptop) { + width: -webkit-calc(100% - #{$spacing-unit} / 2); + width: calc(100% - #{$spacing-unit} / 2); + max-width: -webkit-calc(100% - #{$spacing-unit} / 2); + max-width: calc(100% - #{$spacing-unit} / 2); + } + + @include media-query($on-palm) { + width: -webkit-calc(100% - 4em); + width: calc(100% - 4em); + max-width: -webkit-calc(100% - 4em); + max-width: calc(100% - 4em); + padding-right: 4em; + display: flex; + } +} + +.site-logo{ + width: 56px; + height: 56px; + float: left; + margin-right: $spacing-unit; + + @include media-query($on-laptop) { + margin-right: calc(#{$spacing-unit} / 2); + } +} + +.slideshowItem{ + background-position: center; + text-align: center; + display: -webkit-flex; + display: -moz-flex; + display: flex; + opacity: 1; + color: #212121; + text-shadow: 0px 0px 13px black; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + transition: opacity 1s; + /*margin-bottom: $spacing-unit; + + @include media-query($on-laptop) { + margin-bottom: calc(#{$spacing-unit} / 2); + }*/ +} + +.slideshowContainer{ + position: relative; + width: 100%; + height: $slideshow-height; +} + +.slideshowItem > .slideshowContent{ + margin: auto; + z-index: 2; +} + +.slideshowItem.fadeOut { + opacity:0; +} + +/** + * Clearfix + */ +%clearfix { + + &:after { + content: ""; + display: table; + clear: both; + } +} + + + +/** + * Icons + */ +.icon { + + > svg { + display: inline-block; + width: 16px; + height: 16px; + vertical-align: middle; + + path { + fill: $grey-color; + } + } +} diff --git a/_sass/_layout.scss b/_sass/_layout.scss new file mode 100644 index 0000000..62d79e7 --- /dev/null +++ b/_sass/_layout.scss @@ -0,0 +1,254 @@ +/** + * Site header + */ +.site-header { + border-top: 5px solid $grey-color-dark; + border-bottom: 1px solid $grey-color-light; + min-height: 56px; + + // Positioning context for the mobile navigation icon + position: relative; +} + +.site-title { + font-size: 26px; + font-weight: 300; + line-height: 56px; + letter-spacing: -1px; + margin-bottom: 0; + float: left; + + &, + &:visited { + color: $grey-color-dark; + } + + @include media-query($on-laptop) { + line-height: 46px; + font-size: 22px; + margin-top: 5px; + margin-bottom: 5px; + } + @include media-query($on-palm) { + line-height: 20px; + font-size: 17px; + margin: auto; + } +} + +.site-nav { + float: right; + line-height: 56px; + + .menu-icon { + display: none; + } + + .page-link { + color: $text-color; + line-height: $base-line-height; + + // Gaps between nav items, but not on the last one + &:not(:last-child) { + margin-right: 20px; + } + } + + @include media-query($on-palm) { + position: absolute; + top: 9px; + right: $spacing-unit / 2; + background-color: $background-color; + border: 1px solid $grey-color-light; + border-radius: 5px; + text-align: right; + + .menu-icon { + display: block; + float: right; + width: 36px; + height: 26px; + line-height: 0; + padding-top: 10px; + text-align: center; + + > svg { + width: 18px; + height: 15px; + + path { + fill: $grey-color-dark; + } + } + } + + .trigger { + clear: both; + display: none; + } + + &:hover .trigger { + display: block; + padding-bottom: 5px; + } + + .page-link { + display: block; + padding: 5px 10px; + + &:not(:last-child) { + margin-right: 0; + } + margin-left: 20px; + } + } +} + + + +/** + * Site footer + */ +.site-footer { + padding: $spacing-unit 0; +} + +.footer-heading { + font-size: 18px; + margin-bottom: $spacing-unit / 2; +} + +.contact-list, +.social-media-list { + list-style: none; + margin-left: 0; +} + +.footer-col-wrapper { + font-size: 15px; + color: $grey-color; + margin-left: -$spacing-unit / 2; + @extend %clearfix; +} + +.footer-col { + float: left; + margin-bottom: $spacing-unit / 2; + padding-left: $spacing-unit / 2; +} + +.footer-col-1 { + width: -webkit-calc(35% - (#{$spacing-unit} / 2)); + width: calc(35% - (#{$spacing-unit} / 2)); +} + +.footer-col-2 { + width: -webkit-calc(20% - (#{$spacing-unit} / 2)); + width: calc(20% - (#{$spacing-unit} / 2)); +} + +.footer-col-3 { + width: -webkit-calc(45% - (#{$spacing-unit} / 2)); + width: calc(45% - (#{$spacing-unit} / 2)); +} + +@include media-query($on-laptop) { + .footer-col-1, + .footer-col-2 { + width: -webkit-calc(50% - (#{$spacing-unit} / 2)); + width: calc(50% - (#{$spacing-unit} / 2)); + } + + .footer-col-3 { + width: -webkit-calc(100% - (#{$spacing-unit} / 2)); + width: calc(100% - (#{$spacing-unit} / 2)); + } +} + +@include media-query($on-palm) { + .footer-col { + float: none; + width: -webkit-calc(100% - (#{$spacing-unit} / 2)); + width: calc(100% - (#{$spacing-unit} / 2)); + } +} + + + +/** + * Page content + */ +.page-content { + background: RGBA(255,255,255,0.1); + padding: $spacing-unit 0; +} + +.page-heading { + font-size: 20px; +} + +.post-list { + margin-left: 0; + list-style: none; + + > li { + margin-bottom: $spacing-unit; + } +} + +.post-meta { + font-size: $small-font-size; + color: $grey-color; +} + +.post-link { + display: block; + font-size: 24px; +} + + + +/** + * Posts + */ +.post-header { + margin-bottom: $spacing-unit; +} + +.post-title { + font-size: 42px; + letter-spacing: -1px; + line-height: 1; + + @include media-query($on-laptop) { + font-size: 36px; + } +} + +.post-content { + margin-bottom: $spacing-unit; + + h2 { + font-size: 32px; + + @include media-query($on-laptop) { + font-size: 28px; + } + } + + h3 { + font-size: 26px; + + @include media-query($on-laptop) { + font-size: 22px; + } + } + + h4 { + font-size: 20px; + + @include media-query($on-laptop) { + font-size: 18px; + } + } +} diff --git a/_sass/_syntax-highlighting.scss b/_sass/_syntax-highlighting.scss new file mode 100644 index 0000000..d4d8012 --- /dev/null +++ b/_sass/_syntax-highlighting.scss @@ -0,0 +1,79 @@ +/** + * Syntax highlighting styles + */ +.highlight { + background: #fff; + @extend %vertical-rhythm; + + .highlighter-rouge & { + background: #eef; + } + + td.code > pre{ + background: #323232; + } + + pre.lineno{ + background: #212121; + } + + .c { color: #998; font-style: italic } // Comment + .err { color: #a61717; background-color: #e3d2d2 } // Error + .k { font-weight: bold } // Keyword + .o { font-weight: bold } // Operator + .cm { color: #998; font-style: italic } // Comment.Multiline + .cp { color: #999; font-weight: bold } // Comment.Preproc + .c1 { color: #998; font-style: italic } // Comment.Single + .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special + .gd { color: #000; background-color: #fdd } // Generic.Deleted + .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific + .ge { font-style: italic } // Generic.Emph + .gr { color: #a00 } // Generic.Error + .gh { color: #999 } // Generic.Heading + .gi { color: #000; background-color: #dfd } // Generic.Inserted + .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific + .go { color: #888 } // Generic.Output + .gp { color: #555 } // Generic.Prompt + .gs { font-weight: bold } // Generic.Strong + .gu { color: #aaa } // Generic.Subheading + .gt { color: #a00 } // Generic.Traceback + .kc { font-weight: bold } // Keyword.Constant + .kd { font-weight: bold } // Keyword.Declaration + .kp { font-weight: bold } // Keyword.Pseudo + .kr { font-weight: bold } // Keyword.Reserved + .kt { color: #458; font-weight: bold } // Keyword.Type + .m { color: #099 } // Literal.Number + .s { color: #d14 } // Literal.String + .na { color: #008080 } // Name.Attribute + .nb { color: #0086B3 } // Name.Builtin + .nc { color: #458; font-weight: bold } // Name.Class + .no { color: #008080 } // Name.Constant + .ni { color: #800080 } // Name.Entity + .ne { color: #900; font-weight: bold } // Name.Exception + .nf { color: #900; font-weight: bold } // Name.Function + .nn { color: #555 } // Name.Namespace + .nt { color: #000080 } // Name.Tag + .nv { color: #008080 } // Name.Variable + .ow { font-weight: bold } // Operator.Word + .w { color: #bbb } // Text.Whitespace + .mf { color: #099 } // Literal.Number.Float + .mh { color: #099 } // Literal.Number.Hex + .mi { color: #099 } // Literal.Number.Integer + .mo { color: #099 } // Literal.Number.Oct + .sb { color: #d14 } // Literal.String.Backtick + .sc { color: #d14 } // Literal.String.Char + .sd { color: #d14 } // Literal.String.Doc + .s2 { color: #d14 } // Literal.String.Double + .se { color: #d14 } // Literal.String.Escape + .sh { color: #d14 } // Literal.String.Heredoc + .si { color: #d14 } // Literal.String.Interpol + .sx { color: #d14 } // Literal.String.Other + .sr { color: #009926 } // Literal.String.Regex + .s1 { color: #d14 } // Literal.String.Single + .ss { color: #990073 } // Literal.String.Symbol + .bp { color: #999 } // Name.Builtin.Pseudo + .vc { color: #008080 } // Name.Variable.Class + .vg { color: #008080 } // Name.Variable.Global + .vi { color: #008080 } // Name.Variable.Instance + .il { color: #099 } // Literal.Number.Integer.Long +} diff --git a/_site/about/index.html b/_site/about/index.html new file mode 100644 index 0000000..909dcab --- /dev/null +++ b/_site/about/index.html @@ -0,0 +1,131 @@ + + + + + + + + About + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+

About

+
+ +
+

My name is Claudio Maggioni and I am both an Arch Linux user and an recurve archer. I define myself an “archer archer”. This site will collect my own occasional thoughts about the two worlds, hoping someone will found them useful.

+ +

If you are curious about the code i produce my personal Github account is here. This particular site is made with jekyll and hosted by Github pages, as you can see.

+ +

PRO tip: try performing a Konami code in the home page…

+ +
+ +
+ +
+
+ + + + diff --git a/_site/android-icon-144x144.png b/_site/android-icon-144x144.png new file mode 100644 index 0000000..1153cda Binary files /dev/null and b/_site/android-icon-144x144.png differ diff --git a/_site/android-icon-192x192.png b/_site/android-icon-192x192.png new file mode 100644 index 0000000..3ced9ed Binary files /dev/null and b/_site/android-icon-192x192.png differ diff --git a/_site/android-icon-36x36.png b/_site/android-icon-36x36.png new file mode 100644 index 0000000..bc4b658 Binary files /dev/null and b/_site/android-icon-36x36.png differ diff --git a/_site/android-icon-48x48.png b/_site/android-icon-48x48.png new file mode 100644 index 0000000..c87da66 Binary files /dev/null and b/_site/android-icon-48x48.png differ diff --git a/_site/android-icon-72x72.png b/_site/android-icon-72x72.png new file mode 100644 index 0000000..05da383 Binary files /dev/null and b/_site/android-icon-72x72.png differ diff --git a/_site/android-icon-96x96.png b/_site/android-icon-96x96.png new file mode 100644 index 0000000..4d51433 Binary files /dev/null and b/_site/android-icon-96x96.png differ diff --git a/_site/apple-icon-114x114.png b/_site/apple-icon-114x114.png new file mode 100644 index 0000000..7f7b260 Binary files /dev/null and b/_site/apple-icon-114x114.png differ diff --git a/_site/apple-icon-120x120.png b/_site/apple-icon-120x120.png new file mode 100644 index 0000000..ebf0feb Binary files /dev/null and b/_site/apple-icon-120x120.png differ diff --git a/_site/apple-icon-144x144.png b/_site/apple-icon-144x144.png new file mode 100644 index 0000000..1153cda Binary files /dev/null and b/_site/apple-icon-144x144.png differ diff --git a/_site/apple-icon-152x152.png b/_site/apple-icon-152x152.png new file mode 100644 index 0000000..86e52df Binary files /dev/null and b/_site/apple-icon-152x152.png differ diff --git a/_site/apple-icon-180x180.png b/_site/apple-icon-180x180.png new file mode 100644 index 0000000..153da14 Binary files /dev/null and b/_site/apple-icon-180x180.png differ diff --git a/_site/apple-icon-57x57.png b/_site/apple-icon-57x57.png new file mode 100644 index 0000000..b5fa496 Binary files /dev/null and b/_site/apple-icon-57x57.png differ diff --git a/_site/apple-icon-60x60.png b/_site/apple-icon-60x60.png new file mode 100644 index 0000000..ea1faf3 Binary files /dev/null and b/_site/apple-icon-60x60.png differ diff --git a/_site/apple-icon-72x72.png b/_site/apple-icon-72x72.png new file mode 100644 index 0000000..05da383 Binary files /dev/null and b/_site/apple-icon-72x72.png differ diff --git a/_site/apple-icon-76x76.png b/_site/apple-icon-76x76.png new file mode 100644 index 0000000..fa65ab0 Binary files /dev/null and b/_site/apple-icon-76x76.png differ diff --git a/_site/apple-icon-precomposed.png b/_site/apple-icon-precomposed.png new file mode 100644 index 0000000..e9297e2 Binary files /dev/null and b/_site/apple-icon-precomposed.png differ diff --git a/_site/apple-icon.png b/_site/apple-icon.png new file mode 100644 index 0000000..e9297e2 Binary files /dev/null and b/_site/apple-icon.png differ diff --git a/_site/browserconfig.xml b/_site/browserconfig.xml new file mode 100644 index 0000000..c554148 --- /dev/null +++ b/_site/browserconfig.xml @@ -0,0 +1,2 @@ + +#ffffff \ No newline at end of file diff --git a/_site/css/main.css b/_site/css/main.css new file mode 100644 index 0000000..a544a35 --- /dev/null +++ b/_site/css/main.css @@ -0,0 +1,540 @@ +/** + * Reset some basic elements + */ +body, h1, h2, h3, h4, h5, h6, +p, blockquote, pre, hr, +dl, dd, ol, ul, figure { + margin: 0; + padding: 0; } + +/** + * Basic styling + */ +body { + font: 200 16px/1.5 "Hammersmith One", "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #888; + background-color: #090909; + -webkit-text-size-adjust: 100%; + -webkit-font-feature-settings: "kern" 1; + -moz-font-feature-settings: "kern" 1; + -o-font-feature-settings: "kern" 1; + font-feature-settings: "kern" 1; + font-kerning: normal; } + +/** + * Set `margin-bottom` to maintain vertical rhythm + */ +h1, h2, h3, h4, h5, h6, +p, blockquote, pre, +ul, ol, dl, figure, +.highlight { + margin-bottom: 15px; } + +/** + * Images + */ +img { + max-width: 100%; + vertical-align: middle; } + +/** + * Figures + */ +figure > img { + display: block; } + +figcaption { + font-size: 14px; } + +/** + * Lists + */ +ul, ol { + margin-left: 30px; } + +li > ul, +li > ol { + margin-bottom: 0; } + +/** + * Headings + */ +h1, h2, h3, h4, h5, h6 { + font-weight: 200; } + +/** + * Links + */ +a { + color: #2a7ae2; + text-decoration: none; } + a:visited { + color: #1756a9; } + a:hover { + color: #888; + text-decoration: underline; } + +/** + * Blockquotes + */ +blockquote { + color: #828282; + border-left: 4px solid #e8e8e8; + padding-left: 15px; + font-size: 18px; + letter-spacing: -1px; + font-style: italic; } + blockquote > :last-child { + margin-bottom: 0; } + +/** + * Code formatting + */ +pre, +code { + font-size: 15px; + /*border: 1px solid $grey-color-light;*/ + border-radius: 3px; + background: #424242; } + +code { + padding: 1px 5px; } + +pre { + padding: 8px 12px; + overflow-x: auto; } + pre > code { + border: 0; + padding-right: 0; + padding-left: 0; } + +/** + * Wrapper + */ +.wrapper { + max-width: -webkit-calc(800px - (30px * 2)); + max-width: calc(800px - (30px * 2)); + margin-right: auto; + margin-left: auto; + padding-right: 30px; + padding-left: 30px; } + @media screen and (max-width: 800px) { + .wrapper { + max-width: -webkit-calc(800px - (30px)); + max-width: calc(800px - (30px)); + padding-right: 15px; + padding-left: 15px; } } + +.header { + background: #ffcc00; + float: left; + width: -webkit-calc(100% - 30px); + width: calc(100% - 30px); + max-width: -webkit-calc(100% - 30px); + max-width: calc(100% - 30px); + z-index: 1; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); + margin: 0; + padding-left: 0; } + @media screen and (max-width: 800px) { + .header { + width: -webkit-calc(100% - 30px / 2); + width: calc(100% - 30px / 2); + max-width: -webkit-calc(100% - 30px / 2); + max-width: calc(100% - 30px / 2); } } + @media screen and (max-width: 600px) { + .header { + width: -webkit-calc(100% - 4em); + width: calc(100% - 4em); + max-width: -webkit-calc(100% - 4em); + max-width: calc(100% - 4em); + padding-right: 4em; + display: flex; } } + +.site-logo { + width: 56px; + height: 56px; + float: left; + margin-right: 30px; } + @media screen and (max-width: 800px) { + .site-logo { + margin-right: calc(30px / 2); } } + +.slideshowItem { + background-position: center; + text-align: center; + display: -webkit-flex; + display: -moz-flex; + display: flex; + opacity: 1; + color: #212121; + text-shadow: 0px 0px 13px black; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + transition: opacity 1s; + /*margin-bottom: $spacing-unit; + + @include media-query($on-laptop) { + margin-bottom: calc(30px / 2); + }*/ } + +.slideshowContainer { + position: relative; + width: 100%; + height: 70vh; } + +.slideshowItem > .slideshowContent { + margin: auto; + z-index: 2; } + +.slideshowItem.fadeOut { + opacity: 0; } + +/** + * Clearfix + */ +.wrapper:after, .footer-col-wrapper:after { + content: ""; + display: table; + clear: both; } + +/** + * Icons + */ +.icon > svg { + display: inline-block; + width: 16px; + height: 16px; + vertical-align: middle; } + .icon > svg path { + fill: #828282; } + +/** + * Site header + */ +.site-header { + border-top: 5px solid #424242; + border-bottom: 1px solid #e8e8e8; + min-height: 56px; + position: relative; } + +.site-title { + font-size: 26px; + font-weight: 300; + line-height: 56px; + letter-spacing: -1px; + margin-bottom: 0; + float: left; } + .site-title, .site-title:visited { + color: #424242; } + @media screen and (max-width: 800px) { + .site-title { + line-height: 46px; + font-size: 22px; + margin-top: 5px; + margin-bottom: 5px; } } + @media screen and (max-width: 600px) { + .site-title { + line-height: 20px; + font-size: 17px; + margin: auto; } } + +.site-nav { + float: right; + line-height: 56px; } + .site-nav .menu-icon { + display: none; } + .site-nav .page-link { + color: #888; + line-height: 1.5; } + .site-nav .page-link:not(:last-child) { + margin-right: 20px; } + @media screen and (max-width: 600px) { + .site-nav { + position: absolute; + top: 9px; + right: 15px; + background-color: #090909; + border: 1px solid #e8e8e8; + border-radius: 5px; + text-align: right; } + .site-nav .menu-icon { + display: block; + float: right; + width: 36px; + height: 26px; + line-height: 0; + padding-top: 10px; + text-align: center; } + .site-nav .menu-icon > svg { + width: 18px; + height: 15px; } + .site-nav .menu-icon > svg path { + fill: #424242; } + .site-nav .trigger { + clear: both; + display: none; } + .site-nav:hover .trigger { + display: block; + padding-bottom: 5px; } + .site-nav .page-link { + display: block; + padding: 5px 10px; + margin-left: 20px; } + .site-nav .page-link:not(:last-child) { + margin-right: 0; } } + +/** + * Site footer + */ +.site-footer { + padding: 30px 0; } + +.footer-heading { + font-size: 18px; + margin-bottom: 15px; } + +.contact-list, +.social-media-list { + list-style: none; + margin-left: 0; } + +.footer-col-wrapper { + font-size: 15px; + color: #828282; + margin-left: -15px; } + +.footer-col { + float: left; + margin-bottom: 15px; + padding-left: 15px; } + +.footer-col-1 { + width: -webkit-calc(35% - (30px / 2)); + width: calc(35% - (30px / 2)); } + +.footer-col-2 { + width: -webkit-calc(20% - (30px / 2)); + width: calc(20% - (30px / 2)); } + +.footer-col-3 { + width: -webkit-calc(45% - (30px / 2)); + width: calc(45% - (30px / 2)); } + +@media screen and (max-width: 800px) { + .footer-col-1, + .footer-col-2 { + width: -webkit-calc(50% - (30px / 2)); + width: calc(50% - (30px / 2)); } + + .footer-col-3 { + width: -webkit-calc(100% - (30px / 2)); + width: calc(100% - (30px / 2)); } } +@media screen and (max-width: 600px) { + .footer-col { + float: none; + width: -webkit-calc(100% - (30px / 2)); + width: calc(100% - (30px / 2)); } } +/** + * Page content + */ +.page-content { + background: RGBA(255, 255, 255, 0.1); + padding: 30px 0; } + +.page-heading { + font-size: 20px; } + +.post-list { + margin-left: 0; + list-style: none; } + .post-list > li { + margin-bottom: 30px; } + +.post-meta { + font-size: 14px; + color: #828282; } + +.post-link { + display: block; + font-size: 24px; } + +/** + * Posts + */ +.post-header { + margin-bottom: 30px; } + +.post-title { + font-size: 42px; + letter-spacing: -1px; + line-height: 1; } + @media screen and (max-width: 800px) { + .post-title { + font-size: 36px; } } + +.post-content { + margin-bottom: 30px; } + .post-content h2 { + font-size: 32px; } + @media screen and (max-width: 800px) { + .post-content h2 { + font-size: 28px; } } + .post-content h3 { + font-size: 26px; } + @media screen and (max-width: 800px) { + .post-content h3 { + font-size: 22px; } } + .post-content h4 { + font-size: 20px; } + @media screen and (max-width: 800px) { + .post-content h4 { + font-size: 18px; } } + +/** + * Syntax highlighting styles + */ +.highlight { + background: #fff; } + .highlighter-rouge .highlight { + background: #eef; } + .highlight td.code > pre { + background: #323232; } + .highlight pre.lineno { + background: #212121; } + .highlight .c { + color: #998; + font-style: italic; } + .highlight .err { + color: #a61717; + background-color: #e3d2d2; } + .highlight .k { + font-weight: bold; } + .highlight .o { + font-weight: bold; } + .highlight .cm { + color: #998; + font-style: italic; } + .highlight .cp { + color: #999; + font-weight: bold; } + .highlight .c1 { + color: #998; + font-style: italic; } + .highlight .cs { + color: #999; + font-weight: bold; + font-style: italic; } + .highlight .gd { + color: #000; + background-color: #fdd; } + .highlight .gd .x { + color: #000; + background-color: #faa; } + .highlight .ge { + font-style: italic; } + .highlight .gr { + color: #a00; } + .highlight .gh { + color: #999; } + .highlight .gi { + color: #000; + background-color: #dfd; } + .highlight .gi .x { + color: #000; + background-color: #afa; } + .highlight .go { + color: #888; } + .highlight .gp { + color: #555; } + .highlight .gs { + font-weight: bold; } + .highlight .gu { + color: #aaa; } + .highlight .gt { + color: #a00; } + .highlight .kc { + font-weight: bold; } + .highlight .kd { + font-weight: bold; } + .highlight .kp { + font-weight: bold; } + .highlight .kr { + font-weight: bold; } + .highlight .kt { + color: #458; + font-weight: bold; } + .highlight .m { + color: #099; } + .highlight .s { + color: #d14; } + .highlight .na { + color: #008080; } + .highlight .nb { + color: #0086B3; } + .highlight .nc { + color: #458; + font-weight: bold; } + .highlight .no { + color: #008080; } + .highlight .ni { + color: #800080; } + .highlight .ne { + color: #900; + font-weight: bold; } + .highlight .nf { + color: #900; + font-weight: bold; } + .highlight .nn { + color: #555; } + .highlight .nt { + color: #000080; } + .highlight .nv { + color: #008080; } + .highlight .ow { + font-weight: bold; } + .highlight .w { + color: #bbb; } + .highlight .mf { + color: #099; } + .highlight .mh { + color: #099; } + .highlight .mi { + color: #099; } + .highlight .mo { + color: #099; } + .highlight .sb { + color: #d14; } + .highlight .sc { + color: #d14; } + .highlight .sd { + color: #d14; } + .highlight .s2 { + color: #d14; } + .highlight .se { + color: #d14; } + .highlight .sh { + color: #d14; } + .highlight .si { + color: #d14; } + .highlight .sx { + color: #d14; } + .highlight .sr { + color: #009926; } + .highlight .s1 { + color: #d14; } + .highlight .ss { + color: #990073; } + .highlight .bp { + color: #999; } + .highlight .vc { + color: #008080; } + .highlight .vg { + color: #008080; } + .highlight .vi { + color: #008080; } + .highlight .il { + color: #099; } diff --git a/_site/favicon-16x16.png b/_site/favicon-16x16.png new file mode 100644 index 0000000..166cd1a Binary files /dev/null and b/_site/favicon-16x16.png differ diff --git a/_site/favicon-32x32.png b/_site/favicon-32x32.png new file mode 100644 index 0000000..9d1c182 Binary files /dev/null and b/_site/favicon-32x32.png differ diff --git a/_site/favicon-96x96.png b/_site/favicon-96x96.png new file mode 100644 index 0000000..4d51433 Binary files /dev/null and b/_site/favicon-96x96.png differ diff --git a/_site/feed.xml b/_site/feed.xml new file mode 100644 index 0000000..84d53af --- /dev/null +++ b/_site/feed.xml @@ -0,0 +1,96 @@ + + + + Ramblings of an archer archer + Things which an Arch Linux user that also owns an recurve bow can write. + + http://praticamentetilde.github.io/ + + Thu, 07 Jul 2016 21:01:32 +0200 + Thu, 07 Jul 2016 21:01:32 +0200 + Jekyll v3.1.6 + + + Get a Bluetooth keyboard work with Arch Linux + <p>I’ve recently got a Rapoo E6100. This is a minimal and space saving Bluetooth 3.0 keyboard. If you pair it with Windows 10, it will remain paired after reboot, giving the possibility to use it since the login screen. After installing the Bluetooth stack on my Arch via the <code class="highlighter-rouge">bluez</code> and <code class="highlighter-rouge">bluez-utils</code> packages I thought the pairing process would be as simple as Windows if I used the KDE GUI menus for Bluetooth management. That’s not true. The keyboard, once paired, will reconnect automatically just after <code class="highlighter-rouge">plasmashell</code> loaded, leaving me without keyboard during the SDDM login screen and, of course, during a non-graphical session.</p> + +<p>As usual, i’ve searched help in the ArchWiki, founding <a href="https://wiki.archlinux.org/index.php/Bluetooth_keyboard">this</a> article. With that, i’ve succesfully reconnected my Bluetooth keyboard using the <code class="highlighter-rouge">bluetoothctl</code> utility. The next step was configuring the service for auto connection during boot. I’ve created the <code class="highlighter-rouge">btkbd.conf</code> and the <code class="highlighter-rouge">btkbd.service</code> files, enabling the last one with systemd. Let’s give a look to the service file:</p> + +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><table style="border-spacing: 0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre class="lineno">1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19</pre></td><td class="code"><pre><span class="o">[</span>Unit] +<span class="nv">Description</span><span class="o">=</span>systemd Unit to automatically start a Bluetooth keyboard +<span class="nv">Documentation</span><span class="o">=</span>https://wiki.archlinux.org/index.php/Bluetooth_Keyboard +<span class="nv">Requires</span><span class="o">=</span>dbus-org.bluez.service +<span class="nv">After</span><span class="o">=</span>dbus-org.bluez.service +<span class="nv">ConditionPathExists</span><span class="o">=</span>/etc/btkbd.conf +<span class="nv">ConditionPathExists</span><span class="o">=</span>/usr/bin/hcitool +<span class="nv">ConditionPathExists</span><span class="o">=</span>/usr/bin/hciconfig + +<span class="o">[</span>Service] +<span class="nv">Type</span><span class="o">=</span>oneshot +<span class="nv">EnvironmentFile</span><span class="o">=</span>/etc/btkbd.conf +<span class="nv">ExecStart</span><span class="o">=</span>/usr/bin/hciconfig <span class="k">${</span><span class="nv">HCIDEVICE</span><span class="k">}</span> up +<span class="c"># ignore errors on connect, spurious problems with bt?</span> +<span class="c"># so start next command with -</span> +<span class="nv">ExecStart</span><span class="o">=</span>-/usr/bin/hcitool cc <span class="k">${</span><span class="nv">BTKBDMAC</span><span class="k">}</span> + +<span class="o">[</span>Install] +<span class="nv">WantedBy</span><span class="o">=</span>multi-user.target<span class="w"> +</span></pre></td></tr></tbody></table></code></pre></figure> + +<p>Line 13 enables the Bluetooth dongle, and line 16 connects it to the keyboard we gave the mac address in <code class="highlighter-rouge">/etc/btkbd.conf</code>. This should work flawlessly, right? Of course it doesn’t. The service starts before the <code class="highlighter-rouge">dbus-org.bluez.service</code> is loaded and fails. However, if the service is started manually after login the Bluetooth keyboard works. After hours of trying figuring out what was wrong I’ve almost asked for a return on Amazon! The last attempt I made was with sddm disabled and involved built from scratch service:</p> + +<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><table style="border-spacing: 0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre class="lineno">1 +2 +3 +4 +5 +6 +7 +8 +9 +10</pre></td><td class="code"><pre><span class="o">[</span>Unit] +<span class="nv">Description</span><span class="o">=</span>systemd Unit to automatically start a Bluetooth keyboard + +<span class="o">[</span>Service] +<span class="nv">Type</span><span class="o">=</span>oneshot +<span class="nv">ExecStart</span><span class="o">=</span>/bin/hciconfig hci0 up +<span class="nv">ExecStart</span><span class="o">=</span>/bin/hcitool cc 00:11:22:33:44:55 + +<span class="o">[</span>Install] +<span class="nv">WantedBy</span><span class="o">=</span>bluetooth.target<span class="w"> +</span></pre></td></tr></tbody></table></code></pre></figure> + +<p>This incredibly worked. I think the problem was that <code class="highlighter-rouge">multi-user.target</code> that needs to be reached earlier than <code class="highlighter-rouge">bluetooth.target</code>. I got rid of all the tidiness of the ArchWiki solution just to be sure that was not the problem, but I think you can use all of that just correcting <code class="highlighter-rouge">WantedBy=</code>. Currently I haven’t an ArchWiki account nor a forum one, but as soon as I’ll register I’ll correct the article.</p> + +<p>Let me know in the comments if this solution is well made or if it’s just a bodge. +Last thing: I discovered that my Bluetooth dongle is CSR 8510 A10 based so expect some ramblings about <a href="http://www.0xf8.org/2014/02/the-crux-of-finding-a-hid-proxy-capable-usb-bluetooth-adapter/">hid proxy</a>.</p> + + Thu, 07 Jul 2016 14:49:18 +0200 + http://praticamentetilde.github.io/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html + http://praticamentetilde.github.io/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html + + + linux + + + + + diff --git a/_site/images/android/chiodi.png b/_site/images/android/chiodi.png new file mode 100644 index 0000000..e69de29 diff --git a/_site/index.html b/_site/index.html new file mode 100644 index 0000000..0699300 --- /dev/null +++ b/_site/index.html @@ -0,0 +1,179 @@ + + + + + + + + Ramblings of an archer archer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

My Arch Linux setup

+ + +
+
+ + +
+ +
+
+
+ +

Posts

+ + + +

subscribe via RSS

+ +
+ +
+
+ + + + diff --git a/_site/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html b/_site/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html new file mode 100644 index 0000000..10e010c --- /dev/null +++ b/_site/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html @@ -0,0 +1,196 @@ + + + + + + + + Get a Bluetooth keyboard work with Arch Linux + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+

Get a Bluetooth keyboard work with Arch Linux

+ +
+ +
+

I’ve recently got a Rapoo E6100. This is a minimal and space saving Bluetooth 3.0 keyboard. If you pair it with Windows 10, it will remain paired after reboot, giving the possibility to use it since the login screen. After installing the Bluetooth stack on my Arch via the bluez and bluez-utils packages I thought the pairing process would be as simple as Windows if I used the KDE GUI menus for Bluetooth management. That’s not true. The keyboard, once paired, will reconnect automatically just after plasmashell loaded, leaving me without keyboard during the SDDM login screen and, of course, during a non-graphical session.

+ +

As usual, i’ve searched help in the ArchWiki, founding this article. With that, i’ve succesfully reconnected my Bluetooth keyboard using the bluetoothctl utility. The next step was configuring the service for auto connection during boot. I’ve created the btkbd.conf and the btkbd.service files, enabling the last one with systemd. Let’s give a look to the service file:

+ +
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
[Unit]
+Description=systemd Unit to automatically start a Bluetooth keyboard
+Documentation=https://wiki.archlinux.org/index.php/Bluetooth_Keyboard
+Requires=dbus-org.bluez.service
+After=dbus-org.bluez.service
+ConditionPathExists=/etc/btkbd.conf
+ConditionPathExists=/usr/bin/hcitool
+ConditionPathExists=/usr/bin/hciconfig
+
+[Service]
+Type=oneshot
+EnvironmentFile=/etc/btkbd.conf
+ExecStart=/usr/bin/hciconfig ${HCIDEVICE} up
+# ignore errors on connect, spurious problems with bt?
+# so start next command with -
+ExecStart=-/usr/bin/hcitool cc ${BTKBDMAC}
+
+[Install]
+WantedBy=multi-user.target
+
+ +

Line 13 enables the Bluetooth dongle, and line 16 connects it to the keyboard we gave the mac address in /etc/btkbd.conf. This should work flawlessly, right? Of course it doesn’t. The service starts before the dbus-org.bluez.service is loaded and fails. However, if the service is started manually after login the Bluetooth keyboard works. After hours of trying figuring out what was wrong I’ve almost asked for a return on Amazon! The last attempt I made was with sddm disabled and involved built from scratch service:

+ +
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
[Unit]
+Description=systemd Unit to automatically start a Bluetooth keyboard
+
+[Service]
+Type=oneshot
+ExecStart=/bin/hciconfig hci0 up
+ExecStart=/bin/hcitool cc 00:11:22:33:44:55
+
+[Install]
+WantedBy=bluetooth.target
+
+ +

This incredibly worked. I think the problem was that multi-user.target that needs to be reached earlier than bluetooth.target. I got rid of all the tidiness of the ArchWiki solution just to be sure that was not the problem, but I think you can use all of that just correcting WantedBy=. Currently I haven’t an ArchWiki account nor a forum one, but as soon as I’ll register I’ll correct the article.

+ +

Let me know in the comments if this solution is well made or if it’s just a bodge. +Last thing: I discovered that my Bluetooth dongle is CSR 8510 A10 based so expect some ramblings about hid proxy.

+ +
+ +
+ +
+
+ + + + diff --git a/_site/manifest.json b/_site/manifest.json new file mode 100644 index 0000000..013d4a6 --- /dev/null +++ b/_site/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "App", + "icons": [ + { + "src": "\/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "\/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "\/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "\/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "\/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "\/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ] +} \ No newline at end of file diff --git a/_site/ms-icon-144x144.png b/_site/ms-icon-144x144.png new file mode 100644 index 0000000..1153cda Binary files /dev/null and b/_site/ms-icon-144x144.png differ diff --git a/_site/ms-icon-150x150.png b/_site/ms-icon-150x150.png new file mode 100644 index 0000000..4b2ee41 Binary files /dev/null and b/_site/ms-icon-150x150.png differ diff --git a/_site/ms-icon-310x310.png b/_site/ms-icon-310x310.png new file mode 100644 index 0000000..9bea29a Binary files /dev/null and b/_site/ms-icon-310x310.png differ diff --git a/_site/ms-icon-70x70.png b/_site/ms-icon-70x70.png new file mode 100644 index 0000000..b712fb6 Binary files /dev/null and b/_site/ms-icon-70x70.png differ diff --git a/_site/slides/arch.png b/_site/slides/arch.png new file mode 100644 index 0000000..ae7ec27 Binary files /dev/null and b/_site/slides/arch.png differ diff --git a/_slides/arch.png b/_slides/arch.png new file mode 100644 index 0000000..ae7ec27 Binary files /dev/null and b/_slides/arch.png differ diff --git a/_slides/system.md b/_slides/system.md new file mode 100644 index 0000000..f08d8c8 --- /dev/null +++ b/_slides/system.md @@ -0,0 +1,5 @@ +--- +layout: slide +title: My Arch Linux setup +background: /slides/arch.png +--- diff --git a/android-icon-144x144.png b/android-icon-144x144.png new file mode 100644 index 0000000..1153cda Binary files /dev/null and b/android-icon-144x144.png differ diff --git a/android-icon-192x192.png b/android-icon-192x192.png new file mode 100644 index 0000000..3ced9ed Binary files /dev/null and b/android-icon-192x192.png differ diff --git a/android-icon-36x36.png b/android-icon-36x36.png new file mode 100644 index 0000000..bc4b658 Binary files /dev/null and b/android-icon-36x36.png differ diff --git a/android-icon-48x48.png b/android-icon-48x48.png new file mode 100644 index 0000000..c87da66 Binary files /dev/null and b/android-icon-48x48.png differ diff --git a/android-icon-72x72.png b/android-icon-72x72.png new file mode 100644 index 0000000..05da383 Binary files /dev/null and b/android-icon-72x72.png differ diff --git a/android-icon-96x96.png b/android-icon-96x96.png new file mode 100644 index 0000000..4d51433 Binary files /dev/null and b/android-icon-96x96.png differ diff --git a/apple-icon-114x114.png b/apple-icon-114x114.png new file mode 100644 index 0000000..7f7b260 Binary files /dev/null and b/apple-icon-114x114.png differ diff --git a/apple-icon-120x120.png b/apple-icon-120x120.png new file mode 100644 index 0000000..ebf0feb Binary files /dev/null and b/apple-icon-120x120.png differ diff --git a/apple-icon-144x144.png b/apple-icon-144x144.png new file mode 100644 index 0000000..1153cda Binary files /dev/null and b/apple-icon-144x144.png differ diff --git a/apple-icon-152x152.png b/apple-icon-152x152.png new file mode 100644 index 0000000..86e52df Binary files /dev/null and b/apple-icon-152x152.png differ diff --git a/apple-icon-180x180.png b/apple-icon-180x180.png new file mode 100644 index 0000000..153da14 Binary files /dev/null and b/apple-icon-180x180.png differ diff --git a/apple-icon-57x57.png b/apple-icon-57x57.png new file mode 100644 index 0000000..b5fa496 Binary files /dev/null and b/apple-icon-57x57.png differ diff --git a/apple-icon-60x60.png b/apple-icon-60x60.png new file mode 100644 index 0000000..ea1faf3 Binary files /dev/null and b/apple-icon-60x60.png differ diff --git a/apple-icon-72x72.png b/apple-icon-72x72.png new file mode 100644 index 0000000..05da383 Binary files /dev/null and b/apple-icon-72x72.png differ diff --git a/apple-icon-76x76.png b/apple-icon-76x76.png new file mode 100644 index 0000000..fa65ab0 Binary files /dev/null and b/apple-icon-76x76.png differ diff --git a/apple-icon-precomposed.png b/apple-icon-precomposed.png new file mode 100644 index 0000000..e9297e2 Binary files /dev/null and b/apple-icon-precomposed.png differ diff --git a/apple-icon.png b/apple-icon.png new file mode 100644 index 0000000..e9297e2 Binary files /dev/null and b/apple-icon.png differ diff --git a/browserconfig.xml b/browserconfig.xml new file mode 100644 index 0000000..c554148 --- /dev/null +++ b/browserconfig.xml @@ -0,0 +1,2 @@ + +#ffffff \ No newline at end of file diff --git a/contact.md b/contact.md new file mode 100644 index 0000000..f202e63 --- /dev/null +++ b/contact.md @@ -0,0 +1,11 @@ +--- +layout: page +title: About +permalink: /about/ +--- + +My name is Claudio Maggioni and I am both an Arch Linux user and an [recurve archer](http://www.fitarco-italia.org/arcieri/situazione.php?Codice=91647). I define myself an "archer archer". This site will collect my own occasional thoughts about the two worlds, hoping someone will found them useful. + +If you are curious about the code i produce my personal Github account is [here](https://github.com/praticamentetilde/). This particular site is made with jekyll and hosted by Github pages, as you can see. + +PRO tip: try performing a Konami code in the home page... diff --git a/css/main.scss b/css/main.scss new file mode 100644 index 0000000..e149682 --- /dev/null +++ b/css/main.scss @@ -0,0 +1,53 @@ +--- +# Only the main Sass file needs front matter (the dashes are enough) +--- +@charset "utf-8"; + + + +// Our variables +$base-font-family: "Hammersmith One","Helvetica Neue", Helvetica, Arial, sans-serif; +$base-font-size: 16px; +$base-font-weight: 200; +$small-font-size: $base-font-size * 0.875; +$base-line-height: 1.5; + +$spacing-unit: 30px; + +$text-color: #888; +$background-color: #090909; +$brand-color: #2a7ae2; + +$grey-color: #828282; +$grey-color-light: lighten($grey-color, 40%); +$grey-color-dark: darken($grey-color, 25%); + +// Width of the content area +$content-width: 800px; + +$on-palm: 600px; +$on-laptop: 800px; + +$slideshow-height: 70vh; + +// Use media queries like this: +// @include media-query($on-palm) { +// .wrapper { +// padding-right: $spacing-unit / 2; +// padding-left: $spacing-unit / 2; +// } +// } +@mixin media-query($device) { + @media screen and (max-width: $device) { + @content; + } +} + + + +// Import partials from `sass_dir` (defaults to `_sass`) +@import + "base", + "layout", + "syntax-highlighting" +; diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 0000000..166cd1a Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 0000000..9d1c182 Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon-96x96.png b/favicon-96x96.png new file mode 100644 index 0000000..4d51433 Binary files /dev/null and b/favicon-96x96.png differ diff --git a/feed.xml b/feed.xml new file mode 100644 index 0000000..a6628bd --- /dev/null +++ b/feed.xml @@ -0,0 +1,30 @@ +--- +layout: null +--- + + + + {{ site.title | xml_escape }} + {{ site.description | xml_escape }} + {{ site.url }}{{ site.baseurl }}/ + + {{ site.time | date_to_rfc822 }} + {{ site.time | date_to_rfc822 }} + Jekyll v{{ jekyll.version }} + {% for post in site.posts limit:10 %} + + {{ post.title | xml_escape }} + {{ post.content | xml_escape }} + {{ post.date | date_to_rfc822 }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} + {% for tag in post.tags %} + {{ tag | xml_escape }} + {% endfor %} + {% for cat in post.categories %} + {{ cat | xml_escape }} + {% endfor %} + + {% endfor %} + + diff --git a/images/android/chiodi.png b/images/android/chiodi.png new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html new file mode 100644 index 0000000..83d9398 --- /dev/null +++ b/index.html @@ -0,0 +1,23 @@ +--- +layout: default +--- + +
+ +

Posts

+ + + +

subscribe via RSS

+ +
diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..013d4a6 --- /dev/null +++ b/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "App", + "icons": [ + { + "src": "\/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "\/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "\/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "\/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "\/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "\/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ] +} \ No newline at end of file diff --git a/ms-icon-144x144.png b/ms-icon-144x144.png new file mode 100644 index 0000000..1153cda Binary files /dev/null and b/ms-icon-144x144.png differ diff --git a/ms-icon-150x150.png b/ms-icon-150x150.png new file mode 100644 index 0000000..4b2ee41 Binary files /dev/null and b/ms-icon-150x150.png differ diff --git a/ms-icon-310x310.png b/ms-icon-310x310.png new file mode 100644 index 0000000..9bea29a Binary files /dev/null and b/ms-icon-310x310.png differ diff --git a/ms-icon-70x70.png b/ms-icon-70x70.png new file mode 100644 index 0000000..b712fb6 Binary files /dev/null and b/ms-icon-70x70.png differ