When using now.json's route to perform server side redirects, like the following 3 different cases:
{ "src": "/thoughts/", "dest": "/blogIndex" },
{ "src": "/thoughts", "status": 301, "headers": { "Location": "/thoughts/" } },
| steps: | |
| # Decrypt the file containing the key | |
| - name: 'gcr.io/cloud-builders/gcloud' | |
| args: ... |
| // https://30secondsofcode.org/node | |
| module.exports = (...args) => ({ | |
| black: `\x1b[30m${args.join(' ')}`, | |
| red: `\x1b[31m${args.join(' ')}`, | |
| green: `\x1b[32m${args.join(' ')}`, | |
| yellow: `\x1b[33m${args.join(' ')}`, | |
| blue: `\x1b[34m${args.join(' ')}`, | |
| magenta: `\x1b[35m${args.join(' ')}`, |
When using now.json's route to perform server side redirects, like the following 3 different cases:
{ "src": "/thoughts/", "dest": "/blogIndex" },
{ "src": "/thoughts", "status": 301, "headers": { "Location": "/thoughts/" } },
| // Generates a 5-dictionary-words random code from ticket ID (up to 5 digits) and a random number based on current timestamp. | |
| // This sample comes loaded with 500 random dictionary words. | |
| {% assign words = "annoyed, old-fashioned, rhyme, brief, powder, celery, fragile, number, flow, goofy, plastic, deserve, mother, invite, chief, opposite, numerous, sleet, soup, humorous, shelter, superb, receptive, treat, obey, knowing, wash, afford, ban, order, wave, employ, devilish, ripe, destruction, tree, hat, use, uninterested, materialistic, frantic, receipt, alleged, sack, station, entertain, nasty, week, cause, bucket, lazy, abject, juice, disagreeable, acid, seashore, tender, flagrant, garrulous, shrill, vague, bed, sour, curly, lame, delay, land, play, obsolete, immense, upset, extra-small, committee, absorbed, nondescript, shiver, languid, irate, zephyr, whistle, motionless, alcoholic, spiteful, damaged, swanky, blood, pollution, sheep, lake, punish, check, space, need, engine, plough, fairies, tomatoes, run, |
| options: | |
| docker: true | |
| pipelines: | |
| branches: | |
| master: | |
| - step: | |
| image: google/cloud-sdk:latest | |
| name: Deploy to Production | |
| deployment: production | |
| caches: |
| 0.0.0.0 best2019-games-web4.com | |
| 0.0.0.0 www.xmeeting.com | |
| 0.0.0.0 xmeeting.com | |
| 0.0.0.0 www.ipuss.tv | |
| 0.0.0.0 hitboom.net | |
| 0.0.0.0 www.playamo.com | |
| # Last modified: 13 Jan 2020 14:53 UTC+7 | |
| # Version: 2001131453 | |
| # Blocked: 1,345 domains | |
| 0.0.0.0 debet.com |
| tell application "NordVPN" | |
| activate | |
| tell application "System Events" to keystroke "w" using {command down} | |
| end tell | |
| delay 0.5 | |
| tell application "NordVPN" | |
| activate | |
| tell application "System Events" to keystroke "w" using {command down} | |
| end tell |
| /usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sed -E 's/<\/{0,1}string>//g' |
Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.
Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27
If you have any linux machine, use that or install a vm if you don't have one.
Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx
| // Usage: | |
| // 1. login to weibo and visit your weibo post list (https://weibo.com/u/_your_id_) | |
| // 2. copy and paste the following functions to console | |
| // 3. start the process with checkAndPerformClicks(1500, 1200); // Runs the function with a 1500ms delay between checks and a 1200ms delay between clicks | |
| // Helper function to create a delay | |
| function delay(duration) { | |
| return new Promise(resolve => setTimeout(resolve, duration)); | |
| } |