-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
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
| version: '3' | |
| services: | |
| debian: | |
| image: debian:bookworm | |
| restart: always | |
| ports: | |
| - "8000:80" | |
| stdin_open: true | |
| tty: 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
| const axios = require("axios") | |
| //An array of Discord Embeds. | |
| let embeds = [ | |
| { | |
| title: "Discord Webhook Example", | |
| color: 5174599, | |
| footer: { | |
| text: `π ${date}`, | |
| }, |
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
| var axios = require('axios'); | |
| var qs = require('qs'); | |
| exports.getAccessToken = (code) => { | |
| var data = qs.stringify({ | |
| 'client_id': '', | |
| 'client_secret': '', | |
| 'grant_type': 'authorization_code', | |
| 'code': code, | |
| 'redirect_uri': '', |
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
| # .github/workflows/publish.yml | |
| name: Generate a build and push to another branch | |
| on: | |
| push: | |
| branches: | |
| - master # Remove this line if your primary branch is "main" | |
| - main # Remove this line if your primary branch is "master" | |
| jobs: |
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
| javascript: (function() { var styleEl = document.getElementById('css-layout-hack'); if (styleEl) { styleEl.remove(); return; } styleEl = document.createElement('style'); styleEl.id = 'css-layout-hack'; styleEl.innerHTML = '* { background:#000!important;color:#0f0!important;outline:solid%20#f00%201px!important;%20background-color:%20rgba(255,0,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20{%20background-color:%20rgba(0,255,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20{%20background-color:%20rgba(0,0,255,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20{%20background-color:%20rgba(255,0,255,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(0,255,255,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(255,255,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(255,0,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(0,255,0,.2)%20!import |
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
| <?php | |
| function get_ip(){ | |
| if( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ){ | |
| $ip = $_SERVER['HTTP_CLIENT_IP']; | |
| } | |
| elseif( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ){ | |
| $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; | |
| } | |
| else{ | |
| $ip = $_SERVER['REMOTE_ADDR']; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Upload File</title> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
| </head> |
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
| ADOBE Creative Suite 5 Master Collection | |
| 1023-1631-3275-3276-0087-5426 | |
| 1325-1576-4130-9475-8280-4266 | |
| 1325-1548-7004-9142-5077-1912 | |
| 1325-1684-1405-3432-6260-7438 | |
| 1325-1238-0019-6636-5160-2146 | |
| 1325-1966-4532-5397-9277-9204 |
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
| Each YouTube video has 4 generated images. They are predictably formatted as follows: | |
| http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg | |
| http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg | |
| http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg | |
| http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg | |
| The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (ie. one of 1.jpg, 2.jpg, 3.jpg) is: | |
| http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg |
NewerOlder

