Skip to content

Instantly share code, notes, and snippets.

Fabio Nisci fabiosoft

Block or report user

Report or block fabiosoft

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fabiosoft / go_left.xml
Created May 3, 2019
onvif cam wsdl command
View go_left.xml
<soap:Envelope xmlns:soap="" xmlns:wsdl="" xmlns:sch="">
<sch:PanTilt x="-1" y="0" space="0"/>
View resolve a conflict between tap gesture with table view didselected event.m
- (BOOL) gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
if ([gestureRecognizer isEqual:self.tapRecognizer]) {
// for ios 7 , need to compare with UITableViewCellContentView
if ([NSStringFromClass([touch.view class]) isEqualToString:@"UITableViewCellContentView"] || [touch.view.superview isKindOfClass:[UITableViewCell class]]) {
return FALSE;
return TRUE;
View swiftlint.yml
disabled_rules: # rule identifiers to exclude from running
- line_length
- function_body_length
- cyclomatic_complexity
- multiple_closures_with_trailing_closure
- xctfail_message
# Swift 3 rules that do not make sense for Swift 2.3
- implicit_getter
fabiosoft / ZoomCardFlowLayout.swift
Created May 2, 2018 — forked from Oni-zerone/ZoomCardFlowLayout.swift
A card zooming custom flow layout
View ZoomCardFlowLayout.swift
// ZoomCardFlowLayout.swift
// Created by Oni_01 on 12/05/15.
// Copyright (c) 2015 Andrea Altea. All rights reserved.
import UIKit
fabiosoft /
Created Feb 27, 2018 — forked from fragolinux/
simple but effective node-red setup backup script
DATE=$(date +"%Y-%m-%dT%H-%M-%SZ")
# create dated backup folders
mkdir -p $WHERE/{sqlite,nodered,etc,homebridge}
fabiosoft / Program.cs
Created Feb 2, 2017
C# Sudoku Generator
View Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
class Program
static int[,] grid = new int[9, 9];
fabiosoft / rc.local
Created Dec 20, 2016
Raspberry pi original rc.local boot file
View rc.local
#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
fabiosoft /
Last active Dec 12, 2016 — forked from wilson428/
Fix Dropbox conflicts automatically.
#Point to where you want the script to look and where it should backup files it replaces
fabiosoft / Podfile
Created Dec 6, 2016
Generic podfile form common app
View Podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'yourapp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
# Pods for your app
## utils
fabiosoft / rails
Created Mar 17, 2015
Rails' built-in server binding default on or different port
View rails
#!/usr/bin/env ruby2.2
load File.expand_path("../spring", __FILE__)
rescue LoadError
APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'
require "rails/commands/server"
You can’t perform that action at this time.