$ git config --global user.name "Xabier Larrakoetxea"
$ git config --global user.email slok69@gmail.com
$ git config --global merge.tool [el programa que queramos, yo usaria: diffuse]
$ git config --global color.ui true
#!/bin/csh | |
setenv ANDROID_HOME /usr/lib/android | |
setenv PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools |
#!/bin/sh | |
# | |
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd". | |
# | |
#This script is for some laptops like Asus U30Jc, and make the laptop | |
#hibernate and suspend without errors (hang or freeze the system) | |
#Fist we have to pick the devices to bind and unbind. To select them we have | |
#to do a command: | |
# ls -la /sys/bus/pci/drivers/ehci_hcd/ | |
#And pick the devices that have this style: "XXXX:XX:XX.X" For example in this case |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<head profile="http://www.w3.org/2003/g/data-view"> |
#Copyright (C) 2011 Iraide (Sharem) Diaz <iraide.diaz [at] gmail [dot] com> | |
#Copyright (C) 2011 Xabier (sLoK) Larrakoetxea <slok69 [at] gmail [dot] com> | |
# | |
#This program is free software: you can redistribute it and/or modify | |
#it under the terms of the GNU General Public License as published by | |
#the Free Software Foundation, either version 3 of the License, or | |
#(at your option) any later version. | |
# | |
#This program is distributed in the hope that it will be useful, | |
#but WITHOUT ANY WARRANTY; without even the implied warranty of |
#!/bin/bash | |
SYSLIB_PATH=/usr/lib64 | |
OR_PATH=/home/slok/Games/OilRush-0.71/bin | |
ARCH=x64 #x64/x86 | |
rm $OR_PATH/libQtCoreUnigine_$ARCH.so.4 | |
rm $OR_PATH/libQtGuiUnigine_$ARCH.so.4 | |
rm $OR_PATH/libQtNetworkUnigine_$ARCH.so.4 |
from django.contrib.admin.sites import AdminSite | |
#redefining (extend) the admin class for AdminSite2 to let groups enter in the admins or not | |
class MyAdminSite2(AdminSite): | |
def __init__(self, name=None, app_name='admin', valid_groups=None ): | |
""" | |
Call the default contructor and add valid_groups for the group checking for the admin site | |
""" |
# Copyright (c) 2011, Xabier (slok) Larrakoetxea | |
# Copyright (c) 2011, Iraide (Sharem) Diaz | |
# | |
# 3 clause/New BSD license: | |
# opensource: http://www.opensource.org/licenses/BSD-3-Clause | |
# wikipedia: http://en.wikipedia.org/wiki/BSD_licenses | |
# | |
#----------------------------------------------------------------------- | |
# This script allows to upload to Fileserve with FTP various files at the same time | |
# |