Skip to content

Instantly share code, notes, and snippets.

Weijing Jay Lin dotku

Block or report user

Report or block dotku

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mobile-resource.md
View Common-Docker-Commands.md

Common Docker Commands

  1. Create Docker Container from image

    docker run -it -d --rm --name CONTAINER_NAME IMAGE_NAME

  2. Check container running status

    docker ps

@dotku
dotku / mac-httpd.md
Last active Jul 19, 2019
A note for mac http setup
View mac-httpd.md

Common Used Command

// check module status
httpd -M 

// test apache config
apachectl configtest

// restart apache service
View ubuntu.md
  1. You need restart your system after install a foreign input method.
View bookmarks
# Bookmarks
## Freedies
- glitch.com
- github.com
View Commonly Used JavaScript Concept.md
View testJS.html
<script>console.log('hello')</script>
View javascript-deep-copy.js
function cloneObject(obj) {
var clone = {};
for(var i in obj) {
if(obj[i] != null && typeof(obj[i])=="object")
clone[i] = cloneObject(obj[i]);
else
clone[i] = obj[i];
}
return clone;
}
View python-2.md
  1. Multiple Assign, eg (serah, bob, mike = 16, 17, 21);
You can’t perform that action at this time.