A small list of shit I learned.
Some of my talks and presentations can be found here.
I love to read. Here are some book recommendations and my reading list.
I'm glad to be of service if someone finds these useful :)
- A great reminder not to trust services where you are the product and to pull rather than accept information being pushed on you https://www.theguardian.com/technology/2017/sep/19/facebooks-war-on-free-will
- Really good stuff by Alan Kay, more signal less noise than his How to Invent the Future talk https://www.fastcompany.com/40435064/what-alan-kay-thinks-about-the-iphone-and-technology-now
- Notes here
- Recommends Bertrand Russel and Neil Postman to read
- Supa fast frontend lib http://markojs.com/
- “Scientists generally agree that no theory is 100 percent correct. Thus, the real test of knowledge is not truth, but utility.” - Noah Harari
- You have to build out your toolbox. Thus, the secret to great thinking is to learn and employ a variety of mental models.
- World-class thinkers are often silo-free thinkers. They avoid looking at life through the lens of one subject. Instead, they develop “liquid knowledge” that flows easily from one topic to the next.
- http://jamesclear.com/feynman-mental-models
- Get that pesky 1600x900 resolution on Gnome http://ubuntuhandbook.org/index.php/2017/04/custom-screen-resolution-ubuntu-desktop/
- Argument for walking https://www.newyorker.com/tech/elements/walking-helps-us-think
- Argument for leaving and then coming back https://oliversegovia.com/2017/09/08/unsolicited-career-advice-ateneans-will-ignore/
- Lib for writing markdown + built-in components suited for data storytelling blog https://idyll-lang.github.io/introduction
- Takeaways: do hard, varied things out of your comfort zone. http://www.bbc.com/future/story/20170828-the-amazing-fertility-of-the-older-mind
- Curiosity as a metric https://medium.com/the-mission/make-the-pursuit-of-curiosity-your-metric-for-success-e22ddc4c33c3
- Function programming http://www.lihaoyi.com/post/WhatsFunctionalProgrammingAllAbout.html
- Having a macro view is essential. Don't miss the forest for the trees, but do understand the intricacies of the trees so you can better navigate the forest.
- js
this
is not an author-time binding but a runtime binding. It is contextual based on the conditions of the function's invocation.this
binding has nothing to do with where a function is declared, but has instead everything to do with the manner in which the function is called. this
is neither a reference to the function itself, nor is it a reference to the function's lexical scope.
- Autocrop - find the subject of an image and crop around it to fit user-defined dimensions. http://www.iptech-group.com/blog/locating-interesting-parts-of-an-image
- Better rankings for a thumbs up / down system http://www.evanmiller.org/how-not-to-sort-by-average-rating.html
- These could be great features for your personal hiring (paper) system http://blog.alinelerner.com/lessons-from-a-years-worth-of-hiring-data/
- Good short reminder of concepts discussed in Talent Code http://web.cecs.pdx.edu/~tymerski/ece101/Expert_mind_scientificamerican0806-64.pdf
- Clean your datasets with this super cool tool https://cloud.google.com/dataprep/
Revealing Module
pattern in JS is like a public API for a module. https://github.com/getify/You-Dont-Know-JS/blob/master/scope%20%26%20closures/ch5.mdClosures
(in my own words, not necessarily accurate) are just that functions retain memory/reference (?) of variables defined at the same scope level.- Defined in the book: Closure is when a function can remember and access its lexical scope even when it's invoked outside its lexical scope.
- A useful memory aid for this is:
function Monster(name) {
var life = 100;
function takeDamage(n) {
life -= n
}
function showHP() {
console.log(name + ' has ' + life + ' HP.')
}
return {
takeDamage: takeDamage,
showHP: showHP
}
}
var bakemono = Monster('Poring')
var bakemono2 = Monster('Poporing')
bakemono.takeDamage(10)
bakemono.showHP() // Poring has 90 HP.
// note that bakemono2 is not affected
bakemono2.showHP() // Poporing has 100 HP.
- Writing stuff out may be important for learning because our hands command one of the largest provisions of our brains based on the cortical homonculus. Notice hands are allocated greater resources than both the eyes and ears.
- YDKJS book 2, chapter 3: Use immediately invoked function expressions (IIFE's) to keep your global scope clean.
(function a() { console.log(1) })()
- Okinawans have a beautiful life philosophy http://www.telegraph.co.uk/health-fitness/mind/finding-ikigai-japanese-secret-health-happiness/
- Ikigai, reason for living: https://www.weforum.org/agenda/2017/08/is-this-japanese-concept-the-secret-to-a-long-life/
- $7k masters in CS https://www.omscs.gatech.edu/
- Chase gave a talk on GraphQL: a query language that could help speed up frontend heavy apps IMO. CMS for it: https://graphcms.com/
- Always read this yearly article: Current State of Machine Intelligence by @Shivon https://medium.com/@shivon/the-current-state-of-machine-intelligence-3-0-e4d305da032e
- art https://marpi.pl/
We build custom real-time audio-reactive music visualizers, using web technologies such as WebGL, Web Audio, and custom GLSL shaders. We also build live concert visuals and interactive installations.
https://www.uberviz.io/- https://medium.com/the-mission/10-000-hours-with-claude-shannon-12-lessons-on-life-and-learning-from-a-genius-e8b9297bee8f
- https://benmccormick.org/2017/07/19/ten-things-javascript/
- incremental learning http://scikit-learn.org/stable/modules/scaling_strategies.html#incremental-learning
wget -qO - http://ipecho.net/plain; echo
ez find ip- https://github.com/slap-editor/slap
- https://codelabs.developers.google.com/cpb100
- People who take breaks and have leisure time outperform those who only just doggedly pursue an endless treadmill - Learning How to Learn
- The essence of calculus, great video series on YouTube for grokking the basics. https://www.youtube.com/watch?v=WUvTyaaNkzM&list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr
- Luck is a skill http://www.telegraph.co.uk/technology/3304496/Be-lucky-its-an-easy-skill-to-learn.html
Once you get into the habit of the 30 second review, it starts to change the way you pay attention, whether listening to a talk or participating in a discussion.
http://www.huffingtonpost.com/robyn-scott/the-30-second-habit-that-_b_4808632.html- Simple animation lib https://two.js.org/
- Thoughts on interviewing engineers http://blog.triplebyte.com/how-to-interview-engineers
- https://triplebyte.com/manifesto
- Create env in conda
conda create -n tensorflow python=<ver>
,source activate tensorflow
- Silence tf errors, or build from source
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf
- Great notes on Stanford ML class. http://www.holehouse.org/mlclass/
- This is a mapping of 2 (2x3) layers in an NN. Looks like a nice logo.
- How to study http://www.cse.buffalo.edu/~rapaport/howtostudy.html
- See partitions and where they're mounted
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
- Sounds intuitive. Clear cached images and files if Chrome is not honoring your hosts file.
- http://gratefulness.org/resource/one-morning/
- Password protect HTML page https://github.com/robinmoisson/staticrypt
- Write native apps in Vue! https://weex.incubator.apache.org/
- Requests has verbose mode
my_config = {'verbose': sys.stderr}
requests.get('http://httpbin.org/headers', config=my_config)
- Share terminal session with people you trust https://www.teleconsole.com/
- Try
ncdu
, an excellent command-line disk usage analyser. You need to installsudo apt-get install libncurses-dev
- Docker cheat sheet https://github.com/wsargent/docker-cheat-sheet
- Google Scholar classic papers https://scholar.google.com/citations?view_op=list_classic_articles&hl=en&by=2006
- Having wifi probs on Ubuntu? Try
sudo killall dnsmasq
- recognizing serendipity is a skill, ML techniques can lead to "mind cages", as programmers we have the moral responsbility to avoid doing this http://w4nderlu.st/projects/about-serendipity
- Tensorflow from Kadenze https://www.kadenze.com/courses/creative-applications-of-deep-learning-with-tensorflow/info
- Deep Learning course by Google. Also, check out udacity's AI and ML nanodegrees https://www.udacity.com/course/deep-learning--ud730
- 3 hour tensorflow https://cloud.google.com/blog/big-data/2017/01/learn-tensorflow-and-deep-learning-without-a-phd
- Protect your Psyche: http://aging.nautil.us/feature/218/why-you-cant-help-but-act-your-age
- Good explanation of various binary classifier concepts https://classeval.wordpress.com/
- Using deep learning on small data http://beamandrew.github.io/deeplearning/2017/06/04/deep_learning_works.html
- Reads open source non-fiction books and gives me the keywords. Produces a super short high-frequency non-stupid words (Can use classifier and tweak) summary so I can choose something to skim. e.g. Steve Jobs - biography - Apple billion dollar company, Elon Musk - biography Tesla Space X solar electric
- Theoretically, could you build a machine designed to be more efficient and make it run a deep learning algorithm to recursively improve its own efficiency?
HOME
andEND
to go to beginning/end of line on almost any text editor (even web)- http://blog.stephenwolfram.com/2017/06/oh-my-gosh-its-covered-in-rule-30s/
But is what we get from the computational universe art? When we pick out something like rule 30 for a particular purpose, what we’re doing is conceptually a bit like photography: we’re not creating the underlying forms, but we are selecting the ones we choose to use.
- How to place multiple cursors on sublime text
Select all the text: CTRL A.
Activate multi-cursors: CTRL (or CMD on Mac) SHIFT L.
Press the Home key to move all cursors to the front of the line.
- Making Things by Miyake Issey https://www.youtube.com/watch?v=cHm2ksnkUdg
- Net art anthology! Beautiful af! https://anthology.rhizome.org/
- How about making an interactive poem about climbing?
- Delete docker logs
truncate -s 0 /var/lib/docker/containers/*/*-json.log
- Very powerful custom directives in Vue https://vuejs.org/v2/guide/custom-directive.html
- Super funny I've never used
v-show
for conditional rendering in Vue. Use this to not destroy and create elements when rendering conditionally.
- Really good primer on state of AI and deep learning http://a16z.com/2016/06/10/ai-deep-learning-machines/
- Andreessen Horowitz has great tech articles, videos and podcasts http://a16z.com/
- AI playbook http://aiplaybook.a16z.com/
- Good ML courses https://medium.freecodecamp.com/every-single-machine-learning-course-on-the-internet-ranked-by-your-reviews-3c4a7b8026c0
- Easy slides http://jdan.github.io/cleaver/
- How to make music https://learningmusic.ableton.com/
- Remember to care about loadtimes https://blog.intercom.com/bringing-visibility-to-technical-performance/?utm_content=buffer9de5e&utm_medium=social&utm_source=twitter&utm_campaign=buffer
- Better slides for above https://conferences.oreilly.com/velocity/velocityny2013/public/schedule/detail/30146
- Google Cloud Platform training for a data analyst! https://github.com/GoogleCloudPlatform/training-data-analyst
- esoteric programming paradigms http://www.ybrikman.com/writing/2014/04/09/six-programming-paradigms-that-will/
- evidence-based advice https://80000hours.org/career-guide/how-to-be-successful/
- http://firstround.com/review/how-to-become-insanely-well-connected/
- Derek Yu pixel art tutorial http://makegames.tumblr.com/post/42648699708/pixel-art-tutorial
- Creative coding inspiration: vacuum flowers http://vacuumflowers.com/projects/
- Open source ecosystem for webGL http://stack.gl/#learning
- Abrash's Graphics Programming Black Book http://www.gamedev.net/page/resources/_/reference/programming/140/283/graphics-programming-black-book-r1698
- Game programming patterns http://gameprogrammingpatterns.com/contents.html
- Very good argument for specialization and job progression being a programmer https://dzone.com/articles/the-polyglots-dilemma-daedtech
- Great article on creativity itself https://www.nytimes.com/2016/01/31/opinion/sunday/how-to-raise-a-creative-child-step-one-back-off.html?_r=0
- Beautiful viz http://raylight.surge.sh/
- https://mattdesl.svbtle.com/
- Looks like a better alternative to bootstrap https://semantic-ui.com
- Give the people what they want https://www.fastcompany.com/3021229/chaim-pikarski-the-amazon-whisperer
- Low ranking high download apps on Google play https://news.ycombinator.com/item?id=14047465
- export environment variables from file
set -o allexport
source .env
set +o allexport
- Aww yis LESS for rapid prototyping http://lesscss.org/#client-side-usage
- Cloud functions on Firebase! https://firebase.google.com/docs/functions/use-cases
- Embedding Python in QT applications. Nice for cross platform desktop dev https://ubuverse.com/embedding-the-python-interpreter-in-a-qt-application/
- JS debugging made simple https://github.com/egoist/esbin
- Jupyter notebook for JS! https://runkit.com/home
- JavaScript, reusable APIs, and prebuilt Markup stack. What I should be using. Wish they had boilerplate though https://jamstack.org/
- Ask HN good tech blogs to read https://news.ycombinator.com/item?id=13849430
- Color theory for programmers https://tallys.github.io/color-theory/
- ML research shown visually and interactively http://distill.pub/
- Nice library for deep learning https://blog.keras.io/introducing-keras-2.html
- Best books on AI https://news.ycombinator.com/item?id=13900153
- Stripe for any country https://medium.com/@IsAlmog/hacking-strip-payments-to-use-in-any-country-886a7cafb690#.efandkpax
- Online MIT courses!! https://mitprofessionalx.mit.edu/courses
- Simple TensorFlow tutorial https://github.com/jostmey/NakedTensor?bare
- Teach yourself CS https://teachyourselfcs.com/
- Specifically: http://ai.berkeley.edu/home.html
- For the future maybe https://www.edx.org/micromasters/columbiax-artificial-intelligence though a bit steep at 60k
- Top CS MOOCs https://www.class-central.com/collection/top-free-online-courses?subject=cs&sort=rating-up&utm_source=top-50-course-page
- Template for future UI kata blog posts https://medium.freecodecamp.com/how-to-talk-about-your-side-projects-18b96f192817#.b9u9nljlp
- Greedy algorithms are basically: 1. sort via a metric, 2. get the top ranking ones that fit into constraints
- mysql can be bound to address. Just edit
/etc/mysql/my.cnf
look forbind-address
- When creating mysql users, you can define from which hosts they can connect
- Giving someone ssh access, just add to
~/.ssh/authorized_keys
- Coding screencasts done interestingly https://scrimba.com/
- math for computer science https://courses.csail.mit.edu/6.042/spring17/mcs.pdf
- Beautifully done art game that shows philosophical views using snake https://pippinbarr.github.io/SNAKISMS/ Check out his blog also for cool art games!
- Work on beatobongco.com/TheGame !
- http://www.newyorker.com/magazine/2017/02/27/why-facts-dont-change-our-minds
- Personal interview process
- PERFECT!!!
- http://leafletjs.com/examples/geojson/
- http://leafletjs.com/examples.html
- !!!!!!!!!!!!!!!!! https://blog.ycombinator.com/onlineclass/
- https://qz.com/884448/every-successful-relationship-is-successful-for-the-same-exact-reasons/
- Mythical 10x programmer http://antirez.com/news/112
- http://startupclass.samaltman.com/
- http://playbook.samaltman.com/
- Careful what you type in terminal.
history | grep
- Awesome language exercises http://exercism.io/
- To read https://www.scientificamerican.com/article/will-democracy-survive-big-data-and-artificial-intelligence/
- NEED!! Use for testing instead of nightmare js https://github.com/bnx05/pytest-selenium
- http://www.omgubuntu.co.uk/2016/08/peek-desktop-gif-screen-recorder-linux
- https://paddle.com/
- https://techcrunch.com/2016/09/28/paddle-banks-3-2m-for-an-ecommerce-platform-targeting-saas-startups/
- https://stunning.co/
- Good indiehacker template https://www.indiehackers.com/businesses/cronitor https://blog.cronitor.io/the-jit-startup-bb1a13381b0#.8n62hp3cd
- https://www.khanacademy.org/partner-content/pixar/storytelling
- https://techcrunch.com/2017/02/18/co-founder-conflict/
- http://nautil.us/issue/17/big-bangs/how-i-rewired-my-brain-to-become-fluent-in-math
- Useful sublime shortcuts
ctrl+p
go to filename in projctrl+r
go to symbol etc in filectrl+p <filename> @
go to file then to symbol, etcctrl+g
go to line numberctrl+alt+p
switch projectalt+shift+[1..4]
number of columnsctrl+w
close a filectrl+enter
add newline after this onectrl+ [ or ]
un/indent lines
- http://code-poetry.com/ Think about doing this with js
- Algorithms https://www.khanacademy.org/computing/computer-science/algorithms/
- Good resources for beginners and those who wish to review HTML basics http://htmlreference.io/ https://internetingishard.com
- https://illustrated-algorithms.now.sh/
- TUNAY NA BAYANI https://ulapph-corporation.appspot.com/?checkHTTPS=yes
- https://www.jpeg.io/ compress images!
- http://www.dev-books.com/
- https://danluu.com/web-bloat/
- http://danluu.com/octopress-speedup/
- http://idlewords.com/talks/website_obesity.htm
- MET artworks can be downloaded at high res, public domain! http://www.metmuseum.org/art/collection
- Cards to bust through creative blocks https://en.wikipedia.org/wiki/Oblique_Strategies
- https://www.gitbook.com/book/frontendmasters/front-end-handbook-2017/details
- https://css-tricks.com/examples/ShapesOfCSS/
- Get updated with master easily!
git fetch origin master
git rebase origin/master
git clean -f
remove new uncommitted files
- Learn to touchtype: Add to routine: http://www.speedcoder.net/lessons/ !!!
- http://zty.pe/
- Upload image, choose paint, it will color for you. Machine learning!! http://paintschainer.preferred.tech/
L1 = [1, 28, 36] L2 = [2, 57, 9] for x in map(min, L1, L2): print(x) //output: [1, 28, 9]
- You can code Gnome shit in js using
gjs
! https://wiki.gnome.org/action/show/Projects/Gjs - Battlecode https://www.battlecode.org/
- http://codedoodl.es/
- Exactly what I want to make: https://github.com/mattdesl/audiograph.xyz
- This too:http://2013.jsconf.asia/blog/2013/11/8/jsconfasia-2013-mrdoob-ricardo-cabello-framejs
- Visualizations of electronic tracks, reactive to sound and movement of the crowd
- https://en.wikipedia.org/wiki/VJing
- https://en.wikipedia.org/wiki/Demoscene
- Get mp3 from youtube https://github.com/jcalazan/youtube-audio-dl
- Curated list of materials for audioviz https://github.com/willianjusten/awesome-audio-visualization
- https://github.com/unconed/ThreeAudio.js
- http://raathigesh.com/Audio-Visualization-with-Web-Audio-and-ThreeJS/
- https://devart.withgoogle.com
- https://danluu.com/programming-blogs/
- https://danluu.com/programming-books/
- One day I'd love to make programmatic electronic music visualizations, or interactive art
- https://blog.framer.com/a-story-of-a-designer-conquering-mathematics-d0fd4585f0ba#.yyswavqs1
- Or perhaps create short movies http://zulko.github.io/moviepy/
- https://www.michaelfogleman.com/
- EICAR test string https://en.wikipedia.org/wiki/EICAR_test_file
- List of naughty strings https://github.com/minimaxir/big-list-of-naughty-strings
- Finish stuff! Even if not perfect! http://www.jacksimpson.co/finishing-being-productive-busy/
- Be wary of zones of death/line of death on browser https://textslashplain.com/2017/01/14/the-line-of-death/
- Historical radio broadcasts http://radio.garden/history
- Random youtube videos with small views http://astronaut.io/
- https://medium.com/swlh/mediums-best-design-writing-of-2016-68de5ed2b7d9
- Nice! Simple web design should be identifiable in a 9x9 grid https://medium.com/swlh/9x9-pixels-the-world-s-smallest-website-s-82c9e46a9fd0#.3fsg9kidg
- Nice color pairings! Use picker in photoshop! http://www.vanschneider.com/colors/
- Proof that email marketing is the way https://www.campaignmonitor.com/company/annual-report/2016/
- http://githubengineering.com/moving-persistent-data-out-of-redis/
- Developer marketing guide https://www.devmarketingguide.com/
- Shopping cart platform for any website https://snipcart.com/
- Being mentally + physically challenged helps your mind stay healthy even as you age. Ties in with Talent Code (deep practice) and Dalio (being in a constant state of discomfort) http://www.nytimes.com/2016/12/31/opinion/sunday/how-to-become-a-superager.html?smid=fb-share&_r=0
- Hangboarding for Power Endrance + Endurance http://www.rockandice.com/rock-climbing-training/hangboarding-for-endurance-not-just-for-power
- HAPPY NEW YEAR
- Validating demand https://www.upupgrow.com/blog/2016/12/20/how-to-validate-demand-for-your-product
- Communities with 1m users https://en.wikipedia.org/wiki/List_of_virtual_communities_with_more_than_1_million_users
- Guide to deep learning http://yerevann.com/a-guide-to-deep-learning/
- Principles - Ray Dalio https://www.principles.com/ https://principlesbydalio.com/
- MERRY XMAS
- Education about AI and why it might not be as scary as we think http://idlewords.com/talks/superintelligence.htm
- Great layman explanation of deep learning http://www.nytimes.com/2016/12/14/magazine/the-great-ai-awakening.html?_r=0
- READ OTHER PEOPLE'S CODE https://changelog.com/posts/one-sure-fire-way-to-improve-your-coding
- Best practical guide on starting a SaaS https://medium.com/@cliffordoravec/the-epic-guide-to-bootstrapping-a-saas-startup-from-scratch-by-yourself-part-1-4d834e1df8c1#.elp95ovw5
- How to start a real business https://stripe.com/atlas/guide
- Add a subdomain to a flask static route https://github.com/insynchq/web/issues/338
- Shoulda totally used this waaaaay back. Flask decorators http://flask.pocoo.org/docs/0.11/patterns/viewdecorators/
- Rule of Silence can be applied to UX. Only what's necessary. http://www.linfo.org/rule_of_silence.html
- HN people talk about side projects with passive income https://news.ycombinator.com/item?id=13150144
- Potential startup ideas https://news.ycombinator.com/item?id=13139638
- HN on how to supercharge code https://news.ycombinator.com/item?id=13142372
- I want to learn how to create miniamlist assets of my own, ala flaticons. https://www.gimp.org/tutorials/Creating_Icons/
- How to ship side projects http://blog.andyjiang.com/how-to-ship-side-projects/
- Idea: CRUD-tacular. A template for extremely quick client-side-only app with user management on localforage. Kinda like a superwireframe to test concepts quickly. Not meant for real app building. Bonus if you can make data persist somehow. Includes forms and viewing of forms.
- AESOP - A picture book blog thing like the nytimes sometimes posts that allows mobile scrolling and fading in and out of pictures that remain centered. PRIORITY
- Cut mp3's online. Very useful. http://mp3cut.net/
- Next time I need js client and server sync https://pouchdb.com/
- Hot sync 2 redis https://github.com/stickermule/rump
- Billing made easy https://plasso.com/billing
- json on the command line http://200ok.ch/jq-my-new-favorite-tool-to-work-with-json-on-the-command-line/index.html
- HTTP client for redis https://github.com/nicolasff/webdis
- Firebase bindings for Vue https://github.com/vuejs/vuefire
- Make phone apps with vue https://github.com/vuejs/vue-touch
- Learn math one day, will be useful for dev. Discrete math and algos http://steve-yegge.blogspot.com/2006/03/math-for-programmers.html
- Argument for designer + dev. Skill mastery diminishing returns, better to work on areas with larger return thus multi-discipline. http://www.forbes.com/sites/quora/2013/06/27/the-myth-of-the-myth-of-the-unicorn-designer/#1d627d783504
- https://irondavy.quora.com/Designers-Will-Code
- Scaling up as a startup CEO https://blog.ycombinator.com/the-second-job-of-a-startup-ceo/
-
TIL: When using redis from a docker image (or redis in general actually) remember to do the following on the host server...
- set the Linux kernel overcommit memory setting to 1 by
sysctl vm.overcommit_memory=1
and addingvm.overcommit_memory = 1
to/etc/sysctl.conf
. The default is 0. Redis background save may fail under low memory condition. (This is what I assume the original problem was about) - Increase max connections so a TCP setting can be enforced. Set
sysctl net.core.somaxconn=65535
and add tisysctl.conf
- Disable Transparent Huge Pages (THP). If enabled (by default) this will create latency and memory usage issues with Redis. Run
echo never > /sys/kernel/mm/transparent_hugepage/enabled
.
- set the Linux kernel overcommit memory setting to 1 by
-
Lessons for the future perhaps https://www.technologyreview.com/s/602961/four-lessons-for-silicon-valley-from-its-first-startup/?utm_campaign=socialflow&utm_source=facebook&utm_medium=post
-
git diff --cached <filename>
see changes of file
- Use css pointer events to make something not clickable and make it not block elements under it http://caniuse.com/pointer-events/embed/ https://developer.mozilla.org/en/docs/Web/CSS/pointer-events
- Interesting small projects to do to improve! Great for UI-Kata work https://github.com/karan/Projects#web
- React UI Toolkit http://blueprintjs.com/
- Good startup ideas http://www.defmacro.org/2015/02/25/startup-ideas.html
- Great way to run a software development company. https://dev.to/isaacandsuch/developer-driven-development/
- Data viz! https://datastudio.google.com
- This is how to do SEO! https://www.indiehackers.com/businesses/instapainting
try to take a known working category and try to invent 20% of it, rather than 90%. Apple didn’t invent the smartphone, the MP3 player, or the computer, and yet they are super innovative and successful. You don’t have to invent a new product category either, and it’s easier to get to product/market fit when you have a baseline competitor to compete against.
http://andrewchen.co/after-the-techcrunch-bump-life-in-the-trough-of-sorrow/
- Better fonts on Ubuntu http://www.webupd8.org/2013/06/better-font-rendering-in-linux-with.html
- Great blog on startups. Article of how to de-risk https://codingvc.com/how-to-de-risk-a-startup/
- The case for being bored, wandering around to walk, perhaps meditation. Limiting TV, computer and internet use (only a certain time where wifi is available) https://www.weforum.org/agenda/2016/09/being-bored-is-good-for-children-and-adults-this-is-why/
- Fix chrome screen tearing http://askubuntu.com/questions/766725/annoying-flickering-in-16-04-lts-chrome
- 40 Key Computer Science Concepts Explained In Layman’s Terms http://carlcheo.com/compsci
- EXTREMELY USEFUL COLOR PALETTE THINGY https://coolors.co
- Awesome HN comments, lots of stuff about startups, hiring, code http://danluu.com/hn-comments/
- Fun APIs to play with https://www.reddit.com/r/webdev/comments/3wrswc/what_are_some_fun_apis_to_play_with/
- Nice static website generator https://gohugo.io/
- Manually curated collection of resources for frontend web developers. https://frontend.directory/p
- Collection of articles, videos, and resources made by designers at Facebook. http://facebook.design/
- DIY design education https://medium.com/facebook-design/a-diy-design-education-218a4a2d340f#.vx2rupab2
- Icons in pure css. Awesome! http://cssicon.space/#/
- https://juokaz.com/blog/becoming-a-cto
- Ask HN: Good books on UI (for sure long half-life, its design) https://news.ycombinator.com/item?id=12711060
- Reminds me of Beknowntho https://shift.newco.co/what-50-buys-you-at-huaqiangbei-the-worlds-most-fascinating-electronics-market-f0384d9fca32#.sijgrtodz
- Good list of programming books http://www.billthelizard.com/2008/12/books-programmers-dont-really-read.html
- Ask HN YouTube channel for devs https://news.ycombinator.com/item?id=12702651
- http://jazcash.com/a-javascript-journey-with-only-six-characters/
- Invest in durable knowledge, not all knowledge is equal and some have longer "half-lives" http://www.bennorthrop.com/Essays/2016/reflections-of-an-old-programmer.php
- Enable ThinkPad fingerprint reader http://www.thinkwiki.org/wiki/How_to_enable_integrated_fingerprint_reader_with_fprint
- Learned a lot setting up Ubuntu on Thinkpad x260. Skylake does not play well with Ubuntu. Use powertop and put on all tunables. Make sure deeper p states are used. https://wiki.archlinux.org/index.php/powertop
- http://askubuntu.com/questions/112705/how-do-i-make-powertop-changes-permanent
- To remove directories, run
git clean -f -d
orgit clean -fd
.
- In Chrome dev console, one can highlight an element and type in console $1 to reference that element and do shit to it.
- Vitaly Friedman is prettty awesome for frontend stuff https://www.youtube.com/watch?v=U4xd2ZwMOIk
- For frontend design, more efficient to use CSS instead of writing more JS http://www.heydonworks.com/article/on-writing-less-damn-code
- Amazing frontend portfolio! http://www.nerval.ch/
- In love with Vue.js http://blog.evanyou.me/2015/10/25/vuejs-re-introduction/ http://blog.evanyou.me/2015/12/20/vuejs-2015-in-review/
- Evan You:
“Progressive Framework” - we can scale up the framework’s complexity incrementally, only when the project’s inherent complexity demands it.
- Make address usable again / kill process that is using the address
sudo fuser -k 80/tcp
- Super pretty answer to What is Web Design http://jgthms.com/web-design-in-4-minutes/
- Really pretty HTML CSS tutorials http://marksheet.io/
- Animate your favicon! http://lab.ejci.net/favico.js/
- Do things in pure CSS! https://github.com/NamPNQ/You-Dont-Need-Javascript
- Better than wow.js because its free and also performant and lightweight. Triggers animation on scroll https://github.com/terwanerik/ScrollTrigger
- Less than 1kb parallax library https://github.com/dixonandmoe/rellax
- Advice to startups to get off venture capital https://skift.com/2016/01/02/how-we-got-off-the-addiction-to-venture-capital-and-created-our-own-way-to-profits/
- A "WOW!" animation library anime.js https://github.com/juliangarnier/anime http://codepen.io/collection/XLebem/
- Material design dark hex shades https://material-design.storage.googleapis.com/publish/material_v_8/material_ext_publish/0Bx4BSt6jniD7VHFTNDBGODlvakk/style_color_themes_dark1.png
- Extra input like combobox and datepicker http://alexkuz.github.io/react-input-enhancements/
- Intent and not permission, good for a distributed startup with non-drones https://m.signalvnoise.com/if-you-ask-for-my-permission-you-wont-have-my-permission-9d8bb4f9c940#.akg8ihtj3
- LE BEST LANDING http://cuberto.com/
- Can make awesome stuff with this! http://googlecreativelab.github.io/anypixel/ UI KATA!
- UI in movies! Great to study! http://www.pushing-pixels.org/fui/
- Beautiful short book on typography and design https://drive.google.com/open?id=0BwLflDF52HU6OUM5N2Y1RThDaHM
- Nice to teach bite sized concepts. This one is for redux https://github.com/rstacruz/pocket-explainer
- Beautiful pixelart http://saymygame.com/
- 4 startup interview questions https://medium.com/lightspeed-venture-partners/most-tech-interviews-suck-the-only-4-questions-that-matter-1a71181ef4d4#.2bmsec417
- Dedicated events db (could replace bitmapist!) http://traildb.io/
- Create flaks project: http://getflakes.com/ + Flask to create awesome as shit dumb UI and allow programmers to type super little shit but get a great dumb UI. ADD to Flaks: https://github.com/ankane/blazer
- Awesome JS dates, good for cohort https://date-fns.org/
- Client side JS notebook. Super beautiful! https://github.com/JoelOtter/kajero
- Find images visual center http://javier.xyz/visual-center/
- Clean way of preloading via CSS only
#preload {
background: url(../img/move.gif) no-repeat -9999px -9999px;
}
- docker logs take up a lotta space (like gigs) why not delete them?
truncate -s 0 /var/lib/docker/containers/*/*-json.log
- Pretty + quick CSS spinners http://projects.lukehaas.me/css-loaders/
- Minimalist CSS framework + looks quite nice https://milligram.github.io
- A lot of interesting CSS effects here https://github.com/h5bp/Effeckt.css
- Best simple CSS tooltips http://kushagragour.in/lab/hint/
- Super awesome CSS fw based on flexbox https://github.com/jgthms/bulma
- CSS: The
~
combinator separates two selectors and matches the second element only if it is preceded by the first, and both share a common parent.
- Do stuff on a previous page with
window.opener
! https://mathiasbynens.github.io/rel-noopener/
- Messeger platform - bots for facebook https://messengerplatform.fb.com/
- Wit AI Natural language for devs https://wit.ai/
- /usr/bin/env: node: No such file or directory FIX
ln -s /usr/bin/nodejs /usr/bin/node
flex: none;
This is equivalent to flex: 0 0 auto. It sizes the item according to its width/height properties, but makes it fully inflexible. This is similar to flex: initial except it is not allowed to shrink, even in an overflow situation. Super useful for divs with no content and background image. https://css-tricks.com/almanac/properties/f/flex/#article-header-id-4- TODO: Make a tutorial for flex. Remember:
display: flex;
,flex: 1
,overflow: auto or hidden;
are your 3 key css properties to modify to get awesome scaling apps.
- Github post commit hooks http://oli.jp/2011/github-pages-workflow/ Don't forget to
chmod +x .git/hooks/post-commit
- Forming a pyramid base in climbing http://www.climbstrong.com/articles/20140501
- Daily top 10 Hacker News! http://www.daemonology.net/hn-daily/
- VIRTUAL CREDIT CARDS! https://privacy.com/
- Easy signups, would be nice to copy https://magicsignup.com/
- Super awesome free fonts!! http://open-foundry.com/hot30
- How to get and choose clients https://medium.com/@letsworkshop/david-ogilvy-s-20-unconventional-rules-for-getting-clients-319f9abed7d5
- Static render React https://github.com/necolas/react-native-web
- Configurable React Stateless Functional UI Components https://github.com/jxnblk/rebass
- REACT EVERYWHERE WOO https://github.com/necolas/react-native-web
- CSS to use for your next project http://www.basscss.com/
- Brent Jackson's reading list! Front End + UX right up my alley!! http://jxnblk.com/reading-list/
- capture the screen, face, voice and all the touches/clicks on a device, and then automatically upload it to your dashboard for you to view, collaborate, and share. https://lookback.io/
- DEEP LEARNING https://www.udacity.com/course/viewer#!/c-ud730/l-6370362152/m-6379811815
- ADVANCED PYTHON https://www.udacity.com/courses/cs212
- Revisit react basics http://courses.reactjsprogram.com/courses/reactjsfundamentals
- Easy lazyloading images in vanilla js https://github.com/aFarkas/lazysizes
- Small JS lib for onboarding apps! http://introjs.com/
- React Slides https://github.com/FormidableLabs/spectacle
- "First principles" or how to make hard decisions. A good explanation of stick to the facts https://medium.com/@mmccue/the-most-powerful-lesson-i-ve-ever-learned-in-business-4d89e95ab250#.4cpr824je
- Accelerated Mobile Pages (!!) https://github.com/ampproject/amphtml
argv
in python gets args after running script like script_name, arg1, arg2, arg3 = argvpython script.py blah blah blah
- Probability dipstributions see 2016-2-22.md
- SUPER SIMPLE APIS! <3 This + flask or whatever https://github.com/timothycrosley/hug
- AI for robotics! Udacity is fucking awesome. https://www.udacity.com/course/artificial-intelligence-for-robotics--cs373
- Philosophical concepts in an interesting format https://www.reddit.com/r/psycho_alpaca/comments/3qoyve/wp_ever_since_you_were_born_youve_possessed_the/
The worst word you can be called as an entrepreneur is timid.
http://www.businessinsider.com/dating-a-model-taught-me-about-opportunity-2014-11
- SQL for humans! https://github.com/kennethreitz/records
- Lessons from a failed startup https://medium.com/@producthunt/the-rise-and-fall-of-everest-the-app-b0d2e6cb594c#.bcodfg894
- Answer 1: Tooltip prop in html, Answer 2: CSS only tooltip! http://stackoverflow.com/questions/7117073/how-to-add-a-tooltip-to-a-div
- The best UI design I have ever seen http://fantasy.co/work
- Super useful article about inline-block http://designshack.net/articles/css/whats-the-deal-with-display-inline-block/
- https://www.udacity.com/course/intro-to-statistics--st101
- Find details under TIL/2016-2-1.md
Asking someone to change deep-seated beliefs like political or religious viewpoints is asking them to run a mental marathon, and the vast majority of people cannot be bothered. Often only the youth, with healthy energetic minds stay in a state of flux in their viewpoints.
http://robrhinehart.com/?p=570- The right way to start building a product: http://www.themacro.com/articles/2016/01/minimum-viable-product-process/
- Beautiful reason why we work on web: https://remysharp.com/2016/01/20/why-i-love-working-with-the-web
- Study this during free time! jQuery original source with dev commentary! http://genius.it/5113970/ejohn.org/files/jquery-original.html
- Nice flex based grid system http://leejordan.github.io/reflex/docs/
- Novella that might help with design http://www.fastcodesign.com/3045202/wanted/the-classic-novella-iflatland-i-finally-gets-the-design-makeover-it-deserves
- Cron jobs! Can't believe didn't know how to use /noob https://help.ubuntu.com/community/CronHowto
- MySQL remote access: http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html
service mysql stop/start
works better than restart
- Pretty print curled JSON by
| python -m json.tool
- Good docker hygiene http://blog.yohanliyanage.com/2015/05/docker-clean-up-after-yourself/
- Where's all my space??
ncdu
is the shiz http://unix.stackexchange.com/questions/125429/tracking-down-where-disk-space-has-gone-on-linux - Get the most out of physical raw material http://svgnest.com/
- http://getmwf.com/ Microsoft Web Framework - clean, simple design
- https://gasket.io/ Google sheets as frontend
- iOS 8-like transforms (good for images and shiite) https://github.com/Rich-Harris/ramjet
- Blurry DOM probs? No prob! http://keithclark.co.uk/articles/gpu-text-rendering-in-webkit/
- DISTRUPTIVE INNOVATION https://hbr.org/2015/12/what-is-disruptive-innovation
kill %1
kill first job put in bg. Super useful for killing simpleHTTPservers that exit wrong.
- Really good HTML5 site templates http://html5up.net/
- beknontho categories http://getthinglist.co/
- Explains my ideology on building software https://simple.wikipedia.org/wiki/Occam%27s_razor
- BRAND BUILDING: http://firstround.com/review/three-moves-every-startup-founder-must-make-to-build-a-brand-that-matters/
- small business accounting software https://www.xero.com/
- https://www.youtube.com/watch?v=2BpGMKtoB4Y what not to do. super interesting tho
- Questions to ask before startup https://medium.com/swlh/the-startup-framework-to-validate-your-idea-before-you-spend-1-5c475a3bbd6f
- I need this as my life motto https://medium.com/life-learning/never-tell-people-what-you-do-124be62f0751
- http://thehustle.co/the-richest-entrepreneurs-say-you-need-to-write-better
- Write better: http://www.hemingwayapp.com/
- http://ready.mobi/
- github.com/relax/relax
- copy from docker container to host docker cp :/file/path/within/container /host/path/target
- http://zenorocha.github.io/clipboard.js/ CLIPBOARD
- non atomic redis delete
redis-cli KEYS "prefix:*" | xargs redis-cli DEL
- Making a fucking PEM https://www.digicert.com/ssl-support/pem-ssl-creation.htm DONT FORGET, .key of your server goes on TOP!
- Don't forget to add gzip types to Nginx make site faster esp for React!
gzip_types text/plain text/html text/css application/json application/javascript application/x-javascript text/javascript text/xml application/xml application/rss+xml application/atom+xml application/rdf+xml;
- f(**args) Python unpack arguments splat https://docs.python.org/2/tutorial/controlflow.html#unpacking-argument-lists
- beautiful hover animations http://ianlunn.github.io/Hover/
- remove filter while scaling CSS3 animations
-webkit-filter: blur(0); -ms-filter: blur(0); filter: blur(0);
- https://github.com/krisk/Fuse JS fuzzy search, good for client side
- Good perspective (live, but dont live to feed the beast): http://www.lindsredding.com/2012/03/11/a-overdue-lesson-in-perspective/
- Configure server time
dpkg-reconfigure tzdata
- Google sheets as database https://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/
- Mirror: https://gist.github.com/beatobongco/6c07a5637510bf16e006
- Tools > Script Editor
- Paste
- Deploy as web app
- Run setup
- Copy script URL and post there
- If you get weird content mismatch errors, try making sure that time on both your server/virtual machine and host is the same.
- https://github.com/flowjs/flow.js <-- resumeable file uploads
- https://github.com/facebook/flow <-- typechecking for js
- https://github.com/seatgeek/fuzzywuzzy fuzzy search
- Get all tags, put in choices array
>>> choices = ["Atlanta Falcons", "New York Jets", "New York Giants", "Dallas Cowboys"]
>>> process.extract("new york jets", choices, limit=2)
[('New York Jets', 100), ('New York Giants', 78)]
- mock data https://www.mockaroo.com/
- if you run into trouble w/ relative imports
python -m radar/tests/local_test
http://stackoverflow.com/questions/11536764/attempted-relative-import-in-non-package-even-with-init-py
- Dan Harmon story embryo http://www.wired.com/2011/09/mf_harmon/
- If serving on
nginx
during development, don't forget to add127.0.0.1 www.something.com
to your hosts file inC:\Windows\System32\drivers\etc
- https://www.youtube.com/channel/UCPPg3rzfDNko5GjU8qxu9iQ Climbing DVD which was not included in the Kindle version of the self coached climber
- Swallow your pride https://imcreator.com <-- could use for BKT
- Or keep your pride and use this baby http://www.getmdl.io/
- One day I'll visit Tuvalu + http://www.dailymail.co.uk/travel/travel_news/article-2779663/Inside-10-visited-countries-world.html
- https://www.youtube.com/watch?v=rQVpmAGBccQ
- http://www.buzzfeed.com/patricksmith/13-of-the-worlds-loneliest-islands-you-will-never-visit#.dcLzDEMG8
- Reset git to remote:
git fetch origin && git reset --hard origin/master
- Beginnging with go resource https://sourcegraph.com/blog/live/gophercon2015/123565059490
- Virtual office Philippines http://www.voffice.com.ph/
- Desiderata, always relevant http://zenpencils.com/comic/desiderata/
- Stage entire working tree: (meaning it will remove deleted files also from remote)
git add -u :/
- material design lite http://www.getmdl.io/
- http://blog.instavest.com/three-useful-python-libraries-for-startups
- Koans for software dev http://thecodelesscode.com/
- Animated fonts: http://animography.net/collections
- CMD LINE https://github.com/jlevy/the-art-of-command-line
- http://waitbutwhy.com/2014/06/taming-mammoth-let-peoples-opinions-run-life.html
- Mounting volumes baby
docker run -d --env-file .env -v /root/dump:/usr/src/app/dump --env PYTHONUNBUFFERED=1 radar_web python script.py
- Don't you forget to keep moving forward https://acidheroes.wordpress.com/2015/06/01/6855/
- There are two kinds of people in the world: those who move forward, and those stand still.
- https://developers.google.com/speed/public-dns/
- Run something in docker machine (OK to close terminal)
$(docker-machine env blah)
docker-compose run -d web python script.py
docker logs -f radar_web_run_2
- http://youmightnotneedjquery.com/
- startup traction http://submit.co/
- horror movies wew https://imgur.com/gallery/KIZLc
- You Suck At Photoshop -> WATCH IT YOU FUCKING NEED ITTTTT
- Content-aware shit or "how to fill in the blanks" Use case: making a perfect square Instagram image from a landscape one
- step 1: resize canvas
- step 2: look for parts in photo that could be extended (like iron man's rope)
- step 3: move the photo there
- step 4: select empty space that was left
- step 5: press DELETE or right click on the selection
- step 6: press
fill
- step 7: select
content-aware
- step 8: wtf???? profit!!!
- http://drill.apache.org/ <-- best bet for querying noSQL dbs. Looks really cool
- http://www.typegenius.com/ font pairing! finally!
- Beautiful icons http://bitshadow.github.io/iconate/
- TIL a downfall for using shortcircuits e.g.
var x = myVal1 || myVal2
because ifmyVal1 = 0
and you DO want to get 0, you will getmyVal2
instead. - https://webmaker.org/en-US/tools <-- awesome shit for beginners!
- Joseph Campbell's hero with a thousand faces... "Full circle we come, from the tomb of the womb to the womb of the tomb, a brief enigmatic journey into the realm of the solid world, only to melt away like the substance of a dream."
- http://makerbook.net/ for awesome resources for creatives
- REACT: You can pass
children
as props to DOM elements. ex.<Dialog children=(<p>Yolo</p>) />
- Here is an example on how to clean up old containers that are weeks old.
docker ps -a | grep 'weeks ago' | awk '{print $1}' | xargs --no-run-if-empty docker rm
docker machine
allows you to access your docker containers in remote places like Digital Ocean. Just do$(docker-machine env <name>)
and do docker operations as normal- You can ssh into a docker machine like so:
docker-machine ssh radar
- using
scp
: Copy the file "foobar.txt" from a remote host to the local host$ scp [email protected]:foobar.txt /some/local/directory
Copy the file "foobar.txt" from the local host to a remote host$ scp foobar.txt [email protected]:/some/remote/directory
- using
scp
indocker-machine
scp -i ~/.docker/machine/machines/radar/id_rsa dump.sql.gz root@$(docker-machine ip radar):~
Explanation: copy a file from your docker machine without logging on to said machine using ssh keys.scp -i <identity file/rsa id path> <from file path host:filepath> <to file path host:filepath>
- set a
key
of an object in one line inES6
[`${prop}`]: value
- JS: study
.bind
and.apply
- React convention of expansions, always expand before passing new props so you can override
<div {...this.props}
document.getElementById('youridhere').scrollIntoView();
one line, no third party, xbrowser- Add methods to "classes" in JS by
var x = new Class(); x.newMethod = function(x) { ... }
- Email length in db is best limited to
320
characters - Remove useless docker images
docker rmi $(docker images -f 'dangling=true' -q)
- Invert transparency. Just takes a little effort http://graphicdesign.stackexchange.com/questions/22275/how-to-invert-pixels-with-alpha-values
- Material design call to action http://kushagragour.in/lab/ctajs/
- https://www.youtube.com/watch?v=vtJ0C0UHFfE Peter Thiel: What's the valuation of your company? Think of the valuation not as a premium on the past but a discount to the future. The way one should pitch the value of the company by explaining why it will be worth much more in the future so investors will be getting in at a point much cheaper than 1 or 2 years later.
- Cofounder equity calculator: http://foundrs.com/
- press
t
in github -> quick repo search docker cp {CONTAINER}:{PATH} {HOSTDIR}
exdocker cp 59244e24ab80:/usr/local/mysql/radar.sql /home/beato/Desktop/sqlbackup
- cookie-js
docker exec
runs a new subprocess in a container anddocker-compose run
runs a new instance/container- visionmedia's
superagent
- http://semantic-ui.com/
- Elementary OS -> http://itsfoss.com/things-todo-elementary-os-freya/
- foreground processes can be disowned, follow the command with
&
anddisown
and to stop it find the process withps-aux
and thenkill
it
- Style console.log! Useful for teaching javascript! https://github.com/adamschwartz/log
- Resources for icons!
- Little stylistic additions
- Sublime ES6 definition https://github.com/Benvie/JavaScriptNext.tmLanguage
- ??? I dunno what this was http://tympanus.net/
- http://gtmetrix.com/ --> speed testing
- http://www.browseemall.com/ --> cross browser testing
- Learn typescript one day please http://www.typescriptlang.org/
- Look for npm modules!
npm ls <module
- Solid presentations https://github.com/bartaz/impress.js/blob/master/index.html
- JS style guide https://github.com/airbnb/javascript
-
docker-compose up --no-deps <container name>
- Using docker, if you have images of a database don't keep on usingdocker-compose up db
. It might cause weird shit to happen to your database. Instead for example, if you have images: web and db dodocker-compose up --no-deps web
to put web up but not disturb your db. -
Aliases - aliases are a cool way to make your life easier. Edit ~/.bashrc with your favorite text editor and make shorcuts like
alias dcp='docker-compose'
to type indcp
instead ofdocker-compose
-
Restoring a dockerized database from a local .sql file
cd
to where your .sql file is located- Mount your pwd inside the db container
docker run --rm -ti -v `pwd`:<where you want to place shit> --link <db container>:db postgres bash
- Go to path where sql file is and
gunzip
- Finally
psql -hdb -U <username> -W < backup.sql
-
Run a docker container
docker-compose run --rm <container> <cmd>