Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Below is a list of open source games and game-related projects that can be found on GitHub - old school text adventures, educational games, 8-bit platform games, browser-based games, indie games, GameJam projects, add-ons/maps/hacks/plugins for commercial games, libraries, frameworks, engines, you name it.
If you'd like to add a repository to the list, please create an Issue, or fork this repository and submit a pull request.
Help: MarkDown Help, Markdown Cheatsheet
How to have some fun using the terminal.
sudo apt-get install cowsay
sudo apt-get install fortune
sudo apt-get install figlet
ruby -v
gem install lolcat
Hacky way (let me know if you know better one)
Let's say you have repo Main
and repo Proto
, you want to put your Proto
under Main
, so folder structure will be the following:
|-SRC
|---proto
and you also want to preserve commit history, so everybody can see what you were doing while developing proto, sounds like pretty easy task. The easiest way is to create folder structure similar to Main repo SRC\proto
and start working using is as a root, but if you like me, you didn't think about this beforehand, so you path would be harder:
const { setContext } = require('apollo-link-context'); | |
const { HttpLink } = require('apollo-link-http'); | |
const { introspectSchema, makeRemoteExecutableSchema } = require('graphql-tools'); | |
const fetch = require('node-fetch'); | |
module.exports = function(api) { | |
api.createSchema(async function(graphql) { | |
const http = new HttpLink({ | |
uri: 'http://example.com/api', | |
fetch |
{ | |
"Statement": [ | |
{ | |
"Action": [ | |
"apigateway:*", | |
"cloudformation:CancelUpdateStack", | |
"cloudformation:ContinueUpdateRollback", | |
"cloudformation:CreateChangeSet", | |
"cloudformation:CreateStack", | |
"cloudformation:CreateUploadBucket", |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y | |
sudo apt-get install -y nginx && sudo apt-get install -y software-properties-common && sudo apt-get install -y python-certbot-nginx | |
sudo certbot --nginx |
upstream meteor { | |
hash $remote_addr; | |
server app1.example.com:3000 max_fails=2 fail_timeout=5s; | |
server app2.example.com:3000 max_fails=2 fail_timeout=5s; | |
} | |
server { | |
root /var/www/html; | |
index index.html index.htm index.nginx-debian.html; |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
# Installation | |
brew install ffmpeg $(brew options ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ') | |
# to convert Mp4 to WebM | |
## ffmpeg -i video.mp4 video.webm | |
## ffmpeg -i input.mkv -vn audio_only.ogg | |
## ffmpeg -i input.mkv output.gif # make gif out of a video | |
# Reference |