Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
code for food

Gianluca Pacchiella gipi

😎
code for food
View GitHub Profile
@gipi
gipi / deploy_lib.sh
Created Feb 10, 2014
Simple bash utility functions to deploy heroku-like
View deploy_lib.sh
#
# 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 Aug 29, 2015
Random link
View random.md
@gipi
gipi / README.md
Last active Aug 29, 2015
#ansible
View README.md
View 001.md

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 Aug 29, 2015
#debian
View README.md
@gipi
gipi / timing.py
Last active Aug 29, 2015
timing attack
View timing.py
#!/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 Aug 29, 2015
INstalling Intel Graphic card drivers
View README.md
  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 Aug 29, 2015
#chromecast
View README.md

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