Skip to content

Instantly share code, notes, and snippets.

View gipi's full-sized avatar
😎
code for food

Gianluca Pacchiella gipi

😎
code for food
View GitHub Profile
@gipi
gipi / deploy_lib.sh
Created February 10, 2014 11:21
Simple bash utility functions to deploy heroku-like
#
# Simple utility script to manage deploy from client/server side
#
# usage:
#
# $ source deploy_lib.sh "/path/to/web/root"
# $ deploy
#
test -z "$1" && {
@gipi
gipi / random.md
Last active August 29, 2015 13:57
Random link
@gipi
gipi / README.md
Last active August 29, 2015 13:59
#ansible
@gipi
gipi / 001.md
Last active August 29, 2015 14:01
#aosp

All starts with the script build/envsetup.sh that defines some shell functions and loads the vendorsetup.sh scripts that it founds into the device/ and vendor/ directories:

# Execute the contents of any vendorsetup.sh files we can find.
for f in `test -d device && find device -maxdepth 4 -name 'vendorsetup.sh' 2> /dev/null` \
         `test -d vendor && find vendor -maxdepth 4 -name 'vendorsetup.sh' 2> /dev/null`
do
    echo "including $f"
    . $f
done
@gipi
gipi / README.md
Last active August 29, 2015 14:02
#debian
@gipi
gipi / timing.py
Last active August 29, 2015 14:06
timing attack
#!/usr/bin/env python
#
# export PYTHONUNBUFFERED=true
import sys
import os
import operator
import string
import datetime
def _out(msg):
@gipi
gipi / README.md
Last active August 29, 2015 14:06
INstalling Intel Graphic card drivers
  1. Download the latest source release
  2. Unzip the archive and enter into the directory
  3. install libgtk-3-dev libpolkit-gobject-1-dev libpackagekit-glib2-dev libsoup-gnome2.4-dev
  4. ./configure --with-distribution debian
  5. make

Do not compile, however, in data/ilg-config.cfg there are the repo configuration that it uses for ubuntu.

In order to test the WebGL configuration use chrome://gpu, in my case the Intel card is blacklisted, you can use the --ignore-gpu-blacklist parameter with chrome.

@gipi
gipi / README.md
Last active August 29, 2015 14:16
#chromecast

Specs

  • Azure Wave AW-NH387 - 802.11 b/g/n WLAN, Bluetooth, FM combo module IC
  • Marvell 88DE3005 (DE3005-A1)
  • Micron 29F16G08CBACA (2GiB Flash NAND)
  • Micron 3FE77D9PXV (512MB RAM)

Links