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 | |
set -x | |
# | |
# Grab verified boot utilities from ChromeOS. | |
# | |
mkdir -p /usr/share/vboot | |
mount -o ro /dev/sda3 /mnt | |
cp /mnt/usr/bin/vbutil_* /usr/bin |
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
# I updated the script for kernel 3.8 running on Acer C7 Chrubuntu 13.04 | |
#!/bin/bash | |
set -x | |
# | |
# Grab verified boot utilities from ChromeOS. | |
# | |
mkdir -p /usr/share/vboot |
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 | |
#Downloads and installs module-assistant and nvidia-kernel-common | |
apt-get install module-assistant nvidia-kernel-common && | |
#Downloads and installs the files for your current kernel version. | |
m-a auto-install nvidia-kernel${VERSION}-source && | |
#Downloads drivers and utilities specific to your kernel version. | |
apt-get install nvidia-glx${VERSION} && | |
#Creates a basic xorg.conf file for X to load. | |
cat > /etc/X11/xorg.conf << EOF | |
# nvidia-settings: X configuration file generated by nvidia-settings |
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 | |
wget http://somesite.com/coreboot.rom | |
/usr/sbin/flashrom internal:bus=spi -w coreboot.rom | |
echo "FIXED IT FOR YOU" |
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
install: | |
sudo cp youloop.service /etc/systemd/user/ | |
systemctl enable --user youloop.service | |
systemctl start --user youloop.service |
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
import time | |
import threading | |
import pyperclip | |
def is_url_but_not_bitly(url): | |
if url.startswith("http://") and not "bit.ly" in url: | |
return True | |
return False |
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
[parker@rcvrd youloop]$ youtube-dl --list-extractors | |
1tv | |
1up.com | |
220.ro | |
22tracks:genre | |
22tracks:track | |
24video | |
3sat | |
4tube | |
56.com |
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/sh | |
unbind_vtconsoles() | |
{ | |
for ((i = 0; i < 16; i++)) | |
do | |
if [ -d "/sys/class/vtconsole/vtcon$i" ]; then | |
if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` -eq 1 ]; then | |
while [ `cat /sys/class/vtconsole/vtcon$i/bind` -ne 0 ]; do |
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 [[ "$#" -eq "1" ]]; then | |
rename ".<---" "" * | |
mv "$1" "$1.<---" | |
fi |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<update_data_list> | |
<region id="us"> | |
<np level0_system_version="03.600.000" level1_system_version="03.600.000" level2_system_version="03.600.000" map="03.600.000" /> | |
<np_d level0_system_version="03.600.000" level1_system_version="03.600.000" level2_system_version="03.600.000" map="03.600.000" /> | |
<version system_version="03.600.000" label="3.60"> | |
<update_data update_type="full"> | |
<image size="0">http://www.example.com/PSP2UPDAT.PUP</image> | |
</update_data> | |
</version> |
OlderNewer