Skip to content

Instantly share code, notes, and snippets.

View qaraluch's full-sized avatar
👩‍💻
format c:

Ej.Gee qaraluch

👩‍💻
format c:
View GitHub Profile
@qaraluch
qaraluch / index.js
Created January 9, 2018 06:52 — forked from zkat/index.js
npx is cool
#!/usr/bin/env node
console.log('yay gist')
@qaraluch
qaraluch / gitcreate.sh
Created October 11, 2017 16:11 — forked from jerrykrinock/gitcreate.sh
This script creates a new repo on github.com, then pushes to it the local repo from the current directory. Fork of https://gist.github.com/robwierzbowski/5430952/. Some of Rob's lines just didn't work for me, and I made it more verbose while fixing. UPDATE 2017-06-30. No longer needed by Xcode users because this capability is built into Xcode 9 :)
#!/bin/bash
# This script create a new repo on github.com, then pushes the local repo from the current directory to the new remote.
# It is a fork of https://gist.github.com/robwierzbowski/5430952/. Some of Rob's lines just didn't work for me, and to fix them I needed to make it more verbose so that a mere electrical engineer could understand it.
# This script gets a username from .gitconfig. If it indicates that your default username is an empty string, you can set it with
# git config --add github.user YOUR_GIT_USERNAME
# Gather constant vars
@qaraluch
qaraluch / index.html
Last active July 16, 2016 15:00 — forked from anonymous/index.html
Observer pattern (pierwsze podejście) - DP - JS Bin// source https://jsbin.com/vavuho
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
p {
font-family: consolas, Arial, Helvetica, sans-serif;
font-size: 12px;