Skip to content

Instantly share code, notes, and snippets.

View searchs's full-sized avatar
💭
Architecting systems in a data world

Ola Ajibode searchs

💭
Architecting systems in a data world
View GitHub Profile
@searchs
searchs / css-media-queries-cheat-sheet.css
Created January 26, 2022 22:04 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
https://github.com/EbookFoundation/free-programming-books
https://github.com/ohmyzsh/ohmyzsh
https://github.com/TheAlgorithms/Python
https://github.com/30-seconds/30-seconds-of-code
https://github.com/mui-org/material-ui
https://github.com/iluwatar/java-design-patterns
https://github.com/avelino/awesome-go
https://github.com/django/django
https://github.com/pallets/flask
https://github.com/chartjs/Chart.js

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@searchs
searchs / .rubocop.yml
Created February 2, 2021 00:20 — forked from jhass/.rubocop.yml
My preferred Rubocop config
AllCops:
RunRailsCops: true
# Commonly used screens these days easily fit more than 80 characters.
Metrics/LineLength:
Max: 120
# Too short methods lead to extraction of single-use methods, which can make
# the code easier to read (by naming things), but can also clutter the class
Metrics/MethodLength:
@searchs
searchs / postgres-brew.md
Created January 25, 2021 01:07 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@searchs
searchs / Spark Dataframe Cheat Sheet.py
Created September 20, 2018 12:25 — forked from AlessandroChecco/Spark Dataframe Cheat Sheet.py
Cheat sheet for Spark Dataframes (using Python)
# A simple cheat sheet of Spark Dataframe syntax
# Current for Spark 1.6.1
# import statements
#from pyspark.sql import SQLContext
#from pyspark.sql.types import *
#from pyspark.sql.functions import *
from pyspark.sql import functions as F
#SparkContext available as sc, HiveContext available as sqlContext.
@searchs
searchs / Spark Dataframe Cheat Sheet.py
Created September 14, 2018 09:51 — forked from crawles/Spark Dataframe Cheat Sheet.py
Cheat sheet for Spark Dataframes (using Python)
# A simple cheat sheet of Spark Dataframe syntax
# Current for Spark 1.6.1
# import statements
from pyspark.sql import SQLContext
from pyspark.sql.types import *
from pyspark.sql.functions import *
#creating dataframes
df = sqlContext.createDataFrame([(1, 4), (2, 5), (3, 6)], ["A", "B"]) # from manual data
@searchs
searchs / happy_git_on_osx.md
Created March 7, 2018 10:16 — forked from trey/happy_git_on_osx.md
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "you@example.com"

@searchs
searchs / KafkaMostBasicTest
Created February 14, 2018 12:46 — forked from benstopford/KafkaMostBasicTest
Kafka Testing at its Most Simple
package com.confluent.benstopford;
import kafka.consumer.*;
import kafka.javaapi.consumer.ConsumerConnector;
import kafka.message.MessageAndMetadata;
import kafka.serializer.StringDecoder;
import kafka.server.KafkaConfig;
import kafka.server.KafkaServerStartable;
import org.apache.curator.test.TestingServer;
import org.apache.kafka.clients.producer.KafkaProducer;