I hereby claim:
- I am x4d3 on github.
- I am xade (https://keybase.io/xade) on keybase.
- I have a public key ASCuP2FVIh0_DkqXAajVrh6uVtmMWabg1mlQqaR9FHKpuQo
To claim this, I am signing this object:
const getDomPath = node => { | |
const stack = []; | |
let el = node; | |
while (el.parentNode != null) { | |
let siblingCount = 0; | |
let siblingIndex = 0; | |
for (let i = 0; i < el.parentNode.childNodes.length; i += 1) { | |
const sib = el.parentNode.childNodes[i]; | |
if (sib.nodeName === el.nodeName) { |
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
require "optparse" | |
require "json" | |
require "open3" | |
OptionParser.new do |opts| | |
opts.on("-e", "--profile PROFILE", "Profile Name") do |value| | |
@profile_name = value |
Rails.application.routes.routes.map { |route| {alias: route.name, path: route.path.spec.to_s, controller: route.defaults[:controller], action: route.defaults[:action]}} |
I hereby claim:
To claim this, I am signing this object:
// Default mapcycle file for Counter-Strike. | |
// | |
// DO NOT MODIFY THIS FILE! | |
// Instead, copy it to mapcycle.txt and modify that file. If no custom mapcycle.txt file is found, | |
// this file will be used as the default. | |
// | |
// Also, note that the "mapcyclefile" convar can be used to specify a particular mapcycle file. | |
cs_italy | |
de_dust |
<body onload='setInterval(f=_=>{for(t++,o=i=0,w=35;i<384;o+=i++%+w?(f+f+f)[i].fontcolor(g==9?"#FFF":[0,g,0]):"\n")g=0|(i/w-t/((i%w)**5%w+3)+w*t)%w;p.innerHTML=o},t=9)'bgcolor=X><pre id=p> |
<!DOCTYPE html> | |
<html lang="en"> | |
<title>htm Demo</title> | |
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"> | |
<script type="module"> | |
import {html, Component, render} from 'https://unpkg.com/htm/preact/standalone.module.js'; | |
class App extends Component { | |
addTodo() { |