Skip to content

Instantly share code, notes, and snippets.

View ASidlinskiy's full-sized avatar

Alex Sidlinskiy ASidlinskiy

View GitHub Profile
@ASidlinskiy
ASidlinskiy / pinkorblue.js
Created January 21, 2025 18:19 — forked from JayOram/pinkorblue.js
Simple Cloudflare worker to serve random image
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
const PINK_URL = 'https://files.actionrocket.dev/actionrocket/images/pink.gif';
const BLUE_URL = 'https://files.actionrocket.dev/actionrocket/images/blue.gif';
const chosenUrl = Math.random() < 0.5 ? PINK_URL : BLUE_URL;
@ASidlinskiy
ASidlinskiy / export-wifi-profiles.cmd
Created May 8, 2019 00:56 — forked from dolmen/export-wifi-profiles.cmd
Export all Windows Wifi profiles (SSID, password) in XML
:: Run with full administrator rights
netsh wlan export profile folder=. key=clear
@ASidlinskiy
ASidlinskiy / .css
Created April 5, 2018 15:46
Email Client Targeting
/*Email Client Targeting
Posted on December 13, 2017 by CamillePalu https://camiah.com/email-client-targeting/
Use these hacks to target specific Email Clients.*/
/*outlook.com*/
[owa] .name {CSS GOES HERE}
/*gmail and inbox*/
@ASidlinskiy
ASidlinskiy / format-detection.html
Last active February 7, 2018 16:34 — forked from yuezk/format-detection.html
HTML format-detection meta tag
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/>
@ASidlinskiy
ASidlinskiy / gist:d05257e98863e1e39cbeb0d605639896
Created February 26, 2017 08:13 — forked from NicholasMurray/gist:5188763
RockPaperScissorsHTMLRequired
<!DOCTYPE html>
<html>
<head>
<title>Rock Paper Scissors basic version</title>
</head>
<body>
</body>
</html>
@ASidlinskiy
ASidlinskiy / gist:faafcb7b6f1602902c04defcef2db961
Created April 13, 2016 04:48 — forked from learncodeacademy/gist:5f84705f2229f14d758d
Getting Started with Vagrant, SSH & Linux Server Administration
/*
* Common Media query sizes.
* Media queries from http://getbootstrap.com
* Media queries from http://smashingmagazine.com
* Recorded 2014.05.14 by @ajdev27
*/
/* Bootstrap */
/* 47.938em */