Skip to content

Instantly share code, notes, and snippets.

View maxcodes's full-sized avatar
🤓
Hire me! hire@maxholzheu.com

Max Holzheu maxcodes

🤓
Hire me! hire@maxholzheu.com
View GitHub Profile
@diegozr1
diegozr1 / fintech_api_list.md
Last active December 20, 2023 17:51
Curated list of Mexican Fintech APIs
@tallys
tallys / _color-variables
Created January 30, 2015 22:24
Stop Using Colors at Random
// Color Palette
$blue: #4dabdf;
$orange: #FF9058;
//neutrals
$white : #fff;
$gray : #808080;
$dark-gray: #222;
@cjbarber
cjbarber / dustin-moskovitz-best-books.md
Last active October 28, 2020 03:37
Dustin Moskovitz's Book Recommendations (Co-Founder of Asana and Facebook)

Dustin Moskovitz is a cofounder of Asana, and was a co-founder of Facebook. Here are some of his favorite books.

Many thanks to Dustin for this list.

On Consciousness

Douglas R. Hofstadter

Godel, Escher, Bach: An Eternal Golden Braid

@rtt
rtt / tinder-api-documentation.md
Last active May 5, 2024 15:28
Tinder API Documentation

Tinder API documentation

Note: this was written in April/May 2014 and the API may has definitely changed since. I have nothing to do with Tinder, nor its API, and I do not offer any support for anything you may build on top of this. Proceed with caution

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

@lfender6445
lfender6445 / gist:9919357
Last active May 2, 2024 22:40
Pry Cheat Sheet

Pry Cheat Sheet

Command Line

  • pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)
  • pry -r ./config/environment.rb - load your rails into a pry session

Debugger

@jackhooper
jackhooper / fizz-buzz-bazz-bozzle.rb
Created January 19, 2014 07:15
FizzBuzz, extended to be more complicated. Now, if n is a multiple of 7, the program prints out "Bazz", unless it is also a multiple of 14, in which case it prints out "Bozzle". If n is a multiple of 10, it prints out n, no matter what. Inspired by a section of David Fayram's 'FizzBuzz, A Deep Naval to Gaze Into' (http://dave.fayr.am/posts/2012-…
# FizzBuzz extended to be more complicated, in order to
# demonstrate the extensibility of this approach
# Jack Hooper 2014
def fizzbuzz(n)
return n if n.modulo(10).zero?
output = ""
output.concat("Fizz") if n.modulo(3).zero?
output.concat("Buzz") if n.modulo(5).zero?
@kenrett
kenrett / Selenium Cheat Sheet.md
Last active May 25, 2023 01:28
Selenium Cheat Sheet - Ruby

#Getting Started

##Webpage:

<html>
<head>
    <title>Testing with Ruby and Selenium WebDriver</title>
</head>
 
<body bgcolor="antiquewhite">
@tedmiston
tedmiston / nodejs-tcp-example.js
Last active February 19, 2024 21:55
Node.js TCP client and server example
/*
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp
server, but for some reason omit a client connecting to it. I added an
example at the bottom.
Save the following server in example.js:
*/
var net = require('net');
@vitorgalvao
vitorgalvao / Get Title and URL.applescript
Last active May 6, 2024 04:49
AppleScript and JavaScript for Automation to get frontmost tab’s url and title of various browsers.
-- AppleScript --
-- This example is meant as a simple starting point to show how to get the information in the simplest available way.
-- Keep in mind that when asking for a `return` after another, only the first one will be output.
-- This method is as good as its JXA counterpart.
-- Webkit variants include "Safari", "Webkit", "Orion".
-- Specific editions are valid, including "Safari Technology Preview".
-- "Safari" Example:
tell application "Safari" to return name of front document