Skip to content

Instantly share code, notes, and snippets.

View antonellopasella's full-sized avatar
💯

Antonello Pasella antonellopasella

💯
View GitHub Profile
@antonellopasella
antonellopasella / Vagrantfile
Created March 29, 2013 08:40
Howto setup a "non HDCP" network interface ousing Vagrant
Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", 256]
v.customize ["modifyvm", :id, "--nictype1", "virtio"]
v.customize ["modifyvm", :id, "--nictype2", "virtio"]
v.gui = true # for debug
end
@antonellopasella
antonellopasella / Applescript to send new iMessage
Last active February 20, 2019 19:09
How to send a new iMessage throug Applescript. For retrieve the contactname select your contact from list then SHIFT+CMD+I
tell application "Messages"
set isAppRunning to false
tell application "System Events"
if (exists process "Messages") then
set isAppRunning to true
end if
end tell
if isAppRunning is false then
@antonellopasella
antonellopasella / Gruntfile.js
Last active December 14, 2015 09:28
How to setup LESS instead of SASS with yeoman 1.0 #yeoman #grunt #less
// Generated on 2013-03-01 using generator-webapp 0.1.5
'use strict';
var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet;
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
// # Globbing