-
copy pull-changes.sh from raw
note: link could be wrong if updated below
wget https://gist.githubusercontent.com/xarses/7cd6a335055546078a31/raw/pull-change.sh
-
find review you want to test and go to patch set download section. Select pull, you should see line like
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""master from 14f3652 | |
Revision ID: 3d7508e06572 | |
Revises: 4f21f21e2672 | |
Create Date: 2014-04-11 13:15:56.563349 | |
""" | |
# revision identifiers, used by Alembic. | |
revision = '3d7508e06572' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $(head /sys/kernel/mm/ksm/run) = "0" ]] ; then | |
echo "ksm is not enabled. /sys/kernel/mm/ksm/run must be 1" | |
return 1 | |
fi | |
files=$(ls /sys/kernel/mm/ksm/pages*) | |
pagesz=$(getconf PAGESIZE) | |
for file in $files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z $OS_TOKEN ] ; then | |
export OS_TOKEN=$(python -c 'from fuelclient.client import Client | |
print Client().auth_token') | |
echo got my own OS_TOKEN=${OS_TOKEN} | |
fi | |
curl -H "X-Auth-Token: $OS_TOKEN" $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dockerctl shell nailgun | |
manage.py drobdb | |
manage.py syncdb | |
manage.py loaddefault | |
exit |
I hereby claim:
- I am xarses on github.
- I am xarses (https://keybase.io/xarses) on keybase.
- I have a public key whose fingerprint is 683D DB7C CC60 E9F8 E271 3CBD 1853 F7E7 35DF BAED
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fuel-iso-builder | |
# | |
# iso building container for fuel | |
# | |
# Version 0.1 | |
FROM ubuntu:14.04 | |
MAINTAINER Andrew Woodward awoodward@mirantis.com | |
WORKDIR /root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for dev in $devs ; | |
do | |
echo "device: ${dev}" | |
parts=$(ls /dev/${dev}?*) | |
for part in $parts ; | |
do | |
partnum=$(echo ${part} | awk -F"/dev/${dev}" '{print $2}') | |
echo "Part: ${part}" | |
sgdisk -i ${partnum} /dev/${dev} | grep "Partition GUID code" |
You cant use chrome/chromium as it can't launch java applets
Using firefox/iceweasel
Note: the packages here are what I was missing on Debian:Sid around Dec 2014. Your mileage may varry. If you install just icedtea, you can jump to attempting to run Webex and just chase the deps from there
echo missing packages for webex
sudo dpkg --add-architecture i386
sudo apt-get install icedtea-netx icedtea-plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $(head /sys/kernel/mm/ksm/run) = "0" ]] ; then | |
echo "ksm is not enabled. /sys/kernel/mm/ksm/run must be 1" | |
exit 1 | |
fi | |
files=$(ls /sys/kernel/mm/ksm/pages*) | |
pagesz=$(getconf PAGESIZE) | |
for file in $files |
OlderNewer