This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.
Discover gists
This file contains 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
/* | |
* Play duo melody with Arduino | |
* ============================ | |
* | |
* Description: | |
* This sketch simultaneously plays two separate melodies on two (passive) | |
* speakers or buzzers. This creates effect of a "choir". | |
* For simplicity, it uses function play2Tones(), which only plays two notes | |
* of equal duration simultaneosly. | |
* The actual melody here is the Anthem of Ukraine. |
This file contains 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
bool Solution::isPower(int A) { | |
if (A<2) | |
return true; | |
for (auto i = 2; i<=sqrt(A); ++i) | |
{ | |
for (auto j = 2; j<=32; ++j) | |
{ | |
if(pow(i, j)==A) | |
return true; |
This file contains 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
Programming Language Checklist | |
by Colin McMillen, Jason Reed, and Elly Fong-Jones, 2011-10-10 | |
updated by BoppreH, 2024-01-24 | |
You appear to be advocating a new: | |
[ ] functional [ ] imperative [ ] object-oriented [ ] stack-based [ ] concurrent | |
[ ] interpreted [ ] compiled [ ] JIT [ ] cloud [ ] AI [ ] beginner-friendly | |
[ ] academic-friendly [ ] visual [ ] sharable [ ] esoteric | |
[ ] memory safe [ ] memory unsafe [ ] provable [ ] Turing-incomplete | |
[ ] statically-typed [ ] dynamically-typed [ ] completely incomprehensible |
This file contains 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 io = require('socket.io-client'); | |
const socket = io('http://localhost:3000', { | |
transportOptions: { | |
polling: { | |
extraHeaders: { | |
'Authorization': 'Bearer abc', | |
}, | |
}, | |
}, |
This article demonstrates how to install Fedora Linux on MacOS.
Specifically we will use
- a macbook with m1 (arm/apple silicon) processor & 32GB ram
- macOS Sonoma 14.0
- Fedora Linux beta
- UTM as the virtualization tool
This file contains 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 * as cheerio from "cheerio"; | |
import puppeteerExtra from "puppeteer-extra"; | |
import stealthPlugin from "puppeteer-extra-plugin-stealth"; | |
import chromium from "@sparticuz/chromium"; | |
async function searchGoogleMaps() { | |
try { | |
const start = Date.now(); | |
puppeteerExtra.use(stealthPlugin()); |
This file contains 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
Today, after working with Windows for over 15 years now, I finally came across the solution to the | |
dreadfull BSOD STOP 0x0000007B after replacing the motherboard of a computer, or after moving the | |
harddrive to another computer, or after doing a P2V, or after ... you get the point. | |
Requirements: | |
- Windows install / boot CD | |
- Chipset / Mobo / Storage drivers of the new motherboard or storage controller | |
Steps: | |
- extract all the drivers to a USB thumb drive |
This file contains 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
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ | |
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ | |
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ | |
QQQQQQQQQQQQQQQQQQQWQQQQQWWWBBBHHHHHHHHHBWWWQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ | |
QQQQQQQQQQQQQQQD!`__ssaaaaaaaaaass_ass_s____. -~""??9VWQQQQQQQQQQQQQQQQQQQ | |
QQQQQQQQQQQQQP'_wmQQQWWBWV?GwwwmmWQmwwwwwgmZUVVHAqwaaaac,"?9$QQQQQQQQQQQQQQ | |
QQQQQQQQQQQW! aQWQQQQW?qw#TTSgwawwggywawwpY?T?TYTYTXmwwgZ$ma/-?4QQQQQQQQQQQ | |
QQQQQQQQQQW' jQQQQWTqwDYauT9mmwwawww?WWWWQQQQQ@TT?TVTT9HQQQQQQw,-4QQQQQQQQQ | |
QQQQQQQQQQ[ jQQQQQyWVw2$wWWQQQWWQWWWW7WQQQQQQQQPWWQQQWQQw7WQQQWWc)WWQQQQQQQ | |
QQQQQQQQQf jQQQQQWWmWmmQWU???????9WWQmWQQQQQQQWjWQQQQQQQWQmQQQQWL 4QQQQQQQQ |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import zipfile | |
''' | |
this script is ment to turn .zip files downloaded from mangakatana.com to a serie | |
of .cbz files. The .zip files contain usually 10 chapters of a same manga stored as | |
a serie of folders. | |
''' |
NewerOlder