Skip to content

Instantly share code, notes, and snippets.

View olexpono's full-sized avatar

Olex Ponomarenko olexpono

View GitHub Profile
@olexpono
olexpono / getFollowing.js
Last active November 18, 2022 05:03
Get your follower list / following out of Twitter
/* DIRECTIONS:
* go to twitter.com/username/following
* also works on go to twitter.com/username/followers
* paste the script, it'll start collecting ALL USERS you scroll past in a list
* into a variable called "allUsers".
*
* Use this to stop when you're done:
* doneCapturing();
*/
@olexpono
olexpono / machine.js
Created January 11, 2021 17:19
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@olexpono
olexpono / .tmux.conf
Last active May 4, 2022 20:19
tmux.conf 2017
# use 256 term for pretty colors
set -g default-terminal "xterm-256color"
set -g status-bg black
set -g status-fg green
set-window-option -g clock-mode-colour brightyellow
# increase scroll-back history
set -g history-limit 1000000
# use vim key bindings
@olexpono
olexpono / portfolio_advice.md
Last active January 25, 2023 04:32
Thinkful Portfolio Q&A, Tips & Tricks

Portfolio Advice

These are the take-aways from my Q&A sessions working with students on their portfolios at Thinkful. Hopefully these guidelines will make building a successful portfolio site straightforward.

Recommended contents

Keep it simple! Unless you have a blog, or some other major section to your site, it's likely that you don't even need a navigation. In practice, making a "cool reveal" or an awesome unique style is much better than packing in more pages and more projects. Here are the critical sections.

@olexpono
olexpono / flexbox_workshop.md
Last active November 14, 2015 00:44
Flexbox Workshop Notes
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
#
@olexpono
olexpono / size_scale.rb
Last active August 29, 2015 14:17
Generator for pixel sizing scales using two seed numbers. Like modularscale.com
# Calculates (pixel) scales
#
# Usage
#
# require "size_scale"
#
# SizeScale.gen(20, 27)
# => Generates all numbers in-scale with 1.5 multiplication
# between 3 and 1440 (useful css px values)
#
@olexpono
olexpono / keybase.md
Created May 9, 2014 20:10
keybase.md

Keybase proof

I hereby claim:

  • I am tholex on github.
  • I am olex (https://keybase.io/olex) on keybase.
  • I have a public key whose fingerprint is 967F 4BEA C49D 6731 8031 BB49 A7DB D4F1 2B4D 6128

To claim this, I am signing this object:

@olexpono
olexpono / gridr.rb
Last active August 29, 2015 13:57
Ruby 12-Column Grid Explorer
#! /usr/bin/env ruby
#
# Utility for finding 12-col grids
#
# Usage:
# Gridr.explore(Range.new(900,1440,1))
#
# Output:
# 1200 / 1.0 -- gutter 12.0px –– column 89.0px
# 960 / 1.25 -- gutter 12.0px –– column 69.0px
@olexpono
olexpono / sqsp_convert.rb
Created September 27, 2013 15:41
If you find this before grunt-sqsp is out, contact me...
#! /usr/bin/env ruby
#
# Squarespace Theme -> Grunt Toolbox Converter
# Team Olex / Copyright 2013
#
# Usage
#
# rb sqsp_convert.rb [folder_name]
#
# Converts [folder_name] into a Grunt.js-enabled dir which can