Skip to content

Instantly share code, notes, and snippets.

@yury
yury / test.js
Created January 31, 2024 16:07 — forked from NaN1235123/test.rs
Function for my uncle
function Unic(array) {
array.filter((item, index, arr) => {
if(item == -1) {
arr.splice(item)
arr.unshift(item)
}
})
return array
}
//: A UIKit based Playground for presenting user interface
import SwiftUI
import UIKit
import Combine
import PlaygroundSupport
class Model: ObservableObject {
@Published var on: Bool = false
}
This file has been truncated, but you can view the full file.
@font-face {
font-family: 'Pragmata Pro Mono';
font-weight: normal;
font-style: normal;
src: url(data:font/truetype;charset-utf-8;base64,AAEAAAAQAQAABAAAR0RFRtsVnJMAFHB0AAAHSkdTVUK2t9CdABR3wAAAKKpPUy8yNbJBmwAAAYgAAABgY21hcAXm8dwAAGhsAAAdrmN2dCAw7AWWAACIgAAAAFRmcGdtBpWcNwAAhhwAAAFzZ2FzcAAbAAkAFHBkAAAAEGdseWYM1oJ7AACI1AAR7PxoZWFkh8fp5QAAAQwAAAA2aGhlYQ30GQEAAAFEAAAAJGhtdHiGB+vBAAAB6AAAZoRsb2Nh0EgLYAASddAAAGaIbWF4cBvWCLcAAAFoAAAAIG5hbWXTYbisABLcWAAACNVwb3N0HpFz9QAS5TAAAYs0cHJlcAD5CscAAIeQAAAA8AABAAAAANLxW2Khwl8PPPUACQgAAAAAAE4UN9oAAAAA1AGTjP9e/kUHNwhKAAAACQACAAEAAAAAAAEAAAdc/pYAAAQA/178yQc3AAEAAAAAAAAAAAAAAAAAABmhAAEAABmhAKAAIABtAAcAAQAAAAAACgAAAgAHqAADAAEAAwQAAZAABQEIBZoFMwAAASUFmgUzAAADoABmAgAICQIABQkDAAACAATgACr/0gn96wICgB4AAAAAZnNkZgBAAAD/7gX2/pYAAAdcAWogAAH/39cAAARsBfYAAAAgAAcEAABdBAAAAAQAAAAEAAAABAABfQQAANYEAAAKBAAAagQAAGMEAABvBAABqgQAAQUEAACXBAAAPQQAAFYEAAE8BAAAfgQAATwEAABoBAAAaAQAALMEAACLBAAAYQQAAFUEAAB9BAAAmgQAAIgEAABtBAAAagQAATwEAAE8BAAATgQAAFYEAAB1BAAAaAQAAEwEAABtBAAAnwQAAKUEAACoBAAAvQQAANYEAACHBAAAkQQ
@yury
yury / gist:6270212
Created August 19, 2013 15:09 — forked from tzoro/gist:6260437
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/admin">Title</a>
<div class="nav-collapse">
<ul class="nav navbar-nav">
@yury
yury / Coffeescript ctags
Created May 6, 2012 22:51 — forked from AndrewRadev/Coffeescript ctags
ctags definitions for coffeescript. Detects classes, static/class methods, plain functions and variables.
--langdef=coffee
--langmap=coffee:.coffee
--regex-coffee=/(^|=[ \t])*class ([A-Za-z]+\.)*([A-Za-z]+)( extends [A-Za-z.]+)?$/\3/c,class/
--regex-coffee=/^[ \t]*(module\.)?(exports\.)?@?([A-Za-z.]+):.*[-=]>.*$/\3/f,function/
--regex-coffee=/^[ \t]*(module\.)?(exports\.)?([A-Za-z.]+)[ \t]+=.*[-=]>.*$/\3/f,function/
--regex-coffee=/^[ \t]*([A-Za-z.]+)[ \t]+=[^->\n]*$/\1/v,variable/