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
xattribute_t* add_xattribute(xelement_t* e, const char* name, const char* value){ | |
// either element already has some attributes or not | |
// in both situations we have to create a new attribute to add | |
// we call it "atr" and first we initate it | |
xattribute_t* atr = (xattribute_t*)malloc(sizeof(xattribute_t)); | |
atr->name = strdup(name); | |
atr->value = strdup(value); | |
atr->next = NULL; | |
// Now we check if element has no attribute |
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
Show hidden characters
{ | |
"env": { | |
"node": true, | |
"commonjs": true, | |
"es6": true | |
}, | |
"extends": "eslint:recommended", | |
"rules": { | |
"linebreak-style": [ | |
"error", |
This document is also available in English.
از اونجایی که فیسبوک امکانی برای کنسل کردن تمام درخواستهای دوستیای که فرستادهایم به صورت یکجا نداره، مجبوریم تا تمام درخواستهای دوستی رو دونه دونه کنسل کنیم. اسکریپت پیش رو مثل یه یوزر واقعی مرورگر عمل میکنه و به جای شما دونه دونه درخواستهای دوستیای که فرستادهاید رو کنسل میکنه و شما میتونید در همین حین از قهوتون لذت ببرید 😊
مراحل زیر رو دنبال کنید:
- مرورگر گوگل کروم رو دانلود و اجرا کنید
- وارد اکانت فیسبوک خود شود و بعد از لاگین به صفحهی https://www.facebook.com/friends/requests/?fcref=none&outgoing=1 برید (در این صفحه میتونید لیست تمام درخواستهای دوستیای که فرستادهاید رو به صورت یکجا ببینید)
First create a text files that looks like this:
00:00:58 00:01:21
00:05:43 00:06:27
00:08:03 00:09:37
00:10:03 00:11:22
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
function gsc() { | |
git branch | grep -w "$1" > /dev/null; | |
if [ $? = 0 ]; then | |
git checkout "$1"; | |
else | |
git checkout -b "$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
### Keybase proof | |
I hereby claim: | |
* I am mahdavipanah on github. | |
* I am mahdavipanah (https://keybase.io/mahdavipanah) on keybase. | |
* I have a public key ASBs9IOFzzarSMjjcVbuF9mjMSXo7wXgSe_UMMaBOhssxAo | |
To claim this, I am signing this object: |
繁中版 | 简中版 | Português (Brasil) | Français | 한국어 | Nederlands | Indonesia | ไทย | Русский | Українська | Español | Italiano | 日本語 | Deutsch | Türkçe | Tiếng Việt | Монгол | हिंदी | العربية | Polski | Македонски | ລາວ | Ελληνικά
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
00:00:58 00:01:21 | |
00:05:43 00:06:27 | |
00:08:03 00:09:37 | |
00:10:03 00:11:22 | |
00:13:06 00:13:30 |
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
{"version":1,"resource":"file:///Users/hamidreza/github/mahdavipanah/pyCFG/README.md","entries":[{"id":"k5EV.md","timestamp":1649349010488},{"id":"oALi.md","timestamp":1649349136790},{"id":"iVef.md","timestamp":1649349322661},{"id":"N62C.md","timestamp":1649349514395},{"id":"0hz3.md","source":"undoRedo.source","timestamp":1649349572907}]} |