$ docker
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/bash | |
| # Check if all required arguments are provided | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 <username@host.com> <your_email@example.com>" | |
| exit 1 | |
| fi | |
| # Step 1: Generate an SSH Key | |
| ssh_key_file="github-actions" |
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
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy-to-digital-ocean-droplet: | |
| runs-on: ubuntu-latest | |
| name: Deploy Website | |
| steps: |
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
| IDM Cleaner.bat | |
| :: IDM Registry Cleaner | |
| :: Completely cleans registry of all IDM fake serial leftovers | |
| @ECHO OFF | |
| @TITLE IDM Registry Cleaner | |
| @COLOR 0E | |
| @ECHO :: IDM Registry Cleaner | |
| @ECHO :: Compeletely cleans registry of all IDM fake serial leftovers | |
| @ECHO. |
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 sendgrid | |
| from sendgrid.helpers.mail import * | |
| import os | |
| import asyncio | |
| sg = sendgrid.SendGridAPIClient( | |
| apikey=os.getenv("SENDGRID_API_KEY") | |
| ) |
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 getUrlParams(search) { | |
| const hashes = search.slice(search.indexOf('?') + 1).split('&') | |
| const params = {} | |
| hashes.map(hash => { | |
| const [key, val] = hash.split('=') | |
| params[key] = decodeURIComponent(val) | |
| }) | |
| return params | |
| } |
People
:bowtie: |
๐ :smile: |
๐ :laughing: |
|---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |
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
| document.getElementsByTagName('button')[0].onclick = function () { | |
| scrollTo(document.body, 0, 1250); | |
| } | |
| function scrollTo(element, to, duration) { | |
| var start = element.scrollTop, | |
| change = to - start, | |
| currentTime = 0, | |
| increment = 20; | |
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 gdata | |
| import json | |
| import requests | |
| # More examples: | |
| # https://github.com/millioner/Python-contact-importer/blob/master/contact_importer/providers/google.py | |
| # https://github.com/jtauber/django-friends/blob/master/friends/importer.py | |
| # GData with access token | |
| token = gdata.gauth.OAuth2Token( |