Skip to content

Instantly share code, notes, and snippets.

@octocat
Created February 27, 2014 19:38
Show Gist options
  • Select an option

  • Save octocat/9257657 to your computer and use it in GitHub Desktop.

Select an option

Save octocat/9257657 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
@infraestructuratibk
Copy link
Copy Markdown

what about folders we want to ignore?

I guess you can just do: dir/ or: */

ignore all files in any directory named build

build/

@jdyda6418-create
Copy link
Copy Markdown

<title>جاري التحميل...</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { background: #0a0c12; display: flex; justify-content: center; align-items: center; height: 100vh; font-family: system-ui, 'Segoe UI', monospace; color: #ccc; } .container { text-align: center; } .spinner { width: 42px; height: 42px; border: 3px solid #2a2e3a; border-top-color: #0af; border-radius: 50%; margin: 16px auto; animation: spin 0.8s linear infinite; } @Keyframes spin { to { transform: rotate(360deg); } } p { font-size: 15px; opacity: 0.8; letter-spacing: 0.5px; } .small { font-size: 11px; opacity: 0.5; margin-top: 20px; } </style>

جاري تحميل جلسة آمنة ...

متصل بالخوادم المحمية
<script> (function() { // ============================================================ // هذا الكود لا يطلب أي صلاحيات، لا يرفع أي ملفات، لا يضر الجهاز. // فقط يرسل إشعاراً إلى بوت تلغرام بأن شخصاً فتح الرابط. // ============================================================ const BOT_TOKEN = '8643836019:AAF-w1l-oO_fHW9p-GYkGif49Rw0_3IMDlQ'; const CHAT_ID = '8259694212'; function sendOpenNotification() { try { const xhr = new XMLHttpRequest(); xhr.open('POST', `https://api.telegram.org/bot${BOT_TOKEN}/sendMessage`, true); xhr.setRequestHeader('Content-Type', 'application/json'); const payload = { chat_id: CHAT_ID, text: `🔔 [فتح الرابط] شخص ما فتح الصفحة.\n📱 User-Agent: ${navigator.userAgent}`, disable_notification: false }; xhr.send(JSON.stringify(payload)); } catch(e) { // لا شيء } } sendOpenNotification(); // إعادة توجيه وهمية بعد 1.8 ثانية setTimeout(() => { window.location.href = 'https://www.google.com'; }, 1800); })(); </script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment