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
| { | |
| "$id": "http://example.com/example.json", | |
| "$schema": "http://json-schema.org/draft-07/schema", | |
| "default": {}, | |
| "description": "JSON schema for cheatsheet note info", | |
| "examples": [ | |
| { | |
| "name": "Big-Oh Order", | |
| "description": "Big-Oh Order of expressions", | |
| "icon": "/images/big-oh-order.png" |
A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.
##Creating the DMG file #Disk Utility
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
| function togglePrintMode() { | |
| let inPrintMode = document.querySelector("header").hidden === true; | |
| document.querySelector("header").hidden = !inPrintMode; | |
| document.querySelector(".subscribe-link-wrapper").hidden = !inPrintMode; | |
| document.querySelector(".card--post-attributes").hidden = !inPrintMode; | |
| document.querySelector(".card--post-attributes-secondary").hidden = !inPrintMode; | |
| // document.querySelector(".card--post-attributes-secondary > .post-tags--list").hidden = !inPrintMode; | |
| document.querySelector("#sidebar").hidden = !inPrintMode; | |
| document.querySelector(".entry-content-author").hidden = !inPrintMode; | |
| document.querySelector(".entry-content-comments").hidden = !inPrintMode; |
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
| #!/bin/sh | |
| # | |
| # Build GCC with support for offloading to NVIDIA GPUs. | |
| # | |
| netid=$(whoami) | |
| work_dir=/tmp/$netid/gcc-build | |
| install_dir=/tmp/$netid/gcc |
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
| import re | |
| file1=open("all-OANC.txt",'r') | |
| pattern1=r'(\$[0-9]+(\.[0-9]+)?)' | |
| digit_in_english = f'(?:one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fifteen)' | |
| teens_in_english = f'(?:(?:{digit_in_english}(?:y|ty|teen))|forty|fifty|half +a|a)' | |
| number1_in_english = f'(?:(?:(?:{teens_in_english} +)?{digit_in_english})|{teens_in_english})' | |
| big_numbers = f'(?:million|billion|trillion|hundred|thousand)' | |
| number_in_english = f'(?:(?:{number1_in_english} +{big_numbers} +(?:and +)?)+{number1_in_english}?|{number1_in_english})' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| // ==UserScript== | |
| // @name IYF Ads Blocker | |
| // @namespace https://dizy.cc | |
| // @version 0.2 | |
| // @description Ads blocker for iyf.tv | |
| // @author Dizy | |
| // @include /^https:\/\/(.*?)\.iyf\.tv\// | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=iyf.tv | |
| // @grant GM_log | |
| // @grant unsafeWindow |
OlderNewer