Code Issues Pull requests Discussions Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase ai code ingestion Updated Apr 21, 2025 Python THUDM / CodeGeeX2 Star 7.6k C
Before diving into the cheat sheets, please keep these essential rules in mind: Contributions are warmly welcomed to improve and expand the collection. If you find the cheat sheets helpful, show your appreciation by giving us a ⭐ on GitHub. ...
Try their handbook and cheat sheets, or use their tutorials to get started. Visit Try Git(opens in a new tab) 61. GitHub Learning Lab GitHub Learning Lab(opens in a new tab) is packed with lessons created by the GitHub community covering everything from getting started with GitHub, ...
https://github.com/d3mondev/puredns # Fast domain resolver and subdomain bruteforcing with accurate wildcard filtering.https://github.com/projectdiscovery/dnsx # Fast and multi-purpose DNS toolkit allow to run multiple DNS queries.https://github.com/glebarez/cero # Cero will connect to ...
Tip: With whole numbers, this particular pattern can be optimized to the following (and try to grok the proof. The legend of how Gauss discovered I can only describe as "typical programmer antics"):fn sum_to_n(n: f64) -> f64 { (n * (n + 1.)) / 2. }...
Distant.\\nLook at these two.\\nCouple of Hive Harrys.\\nLet's have fun with them.\\nIt must be dangerous being a Pollen Jock.\\nYeah. Once a bear pinned me against a mushroom!\\nHe had a paw on my throat, and with the other, he was slapping me!\\nOh, my!\\nI never ...
remotes::install_github("rstudio/plumber") library(plumber) Cheat Sheet Hosting If you're just getting started with hosting cloud servers, theDigitalOceanintegration included inplumberwill be the best way to get started. You'll be able to get a server hosting your custom API in just two R ...
true; false; // Strings are created with single quotes (') or double quotes ("). 'abc'; "Hello, world"; // You can access characters in a string with `charAt` "This is a string".charAt(0); // = 'T' // ...or use `substring` to get larger pieces. "Hello world".substring...
Create an empty dataframe with a specified schema Create a constant dataframe Convert String to Double Convert String to Integer Get the size of a DataFrame Get a DataFrame's number of partitions Get data types of a DataFrame's columns Convert an RDD to Data Frame Print the contents of an ...
With ES6, we can accomplish all of this and more using more concise syntax.Default Parametersfunction addTwoNumbers(x, y) { x = x || 0; y = y || 0; return x + y; }In ES6, we can simply supply default values for parameters in a function:...