Skip to content

Instantly share code, notes, and snippets.

View ds0nt's full-sized avatar
🏠
Working from home

Daniel Sont ds0nt

🏠
Working from home
View GitHub Profile
Regular Expression: Substitution: Modifiers
Global Case insensitive Single-line Multi-line
Results: 208 matches
href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap.no-icons.min.css
href="https://netdna.bootstrapcdn.com/font-awesome/3.0/css/font-awesome.css
href="./api/resources/csses/ace_api.css
href="./doc/site/style.css
http://localhost:2020/
https://github.com/codemirror/CodeMirror/tree/master/mode
https://github.com/codemirror/CodeMirror/blob/master/addon/mode/loadmode.js
https://github.com/traviswimer/dir-to-json
https://github.com/cloudcmd/dword
https://github.com/Swatinem/ngen
https://gemnasium.com/Swatinem/esgraph
https://github.com/webrtcHacks/gitHub-WebRTC-analysis
http://0.0.0.0:1337/
https://github.com/cloudcmd/dword
#!/bin/babel-node
import jsdom from 'jsdom'
import fs from 'fs'
let subreddit = process.argv.length > 2
? process.argv[2]
: 'webware'
function grab(url) {
@ds0nt
ds0nt / reddit.js
Last active August 29, 2015 14:25
reddit scraper
#!/bin/babel-node
import jsdom from 'jsdom'
import fs from 'fs'
let subreddit = process.argv.length > 2
? process.argv[2]
: 'webware'
function grab(url) {
<div itemscope itemtype="http://schema.org/SoftwareApplication">
<span itemprop="name">{{name}}</span><br>
REQUIRES <span itemprop="operatingSystem">browser</span><br>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
RATING <span itemprop="ratingValue">5</span>
(<span itemprop="ratingCount">5 ratings</span>)
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<input type="color" name="myField" placeholder="">
@ds0nt
ds0nt / klouds-iterations.md
Created August 1, 2015 20:07
Klouds Genesis Iteration

Klouds Iterations

KLouds short-term development cycles.

Iteration One-over-Infinity

Backend

  1. route validation refactoring - business logic stays lean and meaningful
  2. standalone rancher module - load balancers, reverse proxies, and domainnames
#!/bin/bash
quiptoken="UmVlQU1BWGh6QmQ=|1470115736|SdtQMKJViZWr2LWXWyajwNFIxmcaLqJ6if289R0SQaU="
file=$HOME/human-fools
failure() {
echo "failure";
exit 1;
}
apiVersion: v1
kind: Pod
metadata:
labels:
name: cassandra
name: cassandra
spec:
containers:
- args:
- /run.sh
@ds0nt
ds0nt / Shiney Button.markdown
Created August 26, 2015 09:02
Shiney Button