Skip to content

Instantly share code, notes, and snippets.

View PierpaoloPernici's full-sized avatar
🏠
Working from home

Pierpaolo 'pier' Pernici PierpaoloPernici

🏠
Working from home
View GitHub Profile
@PierpaoloPernici
PierpaoloPernici / pier.terminal
Created May 14, 2017 10:04
macos-terminal-pier
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlueColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGKyxYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKcHCBMZHSQoVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECgwLjI1NDkwMTk2
MDggMC40NzQ1MDk4MDM5IDAuNjk4MDM5MjE1NyAxTxAmMC4yMDEyMTY5MzYxIDAuMzkx
@PierpaoloPernici
PierpaoloPernici / cf.sh
Last active November 23, 2016 10:30
Codice Fiscale Inverso
#!/bin/bash
wget http://codicefiscale.it/doRCf.php --post-data="codfisc=$1" 2> /dev/null
cat doRCf.php | awk -F'#' '{ print "SESSO: " $3 "\nDATA: " $4 "\nLUOGO: " $5 }'
rm doRCF.php
@PierpaoloPernici
PierpaoloPernici / add-dock-space.sh
Created June 29, 2016 20:54
Add a space on the OS X Dock
#!/bin/sh
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
@PierpaoloPernici
PierpaoloPernici / EnablePowerChime
Last active April 25, 2016 20:43
Charging chime on All MAC Hardware
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
@PierpaoloPernici
PierpaoloPernici / readme
Created November 27, 2012 15:47
SWTOR Steam Overlay
using System;
using System.Diagnostics;
using System.IO;
using System.IO.Pipes;
using System.Management;
using System.Threading;
using System.Windows.Forms;
namespace steamswtor
{