Skip to content

Instantly share code, notes, and snippets.

@n3zukochan
n3zukochan / gophercon.md
Created July 16, 2019 18:31
Gophercon Agenda

Thursday

  • Welcome Gophers
  • On the Road to Go 2
  • How Uber "Go"es
  • Portable, Immediate Mode GUI Programs for Mobile and Desktop in 100% Go
  • Go, pls stop breaking my editor
  • Controlling the go runtime
  • Go Module Proxy: Life of a Query
  • PKI for Gophers
  • Contributing to the os Package: How Deep Do You Go?
@n3zukochan
n3zukochan / Data Structures and Parallelism.md
Last active December 26, 2016 09:33
Covers abstract data types and structures including dictionaries, balanced trees, hash tables, priority queues, and graphs; sorting; asymptotic analysis; fundamental graph algorithms including graph search, shortest path, and minimum spanning trees; concurrency and synchronization; and parallelism.

General knowledge:

  • Data Structures: "clever" ways to organize information in order to enable efficient computation over that information
  • Trade-offs: time vs. space, efficiency, generality vs. simplicity vs. performance
  • ADT: Description of a "thing" with set of operations unit
  • Algorithm: high level description of step-by-step process

Analysis:

  • Comparing using large inputs because it is plenty good for small inputs
  • Consecutive: Sum of each
  • Conditional: condition + slower branch

MUST READ

StackOverflow thread: This thread's best answer is the best guide to learn Haskell I have found so far

The thread would tell you to read some books but I recommend checking the link below since all courses in there also cover those books as well (and maybe better).

Github sources

This github repo has all good courses: LearnHaskell

Code Snippets Log

Jekyll

  • TCPServer Error: Address already in use
# Find out the PID of the process that's using the xxxx port
$ lsof -wni tcp:xxxx
# Use the number in the PID column to kill the process
$ kill -9 PID
@n3zukochan
n3zukochan / Website checklist.md
Last active September 19, 2015 06:39
This is a checklist for any simple website before launching. This checklist is a simple version of the checklist I got from guide.co

Website checklist

Standards And Validation

  • Check your code: Remember to validate your code
  • Validate that all of your forms are working: Check any automatic emails for spelling mistakes and that it looks good on all email clients. Also, it's a great idea to add a link to social networks on all of your touchpoints.
  • Check your site on multiple browsers: Firefox, Chrome, Safari and IE or Edge(LOL)
  • Check your site on mobile: Mobile site checking

Website SEO

  • Check your keywords: Ensure you have your meta description in place, and that any keywords are suitable for the site
  • Check your titles: A popular structure for page titles is: Name of my page | websitename
@n3zukochan
n3zukochan / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console