Skip to content

Instantly share code, notes, and snippets.

View badukaire's full-sized avatar
🐢
starting to contribute ...

badukaire badukaire

🐢
starting to contribute ...
View GitHub Profile
@badukaire
badukaire / questionariPalestina.md
Last active April 6, 2024 12:55
questionari palestina

estat d'Israel

quin any neix l'estat d'Israel?

qui tenia just abans la sobirania del territori de Palestina?

i abans?

rebase a subtree

Sometimes we want to move (rebase) a set of branches that form a subtree, where some of them diverge, and others even are merged together. Rebasing them 1-by-1 can be slow and painful.

In these cases, a nice trick is to merge (join) all the branches to be moved into a final commit node. After that, use rebase with the --preserve-merges option for moving the resulting enclosed subtree

@badukaire
badukaire / pm.h diff update
Created July 26, 2016 13:39 — forked from guilespi/pm.h diff update
Compile latest igb driver on debian squeeze 2.6.32-5-amd64
#When presented with failure
igb-3.4.8/src/igb_main.c:193: error: implicit declaration of function SET_RUNTIME_PM_OPS
#Add the following macro to
#/usr/src/linux-headers-2.6.32-5-common/include/linux/pm.h
#ifdef CONFIG_PM_RUNTIME
#define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \
.runtime_suspend = suspend_fn, \
.runtime_resume = resume_fn, \

the poor man's svn-git bridge

This article describes a simple way to work with git against a svn repository, without any additional tool nor installation procedures.

Please note that this text is in draft status. This notice should be removed soon.