Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Discover gists

@rexim
rexim /dup.c
Last activeDecember 17, 2025 09:16
Xor Party Tricks
#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) {
@m0pfin
m0pfin /gg.py
CreatedApril 26, 2022 15:00
Google autoReg
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
tylermorganwall /submarine_cable_map.R
Last activeDecember 17, 2025 09:14
Submarine Cable Map Dataviz
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
InterStella0 /HelpCommand_walkthrough_guide.md
Last activeDecember 17, 2025 09:13
Walkthrough guide on subclassing HelpCommand

Run two Claude Code accounts simultaneously on macOS without re-authenticating by using separate configuration directories.

Steps

  1. Create Separate Config Directories
    mkdir~/.claude-account1mkdir~/.claude-account2
@plembo
plembo /pandocdocx2md.md
Last activeDecember 17, 2025 09:07
Convert docx to markdown with pandoc

I usepandoc to convert masses of Word documents to markdown. Still working on a generic script, but for nowhere's the "gist" of what I type into the terminal:

$ myfilename="example"$ pandoc \-t markdown_strict \--extract-media='./attachments/$myfilename' \$myfilename.docx \
@freejoe76
freejoe76 /example.bash
Last activeDecember 17, 2025 09:04
Install multiple versions of python on debian / ubuntu server
# 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
jinjier /javdb-top250.md
Last activeDecember 17, 2025 09:01
JavDB top 250 movies list. [Updated on 2025/11]

使用JAV金鸡儿奖官网附带的工具JAV SQL 查询器,可查询各种类别的JavDB TOP250影片:

及分年数据(存在部分重复影片,原始数据的问题):

@aamiaa
aamiaa /CompleteDiscordQuest.md
Last activeDecember 17, 2025 09:00
Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use thedesktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. PressCtrl+Shift+I to open DevTools
  3. Go to theConsole tab
  4. Paste the following code and hit enter:
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp