Skip to content

Instantly share code, notes, and snippets.

View NetOpWibby's full-sized avatar
🌿
imagine being mad, touch grass

netop://ウィビ NetOpWibby

🌿
imagine being mad, touch grass
View GitHub Profile
//
// C E N T E R
// S E L E C T S
$.each($("select"), function () {
centerSelect($(this));
});
$("select").on("change", function () {
centerSelect($(this));
@NetOpWibby
NetOpWibby / form.html
Created June 14, 2017 18:31
Form radio toggles, sans JS
<form class="form">
<legend class="form__headline">Billing Info</legend>
<fieldset class="form__section">
<input type="radio" name="payment-method" value="stripe" class="form__section__radio" checked/>
<label>Credit Card</label>
<div class="form__section__content">
<button>Secure checkout</button>
</div>
@NetOpWibby
NetOpWibby / dedsec.sh
Created July 1, 2016 19:13 — forked from gschlabitz/dedsec.sh
Echo dedsec skull and change prompt to make your shell totally haxx0r.
#!/bin/bash
echo "
β”‚
pNβ–’gβ–’pβ–’gβ–’β–’gβ–’ge
β–’β–’β–’β–’β–’β–’β–’β–‘β–‘β–’β–‘β–’β–‘β–’
_0β–’β–‘β–’β–‘β–’β–‘β–‘β–’β–’β–’β–’β–’β–’β–’!
4β–’β–’β–’β–’β–’β–‘β–‘β–‘β–’β–‘β–‘β–’β–’β–’β–’β–’Y
β”‚\` \~~#00β–‘β–‘0 MMM\"Mβ”‚
\`gMβ–‘M7
β”‚ 00q0 β”‚
@NetOpWibby
NetOpWibby / main.js
Created June 22, 2016 15:39 — forked from staltz/main.js
A-Frame + Cycle.js demo
import xs from 'xstream';
import Cycle from '@cycle/xstream-run';
import {h, makeDOMDriver} from '@cycle/dom';
require('aframe');
function main(sources) {
let vdom$ = xs.periodic(16).startWith(0).map(i =>
h('a-scene', [
h('a-sphere', {
attrs: {
@NetOpWibby
NetOpWibby / gist:4c0267b464e03ea303e1
Created February 18, 2016 18:57 — forked from jordelver/gist:3139365
How to write an image file to an SD card under Mac OS X (for Raspberry Pi)

Find the SD card device

In this case, the SD card is /dev/disk4. DO NOT get this wrong or you may destroy all the data on the wrong disk/card/drive.

diskutil list

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *160.0 GB   disk0

1: EFI 209.7 MB disk0s1

@NetOpWibby
NetOpWibby / app.html
Created February 17, 2016 21:38 — forked from bellbind/app.html
[electron]Use electron as a Web Server
<!doctype html>
<html><head><script src="app.js"></script></head><body></body></html>