Skip to content

Instantly share code, notes, and snippets.

View Limitinit's full-sized avatar
🌴
https://media.tenor.com/CkG4SiojzREAAAAM/slip-code.gif

�̪̜̳̣͏�̡͚̺͖̣͈̬̥̀ͮ͂͋ͨ́̄͑͌́̍̊̊̆̋̄̀͠͠͠͠҉̴̷̨̡̢̢́̀͘͢J͊̊ͩ̂ͬ̎́͑̋ͬ͒͆ͯ̌ͭ̋̿ͦͩ҉̶̛̕͘̕͟͏̷̵̵̢̀̀͘͜͡͝͡K̘̬̮̓ͨ̔͗̔͑͘͞͏̨̡͢͢͜͝͝͝o̴̷̞̰̩̣̩͚̻̞̩̱̝̲̦ͩͬ͒͑̉ͤ̊̐͛ͥ̽̚͝͡͠R̷̴̡̨̛͇̖̺͚̲̞̠̜̳͚͊ͩͣ̌ͪ̔ͯ̂́̀͘͘͟͟͝͝ͅḛ̗̓ͥ͐͐ͫ͌̃̏́ͤ1̴̴̸̴̴̨̨͆̑ͦͭ͆͑͛͋̑ͯ̕̕͟͟͡͡3͕͙̜̭̥̞̜͙̖̬̯̻͚̮͎͙̼̔ͯͪͅ͏̵̵̢̧́͜͢͟͡҉̢́́̕͢ Limitinit

🌴
https://media.tenor.com/CkG4SiojzREAAAAM/slip-code.gif
  • WiReDLiFeDiText
  • Greeneville ,TN
  • X @wds321321
View GitHub Profile
"use strict"
api1 =
a: (x,y,z,cb) -> setTimeout cb.bind(null, null, x+y+z+1), 500
b: (x,y,z,cb) -> setTimeout cb.bind(null, null, x+y+z+2), 500
api2 =
b: (x,y,z,cb) -> setTimeout cb.bind(null, null, x+y+z+3), 500
c: (x,y,z,cb) -> setTimeout cb.bind(null, null, x+y+z+4), 500
class Batman.SetTransform extends Batman.Set
constructor: (@source, observedItemKeys..., @transform) ->
super()
@transformIndex = new Batman.SimpleHash
if @source.isObservable
@_setObserver = new Batman.SetObserver(@source)
@_setObserver.observedItemKeys = observedItemKeys
@_setObserver.observerForItemAndKey = @observerForItemAndKey
@_setObserver.on 'itemsWereAdded', @add
@_setObserver.on 'itemsWereRemoved', @remove
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.21"
repositories {
google()
jcenter()
}
dependencies {
def gradle = '7.0.0-alpha04'
classpath "com.android.tools.build:gradle:$gradle"
0xdbe
10gen-csharp-driver
128bit
12factor
16-bit
1wire
2048
2-3-4-tree
23andme-api
2-3-tree
@Limitinit
Limitinit / helix-gist.rs
Created August 21, 2023 23:00
helix-gist
#![allow(improper_ctypes_definitions)]
use futures::lock::Mutex;
use helix_term::commands::{paste_impl, Context, MappableCommand, Paste};
use helix_view::current;
use lazy_static::lazy_static;
use std::sync::Arc;
use helix_term::tokio;
// in another file, i copied the `app.rs` from https://github.com/cormacrelf/dark-notify/blob/master/src/app.rs
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1
@Limitinit
Limitinit / chameleon.py
Created July 27, 2023 13:27
ChameLeon
import re
camel = 'ChameLeon'
snake = re.sub(r'(?<!^)(?=[A-Z])', '_', camel).lower()
print(snake)
@Limitinit
Limitinit / Makefile.mk
Created July 25, 2023 00:53 — forked from ixsiid/Makefile.mk
Raspberry Piに外部スイッチを扱うドライバを実装する ref: https://qiita.com/ixsiid/items/6389e71da5cb15ff7a98
CFILES = driver.c
obj-m := mkt.o
mkt-objs := $(CFILES:.c=.o)
ccflags-y += -std=gnu99 -Wall -Wno-declaration-after-statement
all:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules
clean:
@Limitinit
Limitinit / wget
Created January 10, 2023 12:20 — forked from bueckl/wget
Wget examples
#Spider Websites with Wget – 20 Practical Examples
Wget is extremely powerful, but like with most other command line programs, the plethora of options it supports can be intimidating to new users. Thus what we have here are a collection of wget commands that you can use to accomplish common tasks from downloading single files to mirroring entire websites. It will help if you can read through the wget manual but for the busy souls, these commands are ready to execute.
1. Download a single file from the Internet
wget http://example.com/file.iso
2. Download a file but save it locally under a different name
wget ‐‐output-document=filename.html example.com
@Limitinit
Limitinit / .git...HEAD
Created December 18, 2022 09:29 — forked from Navidiuming/.git...HEAD
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=undefined&optimize=undefined&runs=undefined&gist=
ref: refs/heads/main