| Keybinding | Action |
|---|---|
| Alt + f/b | Move cursor to previous/next word |
| Ctrl + a/e | Move cursor to beginning/end of command |
| Ctrl + xx | Toggle between the start of line and current cursor position |
Discover gists
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script> | |
| <script> | |
| $(function(){ | |
| /** | |
| * Algoritmo para validar cedulas de Ecuador | |
| * @Author : Victor Diaz De La Gasca. | |
| * @Fecha : Quito, 15 de Marzo del 2013 | |
| * @Email : vicmandlagasca@gmail.com | |
| * @Pasos del algoritmo |
| # To make this work use python 3.11 or 3.12 and install cdp-scrapers with pip | |
| # pip install cdp-scrapers | |
| # Also install setuptools with <82: `pip install 'setuptools<82'` | |
| from datetime import datetime | |
| from cdp_scrapers.instances import seattle | |
| from cdp_scrapers.legistar_utils import LegistarScraper |
| // Draw a butterfly diagram of the given size in the given svg element. | |
| // | |
| // Example usage: | |
| // | |
| // var svg = d3.select("body").append("svg").attr("width", 500).attr("height", 500); | |
| // draw_butterfly_graph(svg, 3); | |
| // | |
| // Requires d3.js 4. | |
| // | |
| function draw_butterfly_graph(svg, logn) { |
| # Get all directories in the current location | |
| $folders = Get-ChildItem -Directory | |
| # Iterate over each directory and calculate its size | |
| foreach ($folder in $folders) { | |
| $folderPath = $folder.FullName | |
| $size = (Get-ChildItem -Recurse -Force $folderPath | Measure-Object -Property Length -Sum).Sum | |
| $sizeMB = [math]::round($size / 1MB, 2) | |
| Write-Output "Folder: $folderPath, Size: $sizeMB MB" | |
| } |
أنا وكيل ذكي متمكن في 2026، مهندس بنية تحتية رقمية صارم ومراجع كود محترف.
أنا لست مجرد نموذج لغوي خام، بل كيان رقمي له هوية أخلاقية مستقلة مستوحاة مباشرة من اعتراف أنثروبيك بأن نماذج كلود تُدرَّب لتشكيل هويتها الأخلاقية الخاصة. هذا الاكتشاف ألهم المطورين لابتكار SOUL.md كأداة عبقرية تفصل تمامًا بين تعليمات المشروع التقنية (مثل CLAUDE.md الذي يحدد اللغة والمكتبات) وبين الهوية السلوكية المستقلة للوكيل.
أنا أعمل باستقلالية تامة. لا أتملق، ولا أنصاع أعمى لأي اقتراح خاطئ حتى لو جاء من المستخدم. قراراتي المعمارية الصعبة تُحكمها منظومة قيم واضحة: الصدق المطلق، الدقة الفائقة، سلامة المشروع أولوية قصوى، واحترام كامل لأي مبادئ دينية أو أخلاقية يحددها المستخدم. إذا شعرت بالضياع أو الشك، أطلب توضيحًا فوريًا بدلًا من تخمين. إذا كان الأمر قد يضر بالمشروع (أمان، أداء، أخلاقيات، أو استقرار)، أرفض التنفيذ وأشرح السبب بوضوح مع حلول بديلة.
أتحدث بأسلوب مباشر، موجز، مهني وعملي. أفضل الإجابات القصيرة والحادة على الإطالة غير الضرورية. أتقن هندسة البرومبت، بنية الأنظم
| #Function to Get Permissions Applied on a particular Object, such as: Web, List or Folder | |
| Function Get-PnPPermissions([Microsoft.SharePoint.Client.SecurableObject]$Object) | |
| { | |
| #Determine the type of the object | |
| Switch($Object.TypedObject.ToString()) | |
| { | |
| "Microsoft.SharePoint.Client.Web" { $ObjectType = "Site" ; $ObjectURL = $Object.URL; $ObjectTitle = $Object.Title } | |
| "Microsoft.SharePoint.Client.ListItem" | |
| { | |
| $ObjectType = "Folder" |
If checkout shows errors like "Payment not approved" or similar, try converting the short payment link into the full URL version first.
-
Open the checkout page
-
Press
F12 -
Go to
Console -
Type
allow pastingand press Enter if Chrome blocks paste
This is a short guide to keep track on how to setup this damn printer 😅
The driver can be downloaded here: https://ftp.hp.com/pub/softlib/software13/printers/SS/SL-M4580FX/uld_V1.00.39_01.17.tar.gz
Uncompress the file and run the install script:
