| Filter | Description | Example |
|---|---|---|
| allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
| intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
| inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
| allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
| intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
This file contains hidden or 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
| --[[ | |
| ELEVATED PLUGIN DEMOTER | |
| "One-click" script to demote elevated (usually internal) plugins by removing or | |
| replacing their elevated API calls. | |
| NOTE: | |
| I've only tested this on the "Developer" Storybook plugin (the irony). It will probably | |
| need some modification for other internal plugins, like the Roact Inspector. | |
| STEPS TO USE: |
This file contains hidden or 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
| -- Consider using Thread instead! | |
| -- https://gist.github.com/CloneTrooper1019/538f0ab2541ef98912a2694dd8d274e7 | |
| local RunService = game:GetService("RunService") | |
| local threads = {} | |
| RunService.Stepped:Connect(function () | |
| local now = tick() | |
| local resumePool | |
- Use descriptive and obvious names.
- Don't use abbreviations, use full English words.
playeris better thanplr. - Name things as directly as possible.
wasCalledis better thanhasBeenCalled.notifyis better thandoNotification. - Name booleans as if they are yes or no questions.
isFirstRunis better thanfirstRun. - Name functions using verb forms:
incrementis better thanplusOne.unzipis better thanfilesFromZip. - Name event handlers to express when they run.
onClickis better thanclick. - Put statements and expressions in positive form.
isFlyinginstead ofisNotFlying.lateintead ofnotOnTime.- Lead with positive conditionals. Avoid
if not something then ... else ... end.
- Don't use abbreviations, use full English words.
- If we only care about the inverse of a variable, turn it into a positive name.
missingValueinstead ofnot hasValue.
This file contains hidden or 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
| ## /etc/X11/xorg.conf.d | |
| Section "Monitor" | |
| Identifier "eDP1" | |
| Option "Primary" "true" | |
| Option "PreferredMode" "1920x1080_60.05" | |
| EndSection | |
| Section "Monitor" | |
| Identifier "DP2" | |
| Option "LeftOf" "eDP1" |
This file contains hidden or 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
| // Portable Wake-On-Lan by Lionello Lunesu, placed in the public domain | |
| #ifdef _WIN32 | |
| #define WIN32_LEAN_AND_MEAN | |
| #include <windows.h> | |
| #include <winsock2.h> | |
| #ifdef _MSC_VER | |
| #pragma comment(lib, "ws2_32.lib") | |
| #endif | |
| #else | |
| #include <sys/socket.h> |