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
| handleDrop = files => { | |
| // Push all the axios request promise into a single array | |
| const uploaders = files.map(file => { | |
| // Initial FormData | |
| const formData = new FormData(); | |
| formData.append("file", file); | |
| formData.append("tags", `codeinfuse, medium, gist`); | |
| formData.append("upload_preset", "pvhilzh7"); // Replace the preset name with your own | |
| formData.append("api_key", "1234567"); // Replace API key with your own Cloudinary key | |
| formData.append("timestamp", (Date.now() / 1000) | 0); |
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
| { | |
| "extends": [ | |
| "airbnb", | |
| "prettier", | |
| "prettier/react" | |
| ], | |
| "parser": "babel-eslint", | |
| "parserOptions": { | |
| "ecmaVersion": 8, | |
| "ecmaFeatures": { |
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
| const initialState = { | |
| mute: true, | |
| inProgress: true, | |
| .../// | |
| } | |
| const initialState = { | |
| controls: { | |
| mute: true, |
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
| test.hostmatic.site { | |
| gzip | |
| root /var/www/ | |
| log /var/www/access.log | |
| errors /var/www/errors.log | |
| } |
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
| require 'openssl' | |
| require 'uri' | |
| require 'net/http' | |
| def urlbox(url, options={}, format='png') | |
| urlbox_apikey = '' | |
| urlbox_secret = '' | |
| query = { | |
| :url => url, # required - the url you want to screenshot |
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
| alias aigc="git --no-pager diff HEAD --raw -p | llm -m 4o-mini -s 'You have been provided with the raw output of git diff command. Generate a single line meaningful yet concise commit message' | git commit -a --file -" |
OlderNewer