Skip to content

Instantly share code, notes, and snippets.

View AspDotNetCP's full-sized avatar
😀
Make it simple

Ken Lee AspDotNetCP

😀
Make it simple
View GitHub Profile
@wanan6888
wanan6888 / gist:982ee67503c51c4a34f9f15b6a75a0e0
Created December 20, 2023 09:57
全球美国英国香港加拿大日本台湾俄罗斯荷兰新加坡菲律宾vpn pptp l2tp openvpn wireguard vless vmess socks5
全球美国英国香港加拿大日本台湾俄罗斯荷兰新加坡菲律宾vpn pptp l2tp openvpn wireguard vless vmess socks5
全球动态静态专线住宅VPN pptp l2tp openvpn wireguard vless vmess socks5...
联系网址:www.wanan688.com
联系TG:@wanan688
阿富汗 动态静态专线住宅VPN pptp l2tp openvpn wireguard vless vmess socks5...
阿尔巴尼亚 动态静态专线住宅VPN pptp l2tp openvpn wireguard vless vmess socks5...
阿尔及利亚 动态静态专线住宅VPN pptp l2tp openvpn wireguard vless vmess socks5...
美属萨摩亚 动态静态专线住宅VPN pptp l2tp openvpn wireguard vless vmess socks5...
@shanselman
shanselman / ohmyposhv3-v2.json
Last active November 19, 2025 21:47
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
<?php
//Deluxe mail test script by Wesley Fredrick
//
//Offers three ways to test mail:
//
//PHP mail() - Uses the PHP mail() function
//SMTP - Opens a direct connection to the relay server and uses the smtp protocol
//sendmail from shell - Uses a php shell() to run the sendmail command as if from SSH
ini_set('track_errors', 1);
@jeromecoupe
jeromecoupe / webstoemp-gulpfile.js
Last active November 7, 2025 05:29
Gulp 4 sample gulpfile.js. For a full explanation, have a look at https://www.webstoemp.com/blog/switching-to-gulp4/
"use strict";
// Load plugins
const autoprefixer = require("autoprefixer");
const browsersync = require("browser-sync").create();
const cp = require("child_process");
const cssnano = require("cssnano");
const del = require("del");
const eslint = require("gulp-eslint");
const gulp = require("gulp");
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active November 24, 2025 13:40
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. 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! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@tzmartin
tzmartin / embedded-file-viewer.md
Last active October 31, 2025 08:04
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links