notes on things
See meta-knowledge for other lists by people who also record stuff on GitHub.
notes on things
notes on things
See meta-knowledge for other lists by people who also record stuff on GitHub.
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
crystallize nodeschool stuff
expediency. so baller
lifecycle hardening
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.
is:pr author:yoshuawuyts is:closed user:wercker
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
GitHub wikis are Git repos too, with a nicer interface.
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.
Cause ordening is dumb. Let it be free as in flowers and wildlife.
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"
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
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.
Hey @yoshuawuyts, I really enjoy this repository as it has all kinds of useful tidbits in it 👍
The browserify and streams references are very well written. Have you considered contributing them to nodejs/docs?
@Qard or @chrisdickinson any thoughts?
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
a bit, I guess?
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
exec 2>&1
pipe stderr to stdout, useful for writing all data to a file for example.
http://stackoverflow.com/questions/1216922/sh-command-exec-21
I'm clueless.
Create a dedicated overview page - http://spacetelescope.github.io/understanding-json-schema/
I am curious if it is, and if yes how you did it?
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
from: http://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged
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.
https://github.com/yoshuawuyts/knowledge/blob/master/computers/2018-05-31-wasm-notes.md says this:
Libuv is not ABI stable - that's probably a thing to look at stabilizing.
I don't know if that's a direct quote or a transcription error but it's wrong: libuv is ABI-stable.
okay closing now
this probably needs a workshopper
//...
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';
}
//...
});
//...
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.