Code Monkey home page Code Monkey logo

knowledge's Introduction

notes

notes on things

See Also

See meta-knowledge for other lists by people who also record stuff on GitHub.

License

MIT

knowledge's People

Contributors

yoshuawuyts avatar bendrucker avatar theatlasroom avatar jacob-meacham avatar sotojuan avatar richardlitt avatar sotayamashita avatar wooorm avatar stigi avatar zafar-hussain avatar neauoire avatar

Stargazers

Varin. K avatar KamoEllen avatar  avatar  avatar Ana Marija Atanasovska avatar  avatar  avatar  avatar Andrey Astafev avatar yasser avatar Dueen Eduarda avatar  avatar Daniel J. Szelogowski avatar Eduardo Salazar avatar Daniel彡 avatar  avatar hanyunyang avatar Priyansh Bordia avatar Lê Ngọc Đàn avatar Ryan Kisslinger avatar Zhang Kaizhao avatar frankfanslc avatar iamazy avatar Allan Jorge avatar  avatar adonut avatar Matei Cotocel avatar Vishesh Choudhary avatar Onigbinde Oluwamuyiwa Elijah avatar  avatar  avatar Rohan avatar Elias Lebed avatar ptruser avatar Tracy Filbert Ridwan avatar Jason Cheng avatar  avatar kyanne avatar  avatar Tim Visée avatar dima avatar  avatar Metin Iscan avatar Clément Roche avatar Bastien Robert avatar Mick Dekkers avatar Andrew Scott avatar  avatar Madhu Akula avatar Ajith avatar Zendude avatar Mountagha avatar  avatar Abhishek Juneja avatar Jimmy Briggs avatar Sebastian Sobociński avatar Mudit Juneja avatar devin ivy avatar Ryan Blecher avatar Graeme McCutcheon avatar Thibs avatar  avatar Sisir avatar  avatar ik5 avatar Prabir Shrestha avatar Joel Gallant avatar Ankit Khandelwal avatar @edgararout avatar Tahmid Sadik avatar Chrs Msln avatar Nikhil Shinde avatar Artem Golovin avatar Josh Mize avatar Mehdi Hasan Khan avatar Evance Soumaoro avatar Carter avatar Jason Kuhrt avatar ghaith jardaneh avatar Harshit Pant avatar Dillon Christensen avatar Alex Asciencio Ayekha avatar Marcos Vinicios Pagelkopf junior avatar Milan Zivkovic avatar molamk avatar Binh Nguyen avatar Chris McCormick avatar kaeken avatar  avatar Mark avatar Shirshak avatar Benjamin Gudehus avatar  avatar Pankaj avatar Niels Erik Raursø avatar Nimalan avatar Connor Wilding avatar Aron Gabor avatar Atul Bhosale avatar nikolas avatar

Watchers

Luiz Irber avatar Caio Gondim avatar Josh Johnston avatar Henrik Wallström avatar  avatar Eyal Levin avatar Dragosh avatar Tod Robbins avatar Keisuke KITA avatar  avatar Dan Flettre avatar Emil Bay avatar Minh-Triet Pham Tran avatar Ben Evans avatar Lucas Comino avatar timelyportfolio avatar James Cloos avatar  avatar Paulo Roberto Campos de Vasconcelos avatar  avatar M. Tong avatar Lucas Heymès avatar  avatar @brodycj - C. Jonathan Brody avatar  avatar abderrahmane avatar Logicode Inc avatar Tyler Dinner avatar Ma Csi avatar  avatar (◕ᴥ◕) avatar Alexey Pyltsyn avatar Eugene Sharygin avatar Jannis R avatar Sacly Chan avatar Zhang Kaizhao avatar iamlos avatar Void avatar  avatar Ertan Mert avatar Joscha Filius avatar Abi Appathurai avatar Yae avatar CIH avatar  avatar Lich avatar KamoEllen avatar

knowledge's Issues

documentation

Should dump some stuff about man pages.

    1      User Commands
    2      System Calls
    3      C Library Functions
    4      Devices and Special Files
    5      File Formats and Conventions
    6      Games et. Al.
    7      Miscellanea
    8      System Administration tools and Deamons

words

expediency. so baller

words

lifecycle hardening

Can you please describe how someone else can set this exact setup up?

I wish to do something similar (or nearly exact) as I quite like the way you can search through the knowledge base and the layout.

However I am struggling in setting it up. I set up a GitBook account and made the wiki page but it fails to render like yours does.

Thank you for any help.

bash

file testing

Bash File Testing
-b filename - Block special file
-c filename - Special character file
-d directoryname - Check for directory existence
-e filename - Check for file existence
-f filename - Check for regular file existence not a directory
-G filename - Check if file exists and is owned by effective group ID.
-g filename - true if file exists and is set-group-id.
-k filename - Sticky bit
-L filename - Symbolic link
-O filename - True if file exists and is owned by the effective user id.
-r filename - Check if file is a readable
-S filename - Check if file is socket
-s filename - Check if file is nonzero size
-u filename - Check if file set-user-id bit is set
-w filename - Check if file is writable
-x filename - Check if file is executable

source: http://stackoverflow.com/a/21164441

vacation

ueeeeeh, investigate what's up in the town you're heading to? Also pick a date before picking a location? Idk, need more of this haha.

http status codes

100 "continue"
101 "switching protocols"
102 "processing"
200 "ok"
201 "created"
202 "accepted"
203 "non-authoritative information"
204 "no content"
205 "reset content"
206 "partial content"
207 "multi-status"
300 "multiple choices"
301 "moved permanently"
302 "moved temporarily"
303 "see other"
304 "not modified"
305 "use proxy"
307 "temporary redirect"
400 "bad request"
401 "unauthorized"
402 "payment required"
403 "forbidden"
404 "not found"
405 "method not allowed"
406 "not acceptable"
407 "proxy authentication required"
408 "request time-out"
409 "conflict"
410 "gone"
411 "length required"
412 "precondition failed"
413 "request entity too large"
414 "request-uri too large"
415 "unsupported media type"
416 "requested range not satisfiable"
417 "expectation failed"
418 "i'm a teapot"
422 "unprocessable entity"
423 "locked"
424 "failed dependency"
425 "unordered collection"
426 "upgrade required"
428 "precondition required"
429 "too many requests"
431 "request header fields too large"
500 "internal server error"
501 "not implemented"
502 "bad gateway"
503 "service unavailable"
504 "gateway time-out"
505 "http version not supported"
506 "variant also negotiates"
507 "insufficient storage"
509 "bandwidth limit exceeded"
510 "not extended"
511 "network authentication required"

rest

GET     /users             ->  index
GET     /users/new         ->  new
POST    /users             ->  create
GET     /users/:user       ->  show
GET     /users/:user/edit  ->  edit
PUT     /users/:user       ->  update
DELETE  /users/:user       ->  destroy

food

need to write some stuff down about health / body stuff. No idea what to call it. Want to put in my late grammy's recipes, though not sure how healthy they are.

personal dir structure

or how to digitalize your life. Similar to the filesystem hierarchy standard

Etc/              other
Lib/              resources that can be consumed
Log/              scanned materials, sorted by date
Media/            media
  Read/           books, articles and the like
  Cam/            img from camera
  Pub/            public images to share
  Screen/         screenshots
  Tmp/            images that don't belong in any of the above
  Vid/            movies, gifs
Src/              source code
Usr/              personal files, sorted by topics

unix commands

tail        with `-f` you can follow new changes on a file, useful for logs
pbcopy      pipe into your clipboard
pbpaste     pipe from your clipboard
time        check out how long a command took to run

Many dead links

hey yosh :-)
I really enjoyed all the useful stuff you collected and bookmarked a lot of things.
I did not check things in a long time, but today went through quite a few of my older bookmarks to clean things up and figured that a lot of your links are dead.

It seems you either moved or removed a lot of helpful content.
I guess I can still find it checking previous commit, but I wonder about the reason.

sticky header

//...
window.addEventListener( 'scroll', function()
{
    //...
    if( wScrollCurrent <= 0 ) // scrolled to the very top; element sticks to the top
        element.style.top = '0px';

    else if( wScrollDiff > 0 ) // scrolled up; element slides in
        element.style.top = ( elTop > 0 ? 0 : elTop ) + 'px';

    else if( wScrollDiff < 0 ) // scrolled down
    {
        if( wScrollCurrent + wHeight >= dHeight - elHeight )  // scrolled to the very bottom; element slides in
            element.style.top = ( ( elTop = wScrollCurrent + wHeight - dHeight ) < 0 ? elTop : 0 ) + 'px';

        else // scrolled down; element slides out
            element.style.top = ( Math.abs( elTop ) > elHeight ? -elHeight : elTop ) + 'px';
    }
    //...
});
//...

sauce

api

https://stripe.com/docs/api#errors

{
  message: 'clear description of whats going on with the API, and how to solve it',
  type: <type>,
  code: <code>
}

http codes

200 OK - Everything worked as expected.
400 Bad Request - Often missing a required parameter.
401 Unauthorized - No valid API key provided.
402 Request Failed - Parameters were valid but request failed.
404 Not Found - The requested item doesn't exist.
500, 502, 503, 504 Server errors - something went wrong on Stripe's end.

types


invalid_request_error   Invalid request errors arise when your request has invalid parameters.
api_error   API errors cover any other type of problem (e.g. a temporary problem with Stripe's servers) and should turn up only very infrequently.
card_error  Card errors are the most common type of error you should expect to handle. They result when the user enters a card that can't be charged for some reason.

Codes

incorrect_number    The card number is incorrect.
invalid_number  The card number is not a valid credit card number.
invalid_expiry_month    The card's expiration month is invalid.
invalid_expiry_year The card's expiration year is invalid.
invalid_cvc The card's security code is invalid.
expired_card    The card has expired.
incorrect_cvc   The card's security code is incorrect.
incorrect_zip   The card's zip code failed validation.
card_declined   The card was declined.
missing There is no card on a customer that is being charged.
processing_error    An error occurred while processing the card.
rate_limit  An error occurred due to requests hitting the API too quickly. Please let us know if you're consistently running into this error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.