This file contains hidden or 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/sh | |
#* | |
#* config-keeper - moves configs in dir and makes git repo in it | |
#* Copyright (C) 2009 ia | |
#* | |
#* config-keeper is free software. | |
#* | |
#* You may redistribute it and/or modify it under the terms of the | |
#* GNU General Public License, as published by the Free Software |
This file contains hidden or 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 | |
#* | |
#* twitsh - twitting/juicking from terminal | |
#* Copyright (C) 2008,2009 ia | |
#* | |
#* twitsh is free software. | |
#* | |
#* You may redistribute it and/or modify it under the terms of the | |
#* GNU General Public License, as published by the Free Software |
This file contains hidden or 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/sh | |
# | |
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# | |
# This attempts to guide linux users through the process of putting a recovery | |
# image onto a removeable USB drive. | |
# | |
# We may not need root privileges if we have the right permissions. |
This file contains hidden or 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
# fw_type will always be developer for Mario. | |
# Alex and ZGB need the developer BIOS installed though. | |
fw_type="`crossystem mainfw_type`" | |
if [ ! "$fw_type" = "developer" ] | |
then | |
echo -e "\nYou're Chromebook is not running a developer BIOS!" | |
echo -e "You need to run:" | |
echo -e "" | |
echo -e "sudo chromeos-firmwareupdate --mode=todev" | |
echo -e "" |
This file contains hidden or 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
usage() | |
{ | |
cat << EOF | |
usage: $0 options | |
ChrUbuntu installation script. | |
OPTIONS: | |
-h show help. | |
-m Ubuntu metapackage to install such as xubuntu-desktop, kubuntu-desktop or ubuntu-minimal. Default is ubuntu-desktop |
This file contains hidden or 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
# fw_type will always be developer for Mario. | |
# Alex and ZGB need the developer BIOS installed though. | |
fw_type="`crossystem mainfw_type`" | |
if [ ! "$fw_type" = "developer" ] | |
then | |
echo -e "\nYou're Chromebook is not running a developer BIOS!" | |
echo -e "You need to run:" | |
echo -e "" | |
echo -e "sudo chromeos-firmwareupdate --mode=todev" | |
echo -e "" |
This file contains hidden or 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
Steps to reproduce: | |
- prepare image: build manually using wiki [ http://wiki.cyanogenmod.org/w/Build_for_maguro ; branch: cm-12.1 ] or download cm-12.1-20150728-UNOFFICIAL-maguro.zip using the link: http://forum.xda-developers.com/devdb/project/dl/?id=13736 | |
- boot recovery (e.g. TWRP) | |
- wipe all | |
- flash zip | |
- boot system | |
- charge battery upper than 80% | |
- enable lock screen using "Settings" | |
- enable encryption using "Settings > Security > Encrypt phone" |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
int membyte(unsigned char *b1, unsigned char *b2, unsigned char *b3, int len) | |
{ | |
unsigned char *tmp = malloc(len); | |
printf("\n"); | |
int i = 0; | |
for (i = 0; i < len; i++) { |
NewerOlder