Skip to content

Instantly share code, notes, and snippets.

View darkspadez's full-sized avatar

Jon Kagan darkspadez

View GitHub Profile
#include <iostream>
using namespace std;
int main ()
{
int a=5;
int b=2;
int r;
r = a - b;
cout << r;
#!/bin/bash
# wget https://gist.github.com/raw/707468/cm-ec2-init.sh && . cm-ec2-init.sh
# Epic CM-on-EC2 Init Script for ami-4a0df923
# Preemptively agree to the JDK license
echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections
# Get required packages
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo aptitude update
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name = "privategh"
fetch="git://github.com/" />
<project path="device/htc/vision"
name="Andromadus/android_device_htc_vision"
remote="privategh"
revision="ics"/>
#!/bin/bash
# Preemptively agree to the JDK license
echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | sudo debconf-set-selections
# Get required packages
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo aptitude update
sudo apt-get --yes install \
git-core gnupg flex bison gperf build-essential \
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name = "privategh"
fetch="git://github.com/" />
<project path="device/htc/vision"
name="Andromadus/android_device_htc_vision"
remote="privategh"
revision="ics" />
device/motorola/msm8960-common/modules/mount_tools/recover_userdata.c: In function 'format_ext4':
device/motorola/msm8960-common/modules/mount_tools/recover_userdata.c:162:5: warning: implicit declaration of function 'reset_ext4fs_info' [-Wimplicit-function-declaration]
device/motorola/msm8960-common/modules/mount_tools/recover_userdata.c:163:5: error: invalid use of undefined type 'struct fs_info'
device/motorola/msm8960-common/modules/mount_tools/recover_userdata.c:165:9: error: invalid use of undefined type 'struct fs_info'
device/motorola/msm8960-common/modules/mount_tools/recover_userdata.c:166:5: warning: implicit declaration of function 'make_ext4fs_internal' [-Wimplicit-function-declaration]
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<!-- Device Repos -->
<project name="darkspadez/device_asus_flo" path="device/asus/flo" remote="gh" revision="jb4.3" />
<!-- Vendor Repos -->
<project name="SlimRoms/proprietary_vendor_asus/" path="vendor/asus" remote="gh" revision="jb4.3" />
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<!-- Device Repos -->
<project name="darkspadez/device_asus_flo" path="device/asus/flo" remote="gh" revision="jb4.3" />
<!-- Vendor Repos -->
<project name="SlimRoms/proprietary_vendor_asus/" path="vendor/asus" remote="gh" revision="jb4.3" />
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<!-- Device Repos -->
<project name="SlimRoms/device_asus_flo" path="device/asus/flo" remote="gh" revision="jb4.3" />
<project name="SlimRoms/device_motorola_xt926" path="device/motorola/xt926" remote="gh" revision="jb4.3" />
<project name="SlimRoms/device_motorola_xt925" path="device/motorola/xt925" remote="gh" revision="jb4.3" />
<project name="SlimRoms/device_motorola_msm8960-common" path="device/motorola/msm8960-common" remote="gh" revision="jb4.3" />
export CCACHE_HARDLINK="0"
export CCACHE_UMASK="002"
export USE_CCACHE=1