Skip to content

Instantly share code, notes, and snippets.

View reggi's full-sized avatar
🌺
Learning

Reggi reggi

🌺
Learning
View GitHub Profile
@reggi
reggi / error.sh
Last active December 17, 2015 15:09
>> File "assets/javascripts/main.js" changed.
Running "requirejs:shopify" (requirejs) task
>> Tracing dependencies for: main
>> Error: ENOENT, no such file or directory
>> '/Users/thomas/fixture/simba/assembler/assets/javascripts/module1.js'
>> In module tree:
>> main
Warning: RequireJS failed. Use --force to continue.
@reggi
reggi / font-custom.css
Last active December 17, 2015 20:59
Product details list
.fc-icon-bikecredit
.fc-icon-birthday
.fc-icon-blankcard-circle
.fc-icon-blankcard
.fc-icon-blogswelove-circle
.fc-icon-blogswelove
.fc-icon-circle
.fc-icon-cotton-circle
.fc-icon-cotton
.fc-icon-elepoo-circle
@reggi
reggi / manifesto
Last active December 19, 2015 13:19
Holstee Manifesto
This is your life. Do what you love and do it often.
If you don't like something, change it.
If you don't like your job, quit.
If you don't have enough time, stop watching TV.
If you are looking for the love of your life, stop; they will be waiting for you when you start doing things you love.
Stop over analyzing, life is simple.
All emotions are beautiful.
When you eat, appreciate every last bite.
Life is simple.
Open your heart, mind and arms to new things and people, we are united in our differences.
<!-- IF LINK IS TO ANOTHER SITE (NOT OURS) -->
<a href="http://gooogle.com" target="_blank">Google</a>
<!-- IF LINK IS TO ONE OF OUR SITES -->
<a href="http://holstee.com/collections/print">Print</a>
@reggi
reggi / gist:6159768
Last active December 20, 2015 16:09
sudo iptables -t nat -L
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 3000
@reggi
reggi / file.js
Last active December 21, 2015 12:58
{ kind: 'drive#file',
id: '0AvwOyNleuKF0dDZaV1JrQTRGSUZ2ZzcyQjVTTkFxQkE',
etag: '"NaUPR8AuDOKgpQqXUqmAHnRC-Nk/Of8QMMRE3abO4xYMj2UrK_LRh_0"',
selfLink: 'https://www.googleapis.com/drive/v2/files/0AvwOyNleuKF0dDZaV1JrQTRGSUZ2ZzcyQjVTTkFxQkE',
alternateLink: 'https://docs.google.com/spreadsheet/ccc?key=0AvwOyNleuKF0dDZaV1JrQTRGSUZ2ZzcyQjVTTkFxQkE&usp=drivesdk',
embedLink: 'https://docs.google.com/spreadsheet/ccc?key=0AvwOyNleuKF0dDZaV1JrQTRGSUZ2ZzcyQjVTTkFxQkE&output=html&chrome=false&widget=true',
iconLink: 'https://ssl.gstatic.com/docs/doclist/images/icon_11_spreadsheet_list.png',
thumbnailLink: 'https://docs.google.com/feeds/vt?gd=true&id=0AvwOyNleuKF0dDZaV1JrQTRGSUZ2ZzcyQjVTTkFxQkE&v=1&s=AMedNnoAAAAAUhZFeJ5qYhROPUH2TctSYnq1uyQT1Y0b&sz=s220',
title: 'Test',
mimeType: 'application/vnd.google-apps.spreadsheet',
var messageBus = {
subscribers:[],
publish: function(inMessage){
for(var subscriber in this.subscribers){
this.subscribers[subscriber](inMessage);
}
},
subscribe: function(inCallback){
this.subscribers.push(inCallback);
}
@reggi
reggi / craigslist
Last active December 21, 2015 22:08
"park slope" | gowanus | "cobble hill" | "boerum hill" | "carroll gardens" | "red hook" | "fort greene" | "fort green" | "clinton hill" | "downtown brooklyn" | "prospect heights" | "brooklyn heights"
#!/bin/bash
echo "The following node processes were found:"
ps aux | grep " node " | grep -v grep
nodepids=$(ps aux | grep " node " | grep -v grep | cut -c16-20)
echo "OK, so we will stop these process/es now..."
for nodepid in ${nodepids[@]}
do
echo "Stopping PID :"$nodepid
{
"body_html": "\u003Ca name=\"top\"\u003E\u003C/a\u003E\n\u003Cp\u003E\u003Cstrong\u003EWatch \u003C/strong\u003E\u003Cstrong\u003E\u003Ca href=\"#Video_Review\"\u003Ehow we made this shirt\u003C/a\u003E!\u003C/strong\u003E\u003C/p\u003E\n\n\u003Cp\u003EFast Fashion represents the polar opposite of our core values- people, planet and product. It tends to exploit people by severely under compensating them for their work, uses materials that are toxic for the planet and is designed to be fashionable or last one season. #\u003Cspan class=\"caps\"\u003EUCK\u003C/span\u003E \u003Cspan class=\"caps\"\u003ETHAT\u003C/span\u003E.\u003C/p\u003E\n\u003Cp\u003EWe silkscreen each tee one at a time in Brooklyn NYC, with their own colors and style to match the shirt. Each shirt is one-of-a-kind, and sold grab-bag style. You chose your size and the shirt chooses you, resulting in a happy surprise :-)\u003C/p\u003E\n\u003Cp\u003EMaterial: Collected + inspected reused shirts. \u003Cbr /\u003E\nNon-toxic water-based silkscr