Instantly share code, notes, and snippets.
Discover gists
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
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<time.h> | |
| intxs[]= {7,62,2,46,73,43,26,82,5,95,57,56,44,21,40,79,13,6,9,8,72,59,65,81,60,78,13,85,87,58,48,25,32,47,67,4,31,19,33,1,92,14,53,89,84,54,29,10,17,3,77,70,45,97,34,23,86,55,15,64,68,83,76,41,18,39,94,22,74,11,69,49,12,35,20,90,100,98,36,63,91,38,66,93,50,96,61,71,75,37,52,88,30,28,99,27,42,51,80,24,16}; | |
| intmain() | |
| { | |
| intx=0; | |
| for (inti=1;i <=100;++i) { |
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
| fromseleniumimportwebdriver | |
| fromselenium.webdriver.common.byimportBy | |
| fromselenium.webdriver.firefoximportoptions | |
| fromselenium.webdriver.common.keysimportKeys | |
| fromselenium.webdriver.support.uiimportSelect | |
| fromsmsactivateruimportSms,SmsTypes,SmsService,GetBalance,GetFreeSlots,GetNumber | |
| importrequests | |
| importtime | |
| importrandom | |
| importstring |
tylermorganwall /submarine_cable_map.R
Last activeDecember 17, 2025 09:14
Submarine Cable Map Dataviz 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
| library(geojsonsf) | |
| library(sf) | |
| library(rayrender) | |
| #Data source: https://github.com/telegeography/www.submarinecablemap.com | |
| cables= geojson_sf("cable-geo.json") | |
| cablescene=list() | |
| counter=1 | |
| for(iin1:length(cables$geometry)) { |
InterStella0 /HelpCommand_walkthrough_guide.md
Last activeDecember 17, 2025 09:13
Walkthrough guide on subclassing HelpCommandKMJ-007 /Manage Multiple Claude Code Accounts.md
CreatedJuly 22, 2025 13:17
freejoe76 /example.bash
Last activeDecember 17, 2025 09:04
Install multiple versions of python on debian / ubuntu server 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
| # Find the URL of the python you want here: https://www.python.org/downloads/source/ , you're looking for the "Gzipped source tarball" link of the version you want. | |
| # We're doing 3.10 here for this example. | |
| wget https://www.python.org/ftp/python/3.10.13/Python-3.10.13.tgz | |
| tar -xf Python-3.10.13.tgz&&cd Python-3.10.13 | |
| ./configure --enable-optimizations | |
| make&& sudo make altinstall | |
| # This won't override an existing python3 – it creates a python3.10 executable. |
jinjier /javdb-top250.md
Last activeDecember 17, 2025 09:01
JavDB top 250 movies list. [Updated on 2025/11]NewerOlder