This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # List of files to use as initial seed | |
| file_list = [ | |
| '/home/carlo/Immagini/2013/08/15/IMG_20130815_154000.jpg', | |
| '/home/carlo/Immagini/2013/08/15/IMG_20130815_154023.jpg', | |
| '/home/carlo/Immagini/2013/08/15/IMG_20130815_154029.jpg', | |
| '/home/carlo/Immagini/2013/08/15/PANO_20130815_095210.jpg' | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ** Running f-spot in Debug Mode ** | |
| ** Running Mono with --debug ** | |
| [1 Info 19:04:17.425] Initializing Mono.Addins | |
| [1 Debug 19:04:17.654] Mono.Addins Initialization took 0,206363 | |
| (f-spot:9665): Gtk-WARNING **: Impossibile trovare il motore del tema in module_path: «pixmap», | |
| (f-spot:9665): Gtk-WARNING **: Impossibile trovare il motore del tema in module_path: «pixmap», | |
| (f-spot:9665): Gtk-WARNING **: Impossibile trovare il motore del tema in module_path: «pixmap», |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Post installer scritp for Fedora 19 | |
| # author: Carlo Lobrano | |
| # e-mail: c.lobrano@gmail.com | |
| # blog: www.bytefalls.com | |
| ################################ | |
| ## Base functions | |
| ################################ | |
| log() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| Author="Carlo Lobrano" | |
| Email="bytefalls@gmail.com" | |
| Version="2.2" | |
| Date="2014-05-25" | |
| Project="Ubuntu-derived OS post install script" | |
| # Changelog | |
| # 2014-06-07 Added indicator-cpufreq to eos (remember to copy the icons) | |
| # 2014-05-25 Separated package installation from ppa add. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if exists("b:current_syntax") | |
| finish | |
| endif | |
| hi Cyan3 ctermfg=43 guifg=#00d7af "rgb=0,215,175 | |
| hi DarkBlue ctermfg=18 guifg=#000087 "rgb=0,0,135 | |
| hi DarkGreen ctermfg=22 guifg=#005f00 "rgb=0,95,0 | |
| hi DarkMagenta ctermfg=90 guifg=#870087 "rgb=135,0,135 | |
| hi DarkOrange ctermfg=208 guifg=#ff8700 "rgb=255,135,0 | |
| hi Green3 ctermfg=34 guifg=#00af00 "rgb=0,175,0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dockerizing MongoDB: Dockerfile for building MongoDB images | |
| # Based on ubuntu:latest, installs MongoDB following the instructions from: | |
| # http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ | |
| ## Usage | |
| ## Basic way | |
| ## Usage: docker run --name <name for container> -d <user-name>/<repository> | |
| #$ docker run -p 27017:27017 --name mongo_instance_001 -d my/repo | |
| # | |
| ## Dockerized MongoDB, lean and mean! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Verifying that "clobrano.id" is my Blockstack ID. https://onename.com/clobrano |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const WebSocket = require ('ws'); | |
| const wss = new WebSocket.Server({host:'localhost', port:'8080'}); | |
| wss.broadcast = function (data) { | |
| wss.clients.forEach ( client => { | |
| if (client.readyState === WebSocket.OPEN) { | |
| client.send (data); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <script> | |
| var ws = new WebSocket('ws://localhost:8080'); | |
| ws.onmessage = function (event) { | |
| document.getElementById('result0').value=event.data; | |
| } | |
| </script> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Save this file into ~/.config/nvim/init.vim | |
| " | |
| " BASIC SETUP: | |
| syntax enable | |
| filetype plugin on | |
| " FINDING FILES | |
| " Search down into subfolders | |
| set path+=** | |
| set wildmenu |
OlderNewer