Skip to content

Instantly share code, notes, and snippets.

View ok1a's full-sized avatar
💭
https://omarokla.com

ok1a

💭
https://omarokla.com
View GitHub Profile
Some courses I think are neat and have recordings
Lots of deep learning, + some cs, science and math
Online classes in progress
* Stanford CS224n NLP w/ DL https://web.stanford.edu/class/archive/cs/cs224n/cs224n.1194/
Online classes todo
* Stanford CS224W ML with Graphs http://web.stanford.edu/class/cs224w/
* Stanford CS234 RL (vids from 2019) https://web.stanford.edu/class/cs234/CS234Win2019/schedule.html https://web.stanford.edu/class/cs234/
* Stanford CS330 Deep Multi-Task and Met aLearning (vids from 2019) https://cs330.stanford.edu/
@DawidMyslak
DawidMyslak / vue.md
Last active April 22, 2024 12:49
Vue.js and Vuex - best practices for managing your state

Vue.js and Vuex - best practices for managing your state

Modifying state object

Example

If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator).

Example below explains implications for different implementations.

@hailiang-wang
hailiang-wang / pkl_to_json.py
Created April 20, 2017 02:12
Convert python pickle file to json
#!/usr/local/bin/python3
'''
Convert a pkl file into json file
'''
import sys
import os
import _pickle as pickle
import json

Unit Tests in Vue.js

Tooling

{
  "karma-mocha": "^0.2.1",
  "karma-chai": "^0.1.0",
  "karma-chai-as-promised": "^0.1.2",
  "karma-sinon": "^1.0.4",
@gokulkrishh
gokulkrishh / media-query.css
Last active November 10, 2024 02:00
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@PurpleBooth
PurpleBooth / README-Template.md
Last active November 17, 2024 18:07
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active November 14, 2024 15:40
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@ripper234
ripper234 / decrypt.js
Created February 22, 2013 21:23
Password checker for encrypted JSON from blockchain.info (My Wallet) bitcoin wallet
// To run this:
// 1. Install node.js
// 2. Fill in encrypted & password below
// 3. node decrypt.js
var encrypted = ''; // copy paste encrypted json here
var password = ''; // your password goes here
(typeof Crypto == "undefined" || !Crypto.util) && function () {
var a = Crypto = {}, b = a.util = {